DRAWHLINE on daily and display on lower timeframes?

Forums ProRealTime English forum ProBuilder support DRAWHLINE on daily and display on lower timeframes?

  • This topic has 7 replies, 3 voices, and was last updated 3 days ago by avatardruby.
Viewing 8 posts - 1 through 8 (of 8 total)
  • #102262

    Hi

    I suspect it’s not possible but I thought I’d check.

    If you have an indicator that uses DRAWHLINE and you add it to a daily chart, is it possible to automatically display the lines drawn on lower time frames automatically?

    Many thanks

    Rob

    #102282

    No, the objects plotted by codes are only visible on the chart/timeframe they are applied to.

    1 user thanked author for this post.
    #230319

    Hello everyone,

    Is this still a thing in 2024 and can not be done or is it doable in V12?

    I’d like to have fib calcs (plotted by code) on a 1hr or 5min chart appear on lower TF, 1min or 10s for example.

    Cheers,

    inv

     

    #230325

    No, it’s still not doable.

     

    #230339

    ah okay, thanks for the heads-up Roberto.

    #230351

    Hi…

    Depending on complexity of what your trying to do,  the following could be an alternate option is some cases.

    Basically, add a custom indicator, call it ‘MAIN’, that only contains  a ‘CALL’ to another custom indicator let’s say ‘DATA’.

    Add ‘MAIN’ to all desired charts.

    Now the code in ‘DATA’ will run in all charts (price or stand alone) that contain ‘MAIN’.

    Therefore the  code in ‘DATA’ runs on all MAIN’s and if you modify ‘DATA’ and update it via the ‘ADD to indicator’ button, the changes are replicated onto all the charts. On the next tick event I think.

    Since, number of bars,barindex,intradaybarindex values are going to be different on different timeframes, using the x an y scale value of time and price, which appear the same on all charts, allows certain drawn objects to appear on all charts.

    Below are some simple examples of what could be achieved.

    Things to note, IMO, are:

    PRT appears to be an EVENT driven system, and the events are ‘ticks’

    For a bar to exist it needs a ‘tick’

    Code runs at the end of each bar.

    NO tick/bar, no bar, no run code, no update.

    regards druby

    DATA

    MAIN

     

     

    2 users thanked author for this post.
    #230357

    Nice idea druby 🙂

     

    1 user thanked author for this post.
    #230361

    Learn’t from the best!

    Regard druby

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

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