EA from Examples
-
I made an simple EA on cross over of 2 indicators copying the same as example but when i make the mql4 ea code and run on strategy tester its no working as i want only buy gets triggered without condition checked, but when i build the EA directly from example window its working perfect, why does this happen..? and guidance..?
-
Hi Rahim
Could you share the Project or show a screenshot?
-
hi.,I have made a program on stochastic with 5, 3, 3 overlap on buy and sell
but only one position is opening, not the condition on sell, any help..?!

-
Hi
Try the following:
- connect the block #5 directly to "No trade" block
or - connect the block #7 to the yellow output of block #3
I think both should work as you expect.
- connect the block #5 directly to "No trade" block
-
@josecortesllobat Does the ELSE of "cross above" really mean "cross below" ?
Isn't it just "not cross above"? -
@roar said in EA from Examples:
Isn't it just "not cross above"?
Hi @roar
I am not using the yellow output of a cross over condition. I am building two different branches for going long or short from the "No trade" block. It works for me. So I think if @Rahim-0 connects the block #5 directly to the "No Trade" orange output, it should work as he expects.
-
@josecortesllobat said in EA from Examples:
- connect the block #7 to the yellow output of block #3
I am not using the yellow output of a cross over condition.
@josecortesllobat Hi!
I think block #3 is a cross-block. But yeah, its best to make separate flows for buy and sell in this case.