Support Board
Date/Time: Sat, 11 Jan 2025 22:57:50 +0000
Post From: IB break time
[2017-01-06 07:44:36] |
Sawtooth - Posts: 4148 |
1) Yes. All bars after the IB breach need to be colored so that the first breach becomes the only 'breach' for the day. 2) Yes. 3) I do not know why there is a misalignment between timeframes. At first I was seeing a misalignment on bars less than 2 min, but it is now working on a 1 sec chart. To find the exact timestamp, to the second, of the first IB breach, try this: -Set the Bar Period of the chart to 0-0-1 -Add the Spreadsheet Study study, and set the Draw Style of SG2 to Background (so you can see it more easily) -Put this in cell K3: =IF(OR(C3>ID1.SG7@3,D3<ID1.SG9@3),1,IF(A3-INT(A3)>=TIMEVALUE("16:00:00"),0,K4)) -Put this in cell L3: =AND(K4=0,K3=1) where the IB study is ID1. It doesn't seem to work on bars whose duration is less than 1 second. |