Text Above Candles for Swing High and Swing Low

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #200741 quote
    JS
    Participant
    Senior

    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]

    ZeroCafeine thanked this post
    #200747 quote
    ZeroCafeine
    Participant
    Senior
    @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 quote
    JS
    Participant
    Senior
    @ZeroCafeine

    I can take a look at it tonight…

    ZeroCafeine thanked this post
    #200752 quote
    Nicolas
    Keymaster
    Master
    I think that’s because you are using BARINDEX of a weekly chart over a daily chart, so the X coordinate is wrong.
    ZeroCafeine thanked this post
    #200785 quote
    Kole96
    Participant
    New
    Chaged like this for me to be more visual. I set nOffsetA=1 and nOffsetT=3
    #200790 quote
    ZeroCafeine
    Participant
    Senior
    you can remove the line 4 😅
    Pipi = pipsize
    #200791 quote
    ZeroCafeine
    Participant
    Senior
    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 quote
    JS
    Participant
    Senior

    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…

    ZeroCafeine thanked this post
    #200809 quote
    Nicolas
    Keymaster
    Master
    You just have to use the daily timeframe BARINDEX whenever the condition of your weekly timeframe is valid to draw something.
    #202792 quote
    ZeroCafeine
    Participant
    Senior
    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)
  • You must be logged in to reply to this topic.

Text Above Candles for Swing High and Swing Low


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Kole96 @kole96 Participant
Summary

This topic contains 24 replies,
has 5 voices, and was last updated by ZeroCafeine
3 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/12/2022
Status: Active
Attachments: 10 files
Logo Logo
Loading...