Text Above Candles for Swing High and Swing Low

Forums ProRealTime English forum ProBuilder support Text Above Candles for Swing High and Swing Low

Viewing 10 posts - 16 through 25 (of 25 total)
  • #200741
    JS

    The whole code is under the time frame of a week, so [20] = 20 weeks ago…

    About the text: you forgot to assign a value to the “SwingHigh” and the “SwingLow”

    SwingHigh = High[1]

    SwingLow = Low[1]

    1 user thanked author for this post.
    #200747

    @JS do you know how to use your code or mine on Daily TF but for draw the Weekly Swing low and high like on the picture I add

    #200750
    JS

    @ZeroCafeine

    I can take a look at it tonight…

     

    1 user thanked author for this post.
    #200752

    I think that’s because you are using BARINDEX of a weekly chart over a daily chart, so the X coordinate is wrong.

    1 user thanked author for this post.
    #200785

    Chaged like this for me to be more visual.

    I set nOffsetA=1 and nOffsetT=3

     

    #200790

    you can remove the line 4 😅

    #200791

    I think that’s because you are using BARINDEX of a weekly chart over a daily chart, so the X coordinate is wrong.

    I think too, but what is the soltuion or maybe you have a link for pls ?

    #200801
    JS

    You can use the indicator on any time frame you want but you cannot use multiple (different) time frames at the same time because indeed the X coordinates (BarIndex) of the different time frames are not “in sync”.

    I don’t know a solution for this…

    1 user thanked author for this post.
    #200809

    You just have to use the daily timeframe BARINDEX whenever the condition of your weekly timeframe is valid to draw something.

    #202792

    You just have to use the daily timeframe BARINDEX whenever the condition of your weekly timeframe is valid to draw something.

    can you give any example with using different Barindex from different TF on the same chart pls ?, any example

Viewing 10 posts - 16 through 25 (of 25 total)

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