OPEN-SOURCE SCRIPT

Super Momentum Strategy

Telah dikemas kini
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.
Nota Keluaran
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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


take the brown acid
Juga pada:

Penafian