Support and resistance MTF

Forums ProRealTime English forum ProBuilder support Support and resistance MTF

Viewing 6 posts - 1 through 6 (of 6 total)
  • #161095

    Hello, is it possible to create an indicator to automatically display :

    – the highest and the lowest of the day
    – Highest and lowest of the previous day
    – the open of the day (3:30 pm for US futures, 08:00 am for European futures)
    – the close (10:00pm) of the previous day
    – week’s high and week’s low
    – last week’s highs and lows
    – ATH
    – the high and low Bollinger bands in 15min, H1, H4 and daily, only if they close (High Bollinger is >= High Bollinger [1] and the opposite for the low Bollinger bands
    – moving averages 20 in H1, H4 and daily only if they rise (sma20>sma20 [1] and are above their sma50, or they fall and are below their sma50

     

    2 important points :

    1. The levels should not be drawn by horizontal lines but by segments that start from the point and go only to the right of the graph (as on the screenshot).

    2. Bollinger and moving average bands should appear in their TF and in the lower TF but not in the upper TF (ex: an SMA20 in H1 appears in H1, 15min, 5min… but not in H2, H4…).

     

    Such an indicator will help the whole community to detect the most likely bounce levels.

    Thank you for your help.

     

    #161106

    I started using parts of the code found on the site and on the PRT documentation but there are several problems:

    1. The code is unstable.
    Sometimes it displays the open/close of the previous day but these levels are erased a few seconds later.

    2. The previous day’s highs/lows are not at the right levels.

    3. When I try to put the bollinger bands on when they tighten they don’t show up anymore.

    4. I don’t know how to display the levels only on the lower TFs.


    @nicolas
    , @vonasi and @robertogozzi, do you know how to solve these problems ?

     

     

    #161110

    We are aware of an issue of OHLC of Daily timeframe when using DHigh, DLow, etc.. instruction. We are waiting for the update to fix that.

    1 user thanked author for this post.
    #161111

    While we wait for the fix this workaround code might be of use to you:

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

    1 user thanked author for this post.
    #161508

    Thank you for the share 😉

    #161509

    Allright, I will wait. 🙂

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

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