GlobalMarketSignals

GMS: Moving Average Crossover Strategy

This is a moving average crossover system built the way I would want it to be.

- The moving averages included are SMA, EMA, WMA, VWMA.

- You can select either for the first moving average or the second moving average.

- You can also select to see the Long trades, Short trades, or both at the same time.

- There is also a simple moving average trend filter. When this is selected, it only applies to the entries of a trade and not the exit. There are situations where the entry is above the trend filter and the exit is below.

The source code should be open so feel free to adapt it, make it more efficient, or take some part for your own project!

I hope it helps,

Andre
Catatan Rilis:
I just added in a % profit target and % stop loss. Each has an on/off switch so you can test each other together or independently!

Also changed the name in the strategy part of the code.

I hope it helps,

Andre
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?