A couple of questions on using different timeframe in the same functions, Lets set in the run function:
Barperiod = 1 //one minute
now, lets create a single function that will set:
Timeframe= 60;
... Block A
Timeframe = 1;
... Block B
how many time will be executed in 1 hour the code in Block A & B?
It will be the same writing the same function as
Timeframe = 1;
... Block B
Timeframe= 60;
... Block A
It is recommended to code in this way or is better to have a single timeframe in a single function i.e. splitting the blcok A and Block B in 2 distint functions?
Thank You
Last edited by MatPed; 04/25/15 13:54.