Tiny EA adjustment

1
Hello Coders!

So I found these two EAs and modified them little bit to make sure that they will immediately open a buy/sell position on the next open candle.
Everything works brilliant.

However now I need to "force" them to open a buy/sell position on the next candle but X points away from the open price.
When it comes to the short position -> open trade if BID is 10 points away from new candel's open price,
e.g. Open Price is 127.947 - 10 points = 127.937 EA opens a short position.
Same case when it comes to the long position but obviously Open Price + 10 points instead minus.

No idea how to do it :(
Could somebody please help me with this modification ?


Who is online

Users browsing this forum: Amazon [Bot], global, Google [Bot], Grapeshot [Bot], Jimmy, ParallelNative, PhoenixBlueFeather, Proximic [Bot], rudiarius, scdihan, tradeforesee and 96 guests