Help for newbie
-
UPDATE *****************
After another couple of hours of fiddling, I got it right.Thanks to all those who took the time read and if you did try to build, I'd still like to see your take as it might be more elegant.
I tried to construct a very simple EA but can't get it to work as expected after trying for hours 10 different ways. Something about the block flow which I don't understand.
Rather than getting someone to debug my attempts. It might be quicker to explain what the this short EA does and someone could reproduce it? - that way I might understand how the wiring works. Should only take a couple of minutes...
Basically the idea is to keep going long or short using PSAR AND MA as opening conditions but ONLY the PSAR as a closing condition:
If no position
- Branch 1
a. (Buy market if PSAR < ask ) AND if (MA 20 > MA 20, 2 periods ago)
b. When PSAR > ask, close positionotherwise
- Branch 2
(Which is just the reverse of branch 1 so as to open and close short positions)
- If no positions are open, start all over again.
Thanks
-
-
...........
-
becareful with psar, its consistently moving the final dot placement. put a trace block on a pass and watch that indicator in real time as your test it.
-
Here you have branch 1 for buys only.
https://fxdreema.com/shared/6o3BUEhFd
Try it for sells and let us know: