OPEN-SOURCE SCRIPT

Ultra Trend Strategy @Peet V.4

266
We use MA trend line to indicated the market's status.
Four MA trend line were used, fast, medium, long and very long.
We can select MA method with default in Pine Script such as Simple MA, Exponential MA and others depend on best results on each securities.
You can select any type of open order such as MA cross or ATR signals.
You can select open long only, short only or both.
You can select time interval to test the programme.
I also eliminate the noise by determine different of open order and close order to protect un-want position in side way by setting PDI (percent Differential Index)
Finally you can set Long position when long term is bullish of Short position when long term is bearish.

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.