I want to ask please if it is working ok in the code of a strategy and indicator when using in onbarupdate eg 3 dataseries and coding
if(BarsInProgress==1 || BarsInProgress=02) {if(Closes{[1][0]>Opens[1][0] || Closes{[2][0]>Opens[2][0]) then do}
or should be the conditions for each dataseries in an own {} to have each working like a seperate gear
if(BIP==1){}
if(BIP==2){}
Thank you!
Tony
Comment