Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Application is expected only from well experienced programmer who have already developed Stochastic based EA.
JOB DESCRIPTION
Stochastic default settings.
K=5
D=3
Slowing=3
Method=Exponential
Price field=Close/Close
Time Frame=H1
Note:
-I should be able to modify all the Stochastic settings from EA Inputs.
-if Time Frame on the Current Chart and Time Frame Set in the EA are not same then EA should Alert stating “Incorrect
Time Frame”
BUY CONDITION
-if stochastic is below 20 and K period has just crossed up D Period in the previous candle then
(1) close sell position if exist.
(2) open buy position in this new candle.
SELL CONDITION
-if stochastic is above 80 and K period has just crossed down D period in the previous candle then
(1) close buy position if exist.
(2) open sell position in this new candle.
TRAILING ACTIVATION ON BUY POSITION
-if stochastic is above 80 and current candle size is >500 point start trailing from here with trailing step 200 point.
-All values should be changeable from EA inputs.
TRAILING ACTIVATION ON SELL POSITION
-if stochastic is below 20 and current candle size is >500 point start trailing from here with trailing step 200 point.
-All values should be changeable from EA inputs.
Note:-
(1) at any given time there must be only one buy and only one sell position allowed.
(2) because trades are closed at the stochastic crossing no need to use take profit.
(3) EA should should consider and handle the positions opened by itself only and therefore should not consider and touch
other positions opened by another EA or manual trades.
IMPORTANT
-Code must be neat and clean.
-Every section of code must be well commented.
-Must use Identical Variables like(StopLoss, TakeProfit etc instead of SL, TP etc)
THIS IS A VERY BASIC EA. We will be revising it with additional filters and functionality upon foundation is properly developed and therefore coding must be done with expansion in mind.