Auftrag beendet
Spezifikation
hi i need ea thats somewhat easy i think
when i put the ea on chart the pair price will be its starting point and if price move like 5 pips up it will open buy and then every 5 pip up it will open another buy and so on
of course i can change the 5 pips and if the price go below the starting point it will start to open sell orders every 5 pip and so on
when i close some trades (manually) lets say i closed some sell orders in lost , the ea should remember how much i lost in that pair (very important) and when i set profit to for example 10$ it will close all the orders (buy and sell) on that pair when the profit reach 10$+the lost one i closed so the net profit will be 10$(or as i choose)
the ((memory)) of trades and the closed one(i close manually in loss or profit) is very important for the ea to work properly
for example my target is 10$ in that pair and i closed some loosing trades(in that pair) lets say i close -20 loss so the ea should make 30$ to close all orders so the net profit is 10
this is very important and calculate each pair separately and if i close some trades with profit lets say 5$ (in that pair) it will close all the orders when profit is 5 so the net profit will be 10
the ea should open a new order in the original place of the order that i closed manually so it will keep the 5 pips between trades(no gaps because of closed trades manually)
memory of equity and balance is very important for example if the metatrader closes and then reopen again it will ((memorize)) the previous lost or win and continue trading
also very important is that i can put ea on many pairs and it will calculate the profit or loss of each pair separately
extern variables are lot size(same for buy and sell)
the distance between each trade
the profit in $
a filter which can be turn on or off is a moving average(i can change its type and period) so for example it will open sell order only if the price is below the starting point and below the moving average and buy orders only if price above starting point and above that moving average so in the case of using this filter the gaps will not be exactly 5 because it must have 3 conditions now to open a trade whaich are A- 5 pip distance from previous trade or more but not less B-the price regarding the starting point C-the relation of price to the moving average