This strategy uses a triple exponential moving average (Tema) and RSI to find buy points and uses stops, trailing stops and take profit to exit. Draft 1.
Attention: The built-in function 'strategy.exit()' only accepts ticks for the trailing stop-loss instead of accepting a price percentage, which would be way more reliable for backtesting. Therefore you cannot trust the backtests for strategies that use ticks for stops / trailing stops. Since TV won't allow me to delete a script, I guess I just have to leave this message here and hope you read it before using this strategy.
sonnyparlin
⋅
For anyone coming here, I am no longer writing strategies using TV. Pinescript is a hot mess, too many bugs and unreliable back tests. Tradingview won't let me delete published scripts or this one would be gone. I have no plans to update or write any other strategies for Tradingview.
Six_PM
⋅
buy price and sell price not precise。
Six_PM
⋅
@yueshuyueyong_chongya, Planing to also implement SHORT? I try to write short sript,but work not ok.thanks
diLiviu
⋅
@sonnyparlin nice job. Are you still working on that? Planing to also implement SHORT? Thanks
herve76
⋅
Can't wait for Draft 2 !!
Can you add BVA's web hook for it?
GarethSA
⋅
repaint??????
sonnyparlin
⋅
@GarethSA, you're the second person to ask about repainting, sorry but I don't know what you're asking me. Maybe it has something to do with your account level?