TradingView
Cogax
Sep 4, 2020 9:11 PM

Previous Candle High and Low 

Altisource Asset Management Corp ComArca

Description

This Indicator add's a label over and below the previous candle which show's it's high and low values.
Comments
seansand
Hi Cogax,
Good work man!
Is it possible to get the high and the low of a predefined specific candle, let’s say the opening candle on Nasdaq on the 5 second chart ? 9:30:00 to 9:30:05.

Cheers
asra-asra
umasankarvetsa
I want previous 7 candle high low avg is it possible please help me
Cogax
@umasankarvetsa, you need to replace low[1] with something like sma(low, 7).. same for high[1]. Can't give you the exact code but you can play around with that. Also, take a look at the Pine Script Manual.
umasankarvetsa
@Cogax, thanks alott cogax
sanket7262
@umasankarvetsa, I want High Low among 9.55, 10.00, 10.05, 10.10 candles
Any Tips ?
billu_bhai
Hi Can you please explain why do we pass 30 to the function atr and multiply it with 0.6. The reason I am asking this is even if I change those values I still see the same high and low in the previous candle.
Cogax
@billu_bhai, atr(30) means we calculate atr value of the last 30 candles and multiply that value by 0.6. You can play arount with the values (30 and 0.6) to find something which fits you well :)
traderiggs
Cool indicator! Would you be able to enable alerts on this indicator?
glauco486
Hi, you can create same script but on click candle? and view any candle on click ?
siyamakdarkale
how can i use this in Metatrader4?
More