if(MAX(High,10) - MIN(Low,10)[0] <= 20 pips)
{
draw a line at the Max high over the prior 10 bars until the price crosses above that high or below the low. The drawing can start at the beginning of the 10 bars that satisfy the condition or at the bar where the condition evaluates as true.
}
I would also like this to only look at the current days bars and not rolling overnight. would this be if(today ...) or totime ...?
Any help is appreciated.
Cheers!
Comment