Modify this Range box indicator please

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #97305 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    09 must be written 090000 and 10 must be written 100000.

    #97543 quote
    micha2012micha2012
    Participant
    Average

    Hello Roberto,

    gracie mile…but it won`t work. I found this “alternative” code…it works great:

    starttime = 090500
    endtime = 100500
     
    if intradaybarindex=0 then
    hh = 0
    ll = 0
    alreadydrawn = 0
    endif
     
    if time=starttime then
    startbar=barindex
    endif
     
    if time=endtime then
    endbar=barindex
    endif
     
    if time>=starttime and time<=endtime then
    if high>hh then
    hh = high
    endif
    if low<ll or ll=0 then
    ll = low
    endif
    endif
     
    if time>endtime and alreadydrawn=0 then
    drawrectangle(startbar,hh,endbar,ll)
    alreadydrawn=1
    endif
     
    RETURN

    Anyway, thank you for support.

    Regards Micha

    #97547 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Great!

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Modify this Range box indicator please


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 17 replies,
has 5 voices, and was last updated by robertogozzirobertogozzi
7 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/19/2019
Status: Active
Attachments: 5 files
ProRealCode ProRealCode
Loading...