TradingView
ceyhun
Sep 11, 2020 1:22 PM

ATR Trailing Stop Strategy by ceyhun 

GBP/JPYOANDA

Description

Same coding only coloring and strategy version added

tr.tradingview.com/script/91lUzwPN-CDC-ATR-Trailing-Stop-V2-1-2013/

//Barcolor
Green = Trail1 > Trail2 and close > Trail2 and low > Trail2
Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2
Red = Trail2 > Trail1 and close < Trail2 and high < Trail2
Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2
//It gives White color where there is deterioration.


tr.tradingview.com/script/3h4LO8zH/
Let's not use InfoPanel in strategy, it would be wrong as it signals the next day.

Release Notes

fix

Release Notes

fix

Release Notes

name error period
Comments
ForexSignals360
What are the best settings for Crypto, for example, ETHUSD?
jaysenorin
hello bro does this signal repaint?
ceyhun
@jaysenorin, hi no repaint,similar indicator supertrend.
fransg
Hi Ceyhun,
I would like to place an alert if the atr cross. Couldyou help how to do that?
Thanks
ceyhun
@fransg, hi , no alert in strategy .
selcukterzi
@fransg,

----

strategy.close("Buy", when=Sell, comment="EXIT-LONG_BINANCE-FUTURES_BTCUSDT_bot_1M_8e")
strategy.close("Sell", when=Buy, comment = "EXIT-SHORT_BINANCE-FUTURES_BTCUSDT_bot_1M_8e")
if Buy
strategy.entry("Buy", strategy.long, comment="ENTER-LONG_BINANCE-FUTURES_BTCUSDT_bot_1M_8e")

if Sell
strategy.entry("Sell", strategy.short, comment="ENTER-SHORT_BINANCE-FUTURES_BTCUSDT_bot_1M_8e")

----

Replace your alert message with a single piece of code: {{strategy.order.comment}} This will ensure that every time the alerts would be triggered the appropriate message would be sent to your WunderTrading bot.
gregwhite777
this does horrible on alt coins crypto; the performace rating is very low; is there any recommeneded crypto coins to trade or a certain timeline?
CJMann
It seems to work fantastic for longs....but terrible for shorts. I must be doing something wrong. What do I need to do to configure for shorts??
emlade
my dear brother... thank you very much :)

highly appreciate it.. truly I didn't expect it.. :)
ceyhun
@emlade, thank you good luck.
More