Support Board
Date/Time: Sat, 11 Jan 2025 22:53:15 +0000
Post From: IB break time
[2017-01-06 06:27:18] |
User560062 - Posts: 100 |
Hi Tom, first of all thanks for getting back. It is very much appreciated. Your replies in the forum are very much informative and provide ideas that are not obvious in Sierra. I have 3 questions if you don't mind me asking. 1) AND(BARTIME<=TIMEVALUE("16:00:00"),ID2.SG1[-1]=1) - Did you put the last condition because you want to color all bars up to end time if the previous bar broke the IB? 2) AND(ID2.SG1[-1]=0,ID2.SG1=1) - Is the logic behind this so that you break the pattern, ie you need a previous bar to not be coloured? I'm quite a bit confused. 3) Just to put the above question in context of what I'm trying to. I want to export this data on a tick chart to analyse if price is extending above the high of a timeframe so I created an overlay OHLC study of another timeframe e.g 30 min on a tick chart (see image 1). The problem is that when I check the timestamps of OHLC on tick data (see 2nd file) they are not lining up exactly to the 30 Min TF (the 30 Min timeframe Open and 68.25 yet but the Open of tick is 68.00? Why is this so? The open on tick is 16:28:39. The reason why I am saying this is that your example would not work if the time is fixed? Is this the right way to tackle this problem? What is the best way to see the exact tick timestamp that broke the IBH? Thank you so much for your time. Date Time Of Last Edit: 2017-01-06 06:34:20
|
scsupporttick.png / V - Attached On 2017-01-06 06:11:06 UTC - Size: 5.43 KB - 256 views sctick2.png / V - Attached On 2017-01-06 06:27:53 UTC - Size: 9.11 KB - 271 views |