OPEN-SOURCE SCRIPT

Super Momentum Strategy

已更新
This is a strategy utilizing multiple of Evergets RMI (thanks to him for permission to publish) and a Chance Momentum.

It buys when 4 of the RMIs are below their thresholds and sells when they are above. There is a 5th one I added last night that works in Reverse - buy when its above and sell when below, which should work better for pyramiding strats by using it at the right rate to set the overall trend.

Very basic sample below, I could have set it up better as my example but just want to publish.
版本注释
Big update. First of all, I messed up the momentum input on the second RMI- used the first RMIs momentum Oops. IDK how I missed that for so long.

Second - THREE stop losses and two and a half take profits!

Hard stop loss stops as soon as you lose that %!
Soft stop loss triggers at a % + chande crossing down!
Safe stop loss triggers at a % loss + sell conditions!
Take profits are the same way, but working in reverse!
I incorporated a Take Profit into the base sell signal- which means you can tell it to ONLY ever sell at a certain % gain - unless its a triggered by one of the other conditions!

SO thats a lot of choices to keep you safe. We all hate it when our oscillators generate a classic "sell" signal, but at a loss - which will happen eventually on almost any strat without price awareness. By making our strats aware of our buy in cost and commission rate, we can prevent that. This will ONLY sell at gain unless it is a stop loss, and the stop losses should be plenty useable for anyone on any chart.

And I know this backtest sucks - but you can see take profits and stop losses in one screen which is all I wanted for now.
Centered OscillatorsevergetMomentum Indicator (MOM)Oscillatorsrelativermistrategy

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


take the brown acid
更多:

免责声明