Mtrading1970 / Publications
Forum
can anybody help me with this??
I can go inside the if block even when the condition is met. The IsNewBar() function works properly but for some reason the condition in the if() block is never met. The var counter never increments. Any idea?? datetime dt; int candleNro; int counter = 0 ; int OnInit () { dt = Time[ 0 ];