Работа завершена
Техническое задание
Hello dear programmers,
I would like an improved version of my EA.
Some bugs should be fixed and improvements made that I would specify in another message.
Please find below some requirements needed :
Separate settings for BUY and SELL orders (First Stop distance, First Price Step, Max Orders, Order Price Step, Take Profit)...)
Parameter of NewOrderStep should be made as distance after the last order in the BUY or SELL grid (eg. a grid of 5 BUY orders beginning at 1.10000 and ending at 1.0500, the NewOrderStep should be xpips below 1.0500 and xpips above if its a SELL grid...)
MarketOrder should consider positive swap, (eg. the first market order will be SELL one for EURSUD cause swap value is positive and BUY one for USDJPY...)
Sometimes actual version of EA opens 2 or more orders after completing a profitable series (both market and pending ones...) kindly fix this bug
Another bug to be fixed is the fact that when an order is closed at take profit and a pending one opened as specified, the grid comes profitable and close also, the pending order opened is not closed so that the grid cannot continue...
Kindly add the fonction of take profit that not close but opens opposite order (eg. a market or pending order is triggered and reach take profit, this fonction should open opposite order instead of closing this but still open pending as specified...till GRID TAKE PROFIT parameter is reached and so on...
The TrailingStop parameter should be improved, if its complicated, consider
that the replacing order of a trailed one should be its opening price + x pips...
Extra settings;
Addition of builtin indicators