Time till next bar or candle
Results 1 to 4 of 4

Thread: Time till next bar or candle

  1. #1
    Appreciate if anyone can help on this. I tried to display time until bar but on only chart. Let say I start 5M chart, within this chart I would like to show how long before next bar on all timeframe, begin from 1M until H4.

    If found that a code to see next pub on current chart according to below:

    Inserted Code mm=TimeNumber91;0#93; Period()*60-CurTime(); ss=mm 60; mm=(mm-mm`)/60;
    Another instance I open 5M chart but I would like to understand how much time until next bar on H4.

    Thank you Beforehand.

  2. #2
    There you go, no need to code anything. Just drop it in your chart (any timeframe) and it will show you the time to next pub.
    https://www.nigeriaforextrading.com/...1745880378.mq4

  3. #3
    Quote Originally Posted by ;
    Appreciate if anyone can help with this. I tried to display moment but on chart. Let say I start 5M chart, within this chart I would like to show how much time until next bar on all timeframe, start from 1M till H4.

    If found a code to view next pub on current chart according to below:

    Inserted Code mm=Time#91;0#93; Period()*60-CurTime(); ss=mm 60; mm=(mm-mm`)/60;
    Another instance, I open 5M chart but I would like to understand how much time until next bar on H4.

    Thank you Beforehand.
    And here's another....
    https://www.nigeriaforextrading.com/...5544196714.mq4

  4. #4
    Hi guys, thank you.
    I really do have, however the one I need is to demone the time to next bar on single chart but all period frame. 1 wish to open 1 chart just, but it is going to show the time to next bar for all period frame.

    Hope I do not confuse you.

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.