仕事が完了した
指定
So I'll or my ea will open an buy/sell order.
This ea must detect the open order value and place limit orders (x amount of points) from the exact value the first order was opened and limit orders every x amount of pips infinitely.
So lets say first buy order was opened at 1.06200 and the limit order distance from the first order is 500 and distance between limit orders is 500.
I would of manually opened a buy order at 1.06200
the ea must place an buy limit order at 1.05700
and another buy limit order at 1.05200
and this must continue infinitely but make sure to keep max 2 limit orders on the chart (max 2 limit orders to not overload server ram with a lot of orders) and place more if needed (there must always be 2 limit orders on the chart at all times and mus infinitely add limit orders as previous limit orders get filled)
if first order get closed (# 1.06200)(usually I'll close to take profit and which includes first order and all filled limit orders) then the ea must reset and close all limit orders and
look for new open order to set as first opened order as the new starting point and place new limit orders according to the new opened order as mentioned above.
it must place limit orders for both open buy and sell orders respectively.