TradingView
BigCoinHunter
Mar 8, 2022 6:58 AM

RSI_OTT - TP/SL 

Ethereum / TetherUSBinance

描述

While creating this strategy, I was inspired by "ott(by Anıl Özekşi)" and "RSI + Bollinger Double Strategy(by ChartArt)".
Basically, the strategy uses ott bands instead of bollinger bands in the "RSI+Bollinger Double Strategy".
User can select take profit, stop loss, position direction(long, short or both) and the other ott parameters via interface.
评论
Teeltonit
Great job buddy ! impressive quality of script well done
Crypto_Zombianz
Really impressive strategy, but can one thing is missing, that is ALERTS, can u plz add ALERTS?
BigCoinHunter
@Crypto_Zombianz, alertcondition function doesn't work in strategies. But you can use comments of the strategy. When you creating a new alert, add this code to the message section: {{strategy.order.comment}}
forsakenPie42878
@BigCoinHunter, How do I use this strategy for my bot in 3commas?
BigCoinHunter
@forsakenPie42878, For example, we want to enter a trade when the strategy gives a "buy" signal. In this case, you need to copy the 3commas buy signal code instead of "ENTER LONG" comment. ( Please consider this line ------> strategy.entry("LONG", strategy.long, when = buySignall, comment = "ENTER LONG") )
After that, create an alarm on the strategy and add this code to the alarm message section: {{strategy.order.comment}}
Thus, when the strategy triggers a buy or sell signall, the alarm sends comment of strategy order to the 3commas webhook url.
更多