Forum

How to compare first and last trade, close when they are in profit?

How can I compare and close first and last order when they in profit? Meaning when EA opens 5 buy orders, compare 1st and 5th orders, close when they are in profit, likewise compare 4th and 2nd order, close when they are profit. Instead of closing all together, how can i close in this way? Can you

opening an another order without closing current order

Hi, I need help with my script. I'm trying to develop a script with martingale technique. Where it places a buy order for 0.01 lot size, if this order goes loss (let's say 200th pip) , I want to open an another buy order for 0.02 lot size. if all together buy orders in profit, I want to close all

Open new orders instead of stoploss

Hi all, I am trying to write script for opening additional orders instead of setting stoploss. For example: 1 Buy Order is placed and it is going loss, if openprice is reaches the distance (eg:300pips), it will open another buy order. Then, Order 2 is making profit more than account balance or