OPEN-SOURCE SCRIPT
Telah dikemas kini

Relative Returns Strategy

2 930
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.
Nota Keluaran
Remove calc_on_order_fills

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.