high[1] = ‘previous dhigh’. How?

Forums ProRealTime English forum ProScreener support high[1] = ‘previous dhigh’. How?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #242148

    I am thinking of something but I can’t figure it out…
    The idea: I want to receive a notification in Proscreener if the high of the most recently closed candle is equal to the ‘existing dhigh’. In other words: the high of the most recently closed candle is equal to the ‘existing high’ of the day.

    The line of thought is, I think:
    IF high[1] = dhigh AND dhigh = ‘previous dhigh’.

    The previous dhigh is the highest of this day, before the high of the most recently closed candle is set.

    In this case, by ‘existing high’ I mean the dhigh of the CURRENT day.

    Who can help me in the right line of thought to make the ‘previous dhigh’ in the right way?

    #242171

    I think what you are looking for is the following:

     

    myCond = dhigh(0) = dhigh(1)

     

    Although there will never or rarely be an exactly the same high. So this will be more practical:

     

    myCond = dhigh(0) >= dhigh(1)

    2 users thanked author for this post.
    #242176

    Actually, in an UPtrend, there will be a moment when the HIGH is equal to DHIGH(0), no matter what timeframe is on the chart.

    Try this indicator:

     

    1 user thanked author for this post.
    #242194

    It is indeed true that the price will once be as high as the Dhigh in an uptrend. I must therefore explain my question a little more specifically.
    I want a Proscreener where I get a notification if the high of the closed candle (TF 10) is exactly the same as the previous highest point of TODAY. Under certain conditions this can become resistance at day level.

    This is the line of thought:

    I can’t figure out how that Hogh gets a place in this?

    My intention with high[1] = dhigh(0) AND dhigh(0) = ‘previous dhigh of CURRENT DAY’.: If the high[1] of the closed 10-minute candle has become the dhigh(0), it should be checked whether the dhigh(0) is also equal to the highest high of the previous 10-minute candles of TODAY.

    If I need to explain further, please let me know.

    #242229

    This is the code I wrote, but I am not sure to have understood what you want:

     

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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