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
Hi, guys!
Im new on MQL5 and also new at this Forum ( my 1st question :D ).
I've noticed that my OnTick() is called on every change ( bid / ask).
But I'd like to call it only when the close price or tickvolume change, after a real transaction from the market..
Is there a way or even another event to use?
On the example below, OnTick was called 4 times, but I need to call it only once, because there was just 1 transaction:
The worst way I thought is: to compare if ( previous_tickvol == tickvol) ;/
thanks !