Dear Freiends
I wrote an Indicator which should run in 5 minutes timeframe but use daily ATR , so when I run it in daily time frame and bigger its ok, but in lower time frame should I refresh The chart, Can you please check it, I attached it.
Files:
ACD.mq5
7 kb
- Problem in Strategy Tester with indicator (code attached)
- Please fix this indicator or EA
- Stopping the indicator refresh with time frame change
today=TimeToString(time[i],TIME_DATE);
In MT5, you must set the direction.
To define the indexing direction in the time[], open[], high[], low[], close[], tick_volume[], volume[] and spread[] arrays, call the ArrayGetAsSeries() function. In order not to depend on defaults, call the ArraySetAsSeries() function for the arrays to work with.
Event Handling / OnCalculate - Reference on algorithmic/automated trading language for MetaTrader 5
Event Handling / OnCalculate - Reference on algorithmic/automated trading language for MetaTrader 5
So what Should I do,
After refreshing the chart indicator do well, is it related to time series !!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register