Don't use EA builders. They produce very bad code, and most users here will refuse to help you because there just too much to fix.
So do it right, and don't use EA builders! Learn to code it yourself and we will be glad to help you out with your own code.
Don't use EA builders. They produce very bad code, and most users here will refuse to help you because there just too much to fix.
So do it right, and don't use EA builders! Learn to code it yourself and we will be glad to help you out with your own code.
thank you for taking the time to look into my query does MT4 recognize the "crossover" and "crossunder" logic or I would have to manually find a way to code this?
if SMA(100) crossover EMA(13) then Buy;if SMA(100) crossunder EMA(13) then Sell;
thank you for taking the time to look into my query does MT4 recognize the "crossover" and "crossunder" logic or I would have to manually find a way to code this?
if SMA(100) crossover EMA(13) then Buy;if SMA(100) crossunder EMA(13) then Sell;
i find it easier to code an indicator first then slot it into an ea with icustom()
For a simple crossover? That is just making it more complicated and more inefficient.
chipNdale: found that there is a builder on EA. And so I used it. chipNdale: does MT4 recognize the "crossover" and "crossunder" logic or I would have to manually find a way to code this? if SMA(100) crossover EMA(13) then Buy; if SMA(100) crossunder EMA(13) then Sell; |
|
It all depends of the "exact requirements."
chipNdale: found that there is a builder on EA. And so I used it. chipNdale: does MT4 recognize the "crossover" and "crossunder" logic or I would have to manually find a way to code this? if SMA(100) crossover EMA(13) then Buy; if SMA(100) crossunder EMA(13) then Sell; |
|
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everyone. I am new to the coding trying to learn from this page and found that there is a builder on EA. And so I used it. I am setting up an EA to trade MA crosses but the builder does not have this option. Can somebody help or guide me on this? Below is the code i generated from http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ . When I tried on my dummy account the buy / sell always is true and executes order since my logic is one MA > or < the other MA instead of cross over :(
logic
Buy order if
EMA 13 cross over (upwards) SMA 100
sell order if
EMA 13 cross over (downwards) SMA 100