niklashark13
New member
Hi everyone.
I want to know if there´s a way to develop an indicator that shows the candle size (Calculate from its Higher price to its Lower price), and specify the amount (dollars or cents) of this bar.
To be more accurate on my requirement let’s suppose in the 2 minutes price chart, the first candle at the very beginning of market have this characteristic:
-Opened: 13,5
-Higher: 14,41
-Lower: 13,34
-Closed: 14,34
What I need, is an indicator than show me that the first bar has a length of 1,07 usd (difference between 14,41-13,34) but all in the graphic chart.
I´ve used this example:
¨declare lower;
input length = 1;
plot AverageBodyHeight = Average(BodyHeight(), length);¨
But in this case, first of all, it takes the close and open price of the bar and second, it is a study and I want to see this information on the first candle as a script on the chart price.
Thank you!
I want to know if there´s a way to develop an indicator that shows the candle size (Calculate from its Higher price to its Lower price), and specify the amount (dollars or cents) of this bar.
To be more accurate on my requirement let’s suppose in the 2 minutes price chart, the first candle at the very beginning of market have this characteristic:
-Opened: 13,5
-Higher: 14,41
-Lower: 13,34
-Closed: 14,34
What I need, is an indicator than show me that the first bar has a length of 1,07 usd (difference between 14,41-13,34) but all in the graphic chart.
I´ve used this example:
¨declare lower;
input length = 1;
plot AverageBodyHeight = Average(BodyHeight(), length);¨
But in this case, first of all, it takes the close and open price of the bar and second, it is a study and I want to see this information on the first candle as a script on the chart price.
Thank you!