Login Page - Create Account

Support Board


Date/Time: Sat, 24 May 2025 09:55:20 +0000



Post From: Programming Help - How to avoid multiple trade entry signals at same price level?

[2023-08-02 08:45:47]
User61168 - Posts: 442
I have one more mystery to solve lol

I have a spreadsheet formula study (ID45.SG1) with the following code to draw lines at candle lows (Draw style of SG1 is Dash). This simple one line of code gives a becomes a great visual aid for trailing stops, stop hunts, to add positions in trending price action etc.

IF(AND(H-L>=10,OR(O>C,O-L>H-O)),L,ID45.SG1[-1])

Code works fine and during replay it draws all the lines nicely but all the historical lines gets wiped out the moment I do a calculate studies via "apply" in studies window. Is this normal behavior? It draws line on the Low so once the candle is closed, values should remain persistent right?

I am just having one of those days with SC :-(