Multi Timeframe Question about Supertrend calculation on the 15 minutes chart

Forums ProRealTime English forum ProOrder support Multi Timeframe Question about Supertrend calculation on the 15 minutes chart

Viewing 3 posts - 1 through 3 (of 3 total)
  • #88201

    I was plotting a 15 minute Supertrend (50,100) on my 3 minute chart of Germany 30 Cash (€1) when I noticed the following:

    Before the 8th of may 2018, the graphed Supertrend on the 3 minute chart does not match the Supertrend of the 15 minute chart (as can be seen on screenshot 1)

    After the 8th of may 2018, the graphed Supertrend on the 3 minute chart will always match the Supertrend of the 15 minute chart (as can be seen on screenshot 2)

    The 15 minute Supertrend is plotted based upon “updateonclose”

     

    I was wondering why this is the case. Is it perhaps because of the very large values I’m using for the Supertrend?

    Kind regards,

    Pzonda5

     

    #88223

    because of the very large values I’m using for the Supertrend?

    It could be that, you can load more bars at startup of the program by adding:

    Without the supertrend code part of your program, I can’t help much. I’d like to replicate the problem to investigate more! Thanks.

    1 user thanked author for this post.
    #88270

    Adding the defparam preloadbars=10000 line fixed the problem.

    Thank you.

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

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