iVolume function not working correctly in mq4? - Page 2
Page 2 of 502 FirstFirst 12
Results 11 to 16 of 16

Thread: iVolume function not working correctly in mq4?

  1. #11
    Quote Originally Posted by ;
    Hi guys. Is there any function that I can use for view real ticks on charts? Or perhaps some purpose which will reset tick count? Thanks
    it is possible to use the Comment() function... It will exhibit whatever you want in the upper left corner of your chart.

  2. #12
    Quote Originally Posted by ;
    quote You can use the Comment() function... It'll display whatever you want in the upper left corner of your chart.
    Yep I understand that function but I'm more thinking about function that's counting tick changes... Or just operate in mq4 for tick counting is Volume purpose?

    thx

  3. #13

  4. #14
    Hi ferruFX
    I am looking at a friend's EA and it utilizes iVolume:

    if (iVolume(,PERIOD_M1,0) gt; 5) return;
    OrderSend(...)
    ...

    I assume it is trying to execute the code under iViolume only in case a new Bar( 1 minute) has just begun.

    Once I run on different brokers, first broker (FinFx) has Orders whereas another (ICM) did not.

    Doesn't mean that for ICM, the quantity taken up without triggering the EA. Founded on brand new Bar, iVolume began from 8 or 10 and not from 1.

    Any insight will be grateful.

    thanks.

  5. #15
    Yes the code execute only before quantity reach 5...

    If I am not mistaken, every tick received count as 1.

  6. #16
    Remember that all pairs don't get their actual time tick at precisely the same time... therefore the refreshing of the actual time count might not be exactly the same on all charts.

    Example if EU get a tick before EJ, the EU chart update the displayed value but with the old EJ count. When EJ get its tick, it refresh its display... but it's different than the one exhibiting on EU.

    I feel that my explanation is not quite clear ... but you get the idea.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information