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: ChatGPT [Bot], IBM oBot [Bot], jeffx33, Jimmy, Lwqa, Majestic-12 [Bot], moey_dw, NotInPortland, thomdel, Twitter [Bot], whiteadrian23, Woodyz and 94 guests