MULTI TIME FRAMES : 5min candles on 1min chart

Forums ProRealTime English forum ProBuilder support MULTI TIME FRAMES : 5min candles on 1min chart

Viewing 13 posts - 1 through 13 (of 13 total)
  • #64789

    Hi,

    Here is my attempt to overpass PRT’s unability to deal with MultiTimeFrame strategies.

    I started by simply coding the 5min candles on a 1min chart (ie. : here on DAX).

    The code could probably be optimized but it works as far as I can see.

    I will be happy to hear your comments, questions and thoughts.

    BR,

     

    5 users thanked author for this post.
    #64795
    Leo

    Nice approach. I do not tested yet. It is possible to draw box and lines in the chart. Nicolas has made it somewhere with renkt candles.

    1 user thanked author for this post.
    #64796

    Thanks a lot toto!

    Or you can also draw a candlestick updated, each minute, example with your code:

     

    3 users thanked author for this post.
    #64847

    @Nicolas,

    Would it be possible to have more explanation on the composition of the code? Because visually it’s very clean, but I do not see any correlation with the actual range of candles 1 Minute …
    Some tracks for its use would be welcome!

    Good night

    #64848

    This is not my code. I just added the candlesticks, they replace the lines. As Toto explained, this indicator plots 5 minutes Open/High/Low/Close on a 1 minute timeframe.

    #64859

    I’m struggling a little bit to understand the code because I am a stupid Englishman who speaks only a tiny little bit of each language (I can order a beer)! Could someone adapt this to show weekly candles on a daily chart and save me a lot of effort doing Google translate? Sorry but I am a lazy Englishman as well as a monolingual Englishman!

    #64881

    @Vonasi

    I don’t think it is necessary to start from this code to make weekly candles on a daily chart, you can use the simple approach you can find in a weekly pivot points indicator instead.

    #64911

    Thanks for your comments.

    Code could be simplified as the function “MINUTE” exists in PRT.

    Code is just here to show that even if MTF is not available yet on PRT, there are ways to overpass this… I am rather scalper than day trader so that I do not need weekly/daily charts in general. But it might not be so difficult to code as well.

    #76843

    Hello,

    Can you please tell me how I would set an alert for when the ‘candlesticks’ go bullish to bearish and vice versa.

    I am using the indicator that has the slightly modified code from Nicolas

    Grateful for any replies, thank you.

    Kat

    #76858
    Hello,
    I take back my question, I see how to add the alert using the original code.
    Kat

    Hello,

    Can you please tell me how I would set an alert for when the ‘candlesticks’ go bullish to bearish and vice versa.

    I am using the indicator that has the slightly modified code from Nicolas

    Grateful for any replies, thank you.

    Kat

    #204144

    Thank you for your very useful code Toto.

    I scalp the Nasdaq futures and was wondering if it was possible to adapt it, or create something similar, for use on a 1 second chart with 5 or 15 second candles.

    I have been trying to do so, but with no success.

    Thank you.

    #204158
    JS

    Hi @financier

    You can now use the different time frames…

    When you want to have 10 second candles in a graph with a time frame of 1 second:

    TimeFrame(10 seconds, UpdateOnClose)

    DrawCandle(Open, High, Low, Close)

    Return

    (So, open this indicator in a graph with a time frame of 1 second…)

    1 user thanked author for this post.
    #204213

    Hi JS,

    Thank you for your reply.

    I will be using the code that you’ve recommended.

Viewing 13 posts - 1 through 13 (of 13 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login