Lavoro terminato
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specifiche
I got an EA build earlier which is working fine but I need some modification to it. My developer is not available so I would need a new person who can do modification on the current code.
MY CURRENT EA DETIALS :
Input variables | Type of Input | Comments | ||
Trade Type | BUY ONLY | SELL ONLY | BOTH | 3 type of orders |
Max Number of Orders A Type ( 0 to disable ) | 2 | Max Number of Orders A | ||
A Lots Size | 0.01 | general lot size | ||
A Lots Multiplier | 3 | multiply with this value to place order A | ||
Max Number of Orders B Type ( 0 to disable ) | 3 | Max Number of Orders B | ||
B Lots Size | 0.01 | general lot size | ||
B Lots Multiplier | 1 | multiply with this value to place order B | ||
Average Step Points | 500 | New position to open at what point | ||
Target Points | 100 | Target points | ||
Slippage | 100 | Slippage to consider while placing new limit orders when movement is high | ||
Comment | Finovics EA | Comments |
In Buy only Buy order will be placed at the market price when EA is started then it it will put the TP as 100 points. Also at the same time limit order will be placed 500 points below the price at which we buy 1st order and so on. If the TP reach then it will book profits; cancel the limit order, open a BUY positions at the current price. Concept : Book profit and start Buy cycle again.
In SELL only SELL order will be placed at the market price when EA is started then it it will put the TP as 100 points. Also at the same time limit order will be placed 500 points above the price at which we Sell 1st order and so on. If the TP reach then it will book profits; cancel the limit order, open a SELL positions at the current price. Concept : Book profit and start Sell cycle again
In BOTH.. Buy order will be placed at the market price when EA is started then it it will put the TP as 100 points. Also at the same time limit order will be placed 500 points below the price at which we buy 1st order. If the TP reach then it will book profits; cancel the limit order, open a SELL positions at the current price. This both will follow BUY cycle finish then start SELL cycle. SELL finish then start BUY cycle and so on.
--------------------------------------------------------------------------------------------------------------------------------------------
The above is well coded with proper naming conventions and will be easy for a developer to understand. I will provide the code once the developer is finalized.
--------------------------------------------------------------------------------------------------------------------------------------------
My NEW REQUIREMENT
1. The above EA have a TP which should be changed to SL. Instead of hitting a TP I want to hit a SL.
2. In the above EA there is always floating loss because we keep on opening a new position when with average TP. But now I need to keep opening a new positions when there is floating profit.
3. The above EA do average and update a TP. But now it need to do a average and update SL.
In short I need to do reverse of what is been done. So that only SL is hit instead of TP. eg
Instead of booking profit we book losses. Instead of adding positions in case of losses I would like to add positions in case of profits.