TradingView
OrcChieftain
25 de Mai de 2021 16:19

Distance High-Low, Open-Close 8 Days 

Euro Fx/Swiss FrancFXCM

Descrição

Pinescript tables are a nice addition to the language. This one shows a complete distance from daily low to daily high and/or from the daily open to the daily close.

► You can show the distance between low and high
► You can show the distance between open and close
► Have this data for 8 last days
► Flip a table if you need to


I used the original TradingView's code in their news blog.

Have a nice day!
Comentários
Leif-a
is it possible to show it as a percentage of price?
OrcChieftain
@Leif-a, You will have to add a mechanism to calculate the percentages. Its not part of the script.
Leif-a
@OrcChieftain, OK thanks for your quick reply :-)
tishapatel28
REALLY NICE WORK
Mais