Wrong representation in the 5 minute chart

Forums ProRealTime English forum ProBuilder support Wrong representation in the 5 minute chart

  • This topic has 10 replies, 2 voices, and was last updated 4 years ago by avatarRazz.
Viewing 11 posts - 1 through 11 (of 11 total)
  • #104382

    Good day

    Can someone please help me, I have created this indicator which draws various Open and Close courses in the chart. Unfortunately, it does not work today with the closing price of the previous week on 5 minutes basis at 15 minutes, everything is displayed correctly. But I need the indicator in the 5 and 10 minute chart windows.

    Many thanks in advance

     

    #104387

    For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text from the code part. I tidied it up for you.

    Thank you!

    #104388

    @ robertogozzi

    Sorry

    #104391

    At lines 12 and 16, only a 5-minute (or lower) TF can be used!

    #104394

    yes ok is logical, but my main problem is the presentation Close last week 22:00 see line 23 to 26. This shows at once in the 5 minute chart the value 0 in the 15 minute chart, but it is displayed correctly. Can you say something?

    #104400

    This is the code I tested, it looks good on 1-minute, 5-minute and 15-minute TF’s, while it reports 0 at 1745 on a 10-minute TF:

     

    #104402

    I think you are displaying too little units, try increasing them, a week is made of many 5-minute bars!

    #104405

    Strange with me he only looks good on 15 minutes TF at the other, the closing price 22:00 last week is set to 0. The indicator ran with me until Tuesday on 1-5 minutes well. Have no explanation for why it is displayed correctly and not with me?

    #104407

    Ok Thanks now it looks better again, I can change something in the indicator so that it is displayed correctly or is it only about the increase of the display values?

     

    #104409

    It looks good, of course the offset (-3) is a greater distance on a 1 -minute chart rather than on a 15-minute chart.

    Instead of a fixed value you could use a percentage of ATR to make it variable.

    #104415

    The offset -3 was only used because Monday would otherwise be written on the previous day and last week’s close because the value is the same. Thanks for your help ! My initial problem was solved by increasing the units, now use 2500 units in the 5 minute chart and zoom into the chart with the magnifying glass function.
    Have a nice day.
    Peter

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

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