Box end , period start End

Forums ProRealTime English forum ProBuilder support Box end , period start End

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

    I will like o create a box with period Start as 03:00 and period End 06:00 and box end as 18:00

    I can do the period start and period End

    DefParam DrawOnLastBarOnly = True
    DEFPARAM CalculateOnLastBars = 10000

    start = 030000
    end = 060000
    tc = time>=start and time<end
    if tc then
    if not tc[1] then
    IBHUK=high
    IBLUK=low
    endif
    IBHUK=max(high,IBHUK)
    IBLUK=min(low,IBLUK)

    mid = (IBHUK +IBLUK)/2
    ENDIF
    drawtext(“IBHUK”,barindex,IBHUK,SansSerif,Bold,10)
    drawtext(“IBLUK”,barindex,IBLUK,SansSerif,Bold,10)
    drawtext(“mid”,barindex,mid,SansSerif,Bold,10)

    RETURN IBHUK as ” IBHUK”,IBLUK as ” IBLUK”

    #223548

    There you go:

     

    1 user thanked author for this post.
    #223658

    Please ignore

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