Moving Averages - Backtesting

Alerts script that has triggers on multiple moving average crossovers so that profit is maximised, it also has an optional control moving average, enabled by default, that when active will stop trading when the price (first ma) is below the control moving average.

Source code is open so that others can use and modify
Click Below for Alerts Study version:
Disclaimers, not an expert, not intended to be financial advise.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Ingin menggunakan skrip ini pada carta?


where does this blue background wave come from since i can not see a fill command in the code or area fill or am i just stupid? ;)
I just tried your script and it's giving multiple error, maybe because I'm currently use version 4
Biffy Alex_the_trader_2
@Alex_the_trader_2, i hear there is a button that lets you convert code from v3 to v4... addmittedly i havent used it yet :/
@Biffy, I’ll look it up! Thank you!!!
@Biffy, this button is in the pinescript editor on the top right "convert to v4" its always there if you write //@version=3 on top. i often use it to convert v2 into v4. you just have to change v2 to v3 ;)
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Bagaimana ia berfungsi Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Kawan-kawan yang dirujuk Coin Tiket Sokongan Saya Pusat Bantuan Mesej Peribadi Sembang Daftar Keluar