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
Is it a fact that the sum of tick.Volume is the real volume? There are tick and real volumes. Tick volumes seem to be much smaller than real volumes. You can see this by adding a stock Volumes indicator, and switching it to tick volumes. Volumes[] are real volumes.
And then there is the OnCalculate and SymbolInfoTick... We still need to test it all out and test it all well. Maybe, it's better to request the array of ticks once via CopyTicks from specific time and calculate the sum per minute. Compare.
IMHO.
+1 ticks with flags TICK_FLAG_BUY TICK_FLAG_SELL I also never observed.
ps If someone could explain the difference between real and tick volume I would be very grateful. Newbie. Honestly searched for the answer.
I too have a slightly different question, and I wonder if the information being transmitted from the ticks is correct.
I too have a slightly different question, and I wonder if the information being transmitted from the ticks is correct.
Correct, only ticks can be skipped. One should use the function CopyTicks. It almost works, except for absence of trade direction.
Thank you. So are the flags coming in lopsided? After all, as far as I understand it.
This is the direction of the deal. But again, I haven't seen them. Not implemented yet? Do you know when it is planned?
In OnCalculate not every tick is processed - there can be skips and also call of this function between ticks, so your code will not work correctly. As already said, you need to query ticks for the period with CopyTicks function and sum up ticks volumes with flagTICK_FLAG_VOLUME. The result is absolutely equal to the volume of the candle, I checked it repeatedly.
Thank you. I will check.
Thank you. So are the flags coming in lopsided? After all, as far as I understand it.
This is the direction of the deal. But again, I haven't seen them. Not implemented yet? Do you know when it is planned?
Thank you. I will check.
They're not sloppy, they're quite decent. They're just always zero.) Waiting
Yes, there's nothing else to do...
Who can say why in the batter comes ticks with flags simultaneously TICK_FLAG_BUY and TICK_FLAG_SELL, can a tick occur as a result of both buying and selling? see screenshot, thanks in advance
What server is the screenshot from?
Tester on real account of broker Otkritie, derivatives market
Threw an indicator on a real time chart, everything is fine, but needs a tester