TradingView
BabyWhale83
3 paź 2019 08:15

ATR - Baby Whale 

Bitcoin / DollarBitfinex

Opis

Script that shows you the ATR and 0.5 ATR.
You can use this to define your stop loss level when you see a SFP.

Standard setting is the 24 period ATR. You can use this for a 1h chart (24 hours in a day).
So when you play on a 5m chart, you can change the setting to 12 period (12 5m candles in 1 hour).

Informacje o Wersji

The ATR is now standard visible on the chart.
Komentarze
markredd87
hi BabyWhale83 this is great thanks, is it possible to set it from the current price? so the stop & limit can be worked out from current price rather than the high or low of the bar? thanks man!
BabyWhale83
I think this it:

//@version=3
study("ATR - Baby Whale", overlay=true)
atr = atr(input(24))

plotchar(atr, transp=100, color=white, title="ATR" )

plotchar( (atr + close), color=white, char="-", location=location.absolute, title="ATR High" )
plotchar( (close - atr), color=white, char="-", location=location.absolute, title="ATR low" )

plotchar( (atr/2 + close), color=white, char="-", location=location.absolute, title="ATR High" )
plotchar( (close - atr/2), color=white, char="-", location=location.absolute, title="ATR low" )
markredd87
@BabyWhale83, what a legend - thank you
BabyWhale83
@markredd87, Cheers!
scamArtist
cool, another nice script :)
thanks for this

cheers
BabyWhale83
Więcej