Rosh:
See Program Running
hi rosh,
I think i started to understand.
Pls confirm my understanding
1.OnNewTick() is not based on high,low,open,close .. because the event trigger for every tick without price send as parameter.
- I can use this event to show my spread,bid,ask and etc.
2. OnCalculate() is based full completed bar/candlestick form to specific timeframe which having high,low,open,close.
- I can use this information to make another indicator i.e calculate candlestick pattern.
TQ
Rosh:
See Program Running
hi rosh,
I think i started to understand.
Pls confirm my understanding
1.OnNewTick() is not based on high,low,open,close .. because the event trigger for every tick without price send as parameter.
- I can use this event to show my spread,bid,ask and etc.
2. OnCalculate() is based full completed bar/candlestick form to specific timeframe which having high,low,open,close.
- I can use this information to make another indicator i.e calculate candlestick pattern.
TQ
Thanks.
I think now i have understand that ..
rgds,
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
Can someone tell me what is the difference between OnCalculate() and NewTick().
OnNewTick() - used when new tick coming or new quote
OnCalculate() - used when price changes
The explaination on both function looks like the same. still confuse on the usage (Does when price changes means new tick is coming).
Can someone assist to show the difference.
TQ