Support Board
Date/Time: Fri, 14 Mar 2025 11:10:11 +0000
Post From: Programming - How to Buy/Sell Exit 2*ATR
[2022-06-15 18:03:51] |
Sawtooth - Posts: 4182 |
Is there any way to reference the ATR but only at 9:30?
If you want to reference the ATR's level as it was at 09:30:Create a persistent variable of the ATR*2 at 09:30, like this, e.g. in cell P3: =IF(FRACTIME(A3)=TIME(09,30,0),ID2.SG1@3*2,P4) If you want to only signal in the bar that is timestamped 09:30: =AND(FRACTIME(A3)=TIME(09,30,0) , ID6.SG1@3-ID1.SG2@3 > ID2.SG1@3*2 ) |