signal from trading view to mt5
-
hello all , so i created this EA to put trasaction after a order is place manually , the EA should work like this , open price (manualy ) = SL (double position and puts a buy) if TP = (close all pending orders and reset the initial ammount ) the ea is working the only thing is because the bid ask price sometimes it opens 2 pending orders at same level , how i can fix that ? thx i attach the project
https://fxdreema.com/shared/llDubTZkd -
Blocks 59 and 66 are both searching for buys and sells when they should search for buys only or sells only instead.
-
with this ea i will have only 1 trade open and one pending , the thing is when i alternate buy- sell , i get diferences of prices and it opens 2 pending orders and i wonder if there is a wayt to modify the price of the opened order SL at 20 pips away from the pending order buy price or viceversa