Draw lines from candle 12 hours ago
Forums › ProRealTime English forum › ProBuilder support › Draw lines from candle 12 hours ago
- This topic has 9 replies, 2 voices, and was last updated 11 months ago by robertogozzi.
-
-
12/04/2023 at 12:36 PM #224807
Hey everyone! I’ve tried to make an indicator but can’t do it.
I don’t think it’s a big problem for those of you who are talented.
I am looking for an indicator that draws lines from high and low 12 hours ago.
I am working with 60 minute chart, but would be great if it would work on other timeframes to.
Then the lines should disappear after 24 hours.
Here is an example.
Thx
12/04/2023 at 12:51 PM #22480912/04/2023 at 1:39 PM #224817There you go:
123DEFPARAM DrawOnLastBarOnly = trueDrawRectangle(BarIndex[13],0,BarIndex[11],99999) coloured("Cyan",80) bordercolor("Blue",255)RETURN1 user thanked author for this post.
12/04/2023 at 3:07 PM #22482412/04/2023 at 3:14 PM #22482512/04/2023 at 5:24 PM #224845Yes:
123DEFPARAM DrawOnLastBarOnly = trueDrawVline(BarIndex[12]) coloured("Blue",255)RETURN1 user thanked author for this post.
12/04/2023 at 5:50 PM #22484612/04/2023 at 6:41 PM #224850Where does the line should start and end?
12/05/2023 at 12:00 PM #224870The lines should start on the candle 12 hours ago.
And ends after a new 1h candle is close. And repeat the same procedure after every hour (1 hour timeframe).
Draw new lines every hour on the high/low of the candle 12 hours ago.Hope you understand what I mean
12/05/2023 at 5:02 PM #224895There it is:
123DEFPARAM DrawOnLastBarOnly = trueDrawSegment(BarIndex[12],close[12],BarIndex,close[12]) coloured("Blue",255)RETURN1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on