Auto Draw 00’s lines
Forums › ProRealTime English forum › ProBuilder support › Auto Draw 00’s lines
- This topic has 3 replies, 3 voices, and was last updated 3 years ago by Vonasi.
-
-
03/03/2021 at 1:50 PM #163033
Here’s a indicator that draws you a horisontal grid at even price levels.
Need to be changed depending on the instrument.1234567891011121314151617181920212223//Actual LineDRAWHLINE(100)DRAWHLINE(100+100)DRAWHLINE(100+(100*2))DRAWHLINE(100+(100*(2+1)))DRAWHLINE(100+(100*(2+x)))coloured(0,200,0)STYLE(line,3)//Optional Extra deviation lines.DRAWHLINE(105)DRAWHLINE(105+100)DRAWHLINE(105+(100*2))DRAWHLINE(105+(100*(2+1)))DRAWHLINE(105+(100*(2+x)))coloured(0,200,0)STYLE(DOTTEDline,1)DRAWHLINE(195)DRAWHLINE(195+100)DRAWHLINE(195+(100*2))DRAWHLINE(195+(100*(2+1)))DRAWHLINE(195+(100*(2+x)))coloured(0,200,0)STYLE(DOTTEDline,1)y=xx=y+1RETURNCan also be written like this for easier change of value
123456789101112131415161718192021222324//Actual LineLinevalue=100DRAWHLINE(Linevalue)DRAWHLINE(Linevalue+Linevalue)DRAWHLINE(Linevalue+(Linevalue*2))DRAWHLINE(Linevalue+(Linevalue*(2+1)))DRAWHLINE(Linevalue+(Linevalue*(2+x)))coloured(0,200,0)STYLE(line,3)//Optional Extra deviation lines.DRAWHLINE(105)DRAWHLINE(105+100)DRAWHLINE(105+(100*2))DRAWHLINE(105+(100*(2+1)))DRAWHLINE(105+(100*(2+x)))coloured(0,200,0)STYLE(DOTTEDline,1)DRAWHLINE(195)DRAWHLINE(195+100)DRAWHLINE(195+(100*2))DRAWHLINE(195+(100*(2+1)))DRAWHLINE(195+(100*(2+x)))coloured(0,200,0)STYLE(DOTTEDline,1)y=xx=y+1RETURN1 user thanked author for this post.
03/03/2021 at 2:00 PM #16303403/03/2021 at 2:57 PM #163040There’s a similar one in the library https://www.prorealcode.com/prorealtime-indicators/sweet-spots-numbers/
03/03/2021 at 4:26 PM #163054RobinJK – We won’t delete your topic as it might be of interest to someone.
I have moved your topic to the correct forum as it is an indicator topic and so should be in the ProBuilder forum. Please be more careful with future topics to ensure that they are posted in the correct forum.
_ ProRealTime Platform Support: only platform related issues.
_ ProOrder: only strategy topics.
_ ProBuilder: only indicator topics.
_ ProScreener: only screener topics
_ General Discussion: any other topics.
_ Welcome New Members: for new forum members to introduce themselves. -
AuthorPosts
Find exclusive trading pro-tools on