I am struggling with the declaration and initilization of the timeframe in my code.
Could you please help at this level?
I want to declare and initialize a timeframe. I did as folloow:
BarsPeriod myTimeFrame = 0;
While compiling, I receive the error message that BarsPeriod can not be an "int".
What would be please the correct declaration and initialization of a timeframe?
Best regards

Comment