I am looking for a serious, smart coder with experience in mt4.Someone whowould not waste either of us time, understands
the project and is neat and orderly in his coding.
I just want some modification done on my existing EA.Please use the attached diagram to help understand how the EA
works.Basically,when the EA is attached, it does the following;
1) Waits for the current bar to close
2)Opens a buy or sell position X pips from the close of the current bar.If a buy positon is opened another buy positon
can not be opened unitl a sell postions has been opened.also if a sell posions has been opened , another sell positions
can not be opend until a buy positons has been opened(Please see attached diagram).Each time a poition is opened , it is
incremental by an already set incremental value
3)All opened positions are closed using either one of the following rules;
I) If the opened postions reaches take profit at the close of the bar, we close all opened positions
II)If the m value is reached at the close of a bar, we close all opened positons.
If the above is not attained we continue to open position according to the specifications above.
4) when the parameters of the EA is changed while it is working, the change is noticed by the EA and its working is
updated to reflect this change.
The above is the way the EA works, however I want the following modificatio made on this EA
It should have all the current features(listed above) with the following additions.
1)A hidden stop loss( this should be optional with a true or false toggle at the input tab, I can use true if i want
to use stop loss or false if I dont want to use a stop loss .If the stop loss is triggered, EA waits for the current
candle to close then starts the process all over again
Please the M routine( which uses the M variable.this is a routine that restricts the EA to only close open positions
when they reached a stiPulated dollar value.This dollar value is given in the M variable which is in the input tap)
should only apply when we are considering the first conditions for closing(that is the condition of closing all opened
positions at the close of the candle when the sum in dollar of all opened positions is a positive.
The winner of this bid would be able to run the EA to see and understand how it works
2)The EA should remember the last trade that it opened no matter the interruption(even if it is;market closure, internet
failure,EA removed from chart, power failure,e.tc..any type of interrruption)Currently , this fucntion works but not 100%
of the time.I want it to be effective 100% of the time
2) In Continuation of the specification above, When the market closes on friday then opens on sunday or any day or when
ever there is any type of interuption(market closure, internet failure,EA removed from chart, power failure,e.tc..any
type of interrruption)(irrespective of the duration) the EA should continue operation immediately the interruption has
ended or as soon as the EA is re-aattached to the chart
If the last position that was opened was a buy and the current price is Ypips below the opened buy postion or if
the Last positions is a sell and the current price is Ypip above the opened sell postions, the EA should do the
followingis ;
1)Calculate the difference between the current market price and the price at which the last position was opened
2) It should then immediately open a new position opposite to the last opened positons and with lot size equal to;
(difference between the current price and the last opened price)divided by interval ( D) then the result multiplied by
the increment value X and then added to the last lotsize.After which it starts its normal function of adding subsequent
position using the incremental value.
If current price=P2
Last opened Position Price=P1
Interval=D
Incremental value=X
Last Lotsize=LLsize
New Lotsize=(((P2-P1)