OPEN-SOURCE SCRIPT
Aggiornato

Relative Returns Strategy

2 926
Looks like an ultimate strategy for buy and hold investors.

This is designed based on the indicator :
Stock-Index-Relative-Returns


Converting that into strategy with little optimization yield this. One change here is, instead of using the return percentage directly, we are using moving averages on both of them.

Buy condition : Moving Average on stock return crosses over that of index return.
Sell condition : Moving Average on stock return crosses under that of index return.
Note di rilascio
Remove calc_on_order_fills

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.