vitelot

MA cross strategy Vts

The simple Moving average cross strategy is here implemented.
I guess there are multitudes of similar scripts around.
I post this one since I was asked by some friends, and I'll let it free to use for anybody.
Here you can choose the year where to start backtesting, the source, the type of MA, the SL and TP multiplicators of ATR, for which you can also choose the averaging period.
Feel free to modify this script. I would be grateful if you could preserve the first lines of comments including my user names.
The MA cross strategies can be very effective, especially when used on the daily TF.
Try for example the combo EMA15-EMA30 SL=1.5ATR TP=1ATR on EURCHF daily to get an impressive 83% win ratio.
Or EMA20-EMA81 on the GBPCHF to get an 87%.
In those cases where EMA does not perform well, try to set a less lagging MA, like the Hull MA.
I hope you like this script so that you could push the like button multiple (odd) times and you start following me.
I've got a bunch of other interesting scripts to share.
Comments and suggestions are welcome.
Note di rilascio: 1) added Tenkan lines
2) no need to treat JPY differently
Note di rilascio: // March 2019:
// nr of traded lots adjusted according to SL and risk
// cleaner trade management, avoid superposed trades
// added ema200 filter: if active long possible only when ema200 is increasing
// short only if it decreases
// cleaner code
Rimuovi dagli script preferiti Aggiungi agli script preferiti

Commenti

Nice work V.
+3 Rispondi
@hanko75, Agreed. This is awesome mate. Thanks for your contribution to the discord channel.
+2 Rispondi
Great work as always, I really love this indicator specially because I relay a lot on MA Cross as triggers for upcoming trends. But I been having a hard time undestanding de diferecne between activating the tab of recarlculating after the order is filled. In sime cases my strategy even revers to negative and other more thank doubles de profit. I'm I missing something or misinterpreting the results.
+1 Rispondi
FXPDM FXPDM
@FXPDM, Spelling corrected :) Great work as always, I really love this indicator especially because I rely a lot on MA Cross as triggers for upcoming trends. But I been having a hard time understanding de difference between activating the tab of recalculating after the order is filled. In some cases, my strategy even revers to negative and other more than doubles de profit. I'm I missing something or misinterpreting the results.
Rispondi
vitelot FXPDM
@FXPDM, Hello. Which tab are you referring to? perhaps the EMA filter?
If so, that tab forces the trades to be long if the price is over the EMA and to be short if price is below the EMA.
Of course, you should expect completely different results. Usually, that filter is useful but not always.
Rispondi
FXPDM vitelot
@vitelot, thanks for the answer, is not the tap for EMA200 filter, this one under properties, not imputado, on the bottom it give you the option to check recalculate ether “after order is filled” or “on every tick”. The tick ones doesn’t alter the results but the one after order is filled make a lot of extra mini trades that give you a lot more winners or losers. Just having a hard time getting the logic behind it. thanks
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Invita un amico Regolamento Centro di supporto Soluzioni per broker & siti web Widget Librerie grafiche Libreria grafica leggera Blog & Novità Twitter
Profilo Impostazioni profilo Account e fatturazione Amici invitati Coin I miei ticket di supporto Centro di supporto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci