waza123:
The event handler OnCalculate() is used only inside indicators. When you are using expert advisors it is replaced by the event handler OnTick(). So you cannot use both at the same time.
When I make indicator, I got this params:
How can I get the same params when I make Expert Advisor using onTick() function ?
Thanks
Malacarne:
The event handler OnCalculate() is used only inside indicators. When you are using expert advisors it is replaced by the event handler OnTick(). So you cannot use both at the same time.
The event handler OnCalculate() is used only inside indicators. When you are using expert advisors it is replaced by the event handler OnTick(). So you cannot use both at the same time.
yes i know it, but I need rates_total and high[] low[] in OnTick() to do something like that onTick(){ double x = high[rates_total-300]; }
is there any way to do it ?
waza123:
CopyHigh() to get high[] and Bars for rates_total.
yes i know it, but I need rates_total and high[] low[] in OnTick() to do something like that onTick(){ double x = high[rates_total-300]; }
is there any way to do it ?
angevoyageur:
CopyHigh() to get high[] and Bars for rates_total.
thanks, will try.
CopyHigh() to get high[] and Bars for rates_total.

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
When I make indicator, I got this params:
How can I get the same params when I make Expert Advisor using onTick() function ?
Thanks