HH HL – Previous candles colorations

Forums ProRealTime English forum ProBuilder support HH HL – Previous candles colorations

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments
Viewing 3 posts - 1 through 3 (of 3 total)
  • #147607 Report

    Hello,

    I’m currently trying to translate this very simple indicator onto .PRT : https://www.tradingview.com/script/Pr9hTL4v-Supply-Demand-ZONE/

    It is composed of 2 parts, and just detects a serie of HH HL using the condition below :

    My issue is, the original code seems to color the current candle, the candle[-1] and the candle[-2] . Is it possible to do with PRT ?

    So far I’ve managed to color only the current candle and “redraw” the previous ones.

    Any help is welcome, thank you!

     

    #147610 Report

    Topic moved from th French support forum to the English one.

    Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums. Thank you 🙂

     

    #147701 Report

    Not possible to plot candlestick in the past with the DRAWCANDLE instruction. You’ll have to find another way to mark these bars in the past, with symbols for instance (DRAWTEXT).

Viewing 3 posts - 1 through 3 (of 3 total)
Similar topics:

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