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.
Phát hành các Ghi chú: 1) added Tenkan lines
2) no need to treat JPY differently
Phát hành các Ghi chú: // 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
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích

Bình luận

Nice work V.
+3 Phản hồi
@hanko75, Agreed. This is awesome mate. Thanks for your contribution to the discord channel.
+2 Phản hồi
Using this indicator along with a LBR trading strategy is making for an even better and ALOT more profitable technique. This Indicator has been giving me a GREAT edge in my trading !
+1 Phản hồi
vitelot View4U
@View4U, I'm really happy to hear that. Thanks.
Phản hồi
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 Phản hồi
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.
Phản hồi
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.
Phản hồi
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
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Xu Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất