Previous Day Close, Mid ,Low , High on Intraday Candle

Forums ProRealTime English forum ProBuilder support Previous Day Close, Mid ,Low , High on Intraday Candle

Viewing 3 posts - 1 through 3 (of 3 total)
  • #172026

    Can you please hep me code Previous Day Close, Mid ,Low , High on Intraday Candle on Price. I can code it on the Daily Candle but cant get it to work on Intraday Chart.

    Attach is the code I am using

    Thanks

     

    DefParam DrawOnLastBarOnly = true
    a1=High
    a2=Low
    a3=Close

    Daymid= (a1+a2)/2

    return Daymid as “Daymid”, a3 as “DayClose”, a1 as “DayHigh”, a2 as “DayLow”

    #172027

    This is your code, slightly modify to achieve what you want:

    DefParam DrawOnLastBarOnly = true will make no difference, as it is only used for objects plotted using graphical instructions (DRAW…..), not with RETURNed data.

    1 user thanked author for this post.
    #172033

    Thanks a million .

    Regards

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

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