A code about highs of last ten days

Forums ProRealTime English forum ProBuilder support A code about highs of last ten days

Viewing 15 posts - 1 through 15 (of 18 total)
  • #160925

    Hello, I would like an answer about this code. It is a code that considers the high of the day of the last ten days. It’ s vey simple but I do not understand why it doesn’t function
    thanks a lot guys

     

    #160931

    gb967 – Welcome to the forums. Please re-read the forum rules before posting again. Your post has been moved to the correct forum and your code inserted correctly.

    Post your topic in the correct forum:
    _ ProRealTime Platform Support: only platform related issues.
    _ ProOrder: only strategy topics.
    _ ProBuilder: only indicator topics.
    _ ProScreener: only screener topics
    _ General Discussion: any other topics.
    _ Welcome New Members: for new forum members to introduce themselves.

    • Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.
    #160955

    Why do you think it’s not working?

     

    #160971

    Hello, I think the indicator was called separately and not in the price window.
    Willi

    #160974

    Right click on the price chart and then ‘Add Indicator’ from there.

    #160976

    I use a 4 minute time frame and I would like the highs lines to be visible on the current daily chart. Look at the attached chart and you will understand. thanks

    #160981

    Do not  use the ‘Insert PRT Code‘ when writing text.

    Thank you 🙂

    No, I don’t understand what you want.

    There’s no difference between 1-hour and 4-minute hour TF’s.

     

    #160990

    Are their enough units on your 4 minute chart to give ten days worth of data?

    #160991

    I just did a quick test and I think I see what you are asking. The ten DHIGH values are not correct.

    #160994

    Your code should work but does not.

    Try this slightly more complicated workaround:

     

    #160998

    Just for fun here is a version that draws the last ten days highs and lows.

     

    #161001

    I still can’t understand why all that extra coding when the first code posted works like a charm on whatever TF.

     

    #161025

    Because it doesn’t work like a charm. Did you see my image in this post?

    https://www.prorealcode.com/topic/a-code-about-highs-of-last-ten-days/#post-160991

    The simple code is definitely not drawing lines on the daily highs.

    #161027

    This is what I would like to see the extension of the highs lines such as supports and resistances in the 4-minute tf of the current day.

    Instead the lines are not reported to me on the current day. I do not see them but i see only those of the past days.

    #161034

    In my pic it does work as intended!

    Unless you want to plot them into the future, but it’s not what this post was all about!

     

Viewing 15 posts - 1 through 15 (of 18 total)

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