@GREYTRADING Lo que pides no es un imposible, considero que primero deberias compartir un hilo de tu proyecto y con esa base todos los desarrolladores mas avanzados pueden tener un mejor punto de partida para poderte ayudar....
Hi Matt, Im working on an EA that uses MS and ChoCH specifically but Im having some trouble coding it. would you mind sharing project or some insight? much appreciated if possible
I think I have worked out what you mean, describe more of what you are trying to achieve. if x> 45, do not allow it again until the value drops below 40? If so you will need to use bool variables, x>45 set bool true - >40 set bool false, then if bool if false x> can happen, but if false x> can't happen
I find if I want 2 things to be true in a separate tree, I use these blocks through "and" or "or" to create the desired result, without affecting the original tree's result
@jstap I made this ea base on macd divergence and the divergence btw two candles. But when i test the EA it only opens a position when the macd condition is met. It totally ignores the conditions for the divergence in candles ( fractal candles buy and sell area)
Effectively you have 3 or 4 trees that would be better separated, because generally a block connected to one above, relies on that blocks action to do something, disconnect things, test 1 section at a time, and then you will know what tree is causing trouble