Candle High in Points
Forums › ProRealTime English forum › ProBuilder support › Candle High in Points
- This topic has 5 replies, 3 voices, and was last updated 8 years ago by
Nicolas.
-
-
06/07/2017 at 12:08 PM #37739
I am looking for a code that displays the high of a finished candle in points and “writes” that number on top of a finished candle. I searched for a script like that on this page but could not find it. I habe never learned to script, maybe someone can help? It would be great if that script works on all timeframes, so that it hows me the candle lenght in the hourly and also -example- in the daily chart when switching. I would like to have them permanently in my charts, if possible also historic or at least some weeks or months.
Thank you in advance.
06/07/2017 at 12:12 PM #3774106/07/2017 at 1:47 PM #3774806/07/2017 at 2:12 PM #3775606/08/2017 at 9:55 AM #37808This script does it, on any timeframe:
123CandleHight=high-lowdrawtext("#CandleHight#",barindex,1.1*high,Dialog,Standard,10)Returnbut it is, in my view, useless since the “candle hight” numbers overlap if you want them to appear on top of every candle. PRT graphical command set does not support slanted text or 90degrees rotated text. There are few ways around this: (1) not display the number on every bar, (2) display the indicator in a separate window as a bar graph below the price graph – no numbers but very visual, (3) print the numbers at different hight so they do not overlap
06/08/2017 at 10:08 AM #37812Thanks Pinny, that’s why I asked Marius if he wanted the text to be drawn on every candlestick 🙂
You can use “range” keyword to get the (high-low) value.
A quick fix would be to alternate the position of the text: draw the range text one time above the candle and the next time below it. etc.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on 