STOC_ROBOT_JMR E.A is looking for a trendy market in a high and a medium TimeFrames (3 EMA in convergence Up ou Down). When it’s the case, the robot enters the position on Stochastic signal in a low TimeFrame (overbought/sold zones). As long as the position has not gone out on TakeProfit, a martingale adds a new position after a threshold is exceeded, when the Stochastic in the low TimeTrame provides again a signal. There is no Stoploss on positions. A security system will close all positions together at market if a loss threshold set is reached, according to a percentage of the account balance. Variables : {General} Robot on/off Start hour End hour 3 Exponential Moving Averages : EMA 1 (default= 100) , EMA 2 (def.= 130), EMA 3 (def.= 200) Stochastic Oscillator (default values : %K= 11, %D= 3, Slow=5, MA simple, Close/Close) Dmax= maximum distance between Price (Close) and EMA 3 (default value = 150 pips) {Martingale} Lot size (0,01 to 100) Lot Multiplier (*1 to *2 in steps of 0,1) Maximum positions number (1 - 99) Treshold {=Minimum condition for adding a position)} calculated by reference to the Average Price of all open positions (default = 30 pips) TakeProfit calculated by reference to the Average Price of all open positions (default = 20 pips) Security cut-off  = Maximum total loss as a percentage of the Account Balance (default= 20%) BreackEven calculated by reference to the Average Price of all open positions (with on/off option) LONG ENTRY High TimeFrame (default= H4) C1= EMA 1 in Uptrend for at least 2 periods C2= EMA 2 in Uptrend for at least 2 periods C3= EMA 3 in Uptrend for at least 2 periods C4= EMA 1 > EMA 2> EMA 3 C5= D < Dmax {D= distance between Price (Close) and EMA 3} Medium TimeFrame (default= H1) C6= EMA 1 in Uptrend for at least 2 periods C7= EMA 2 in Uptrend for at least 2 periods C8= EMA 3 in Uptrend for at least 2 periods C9= EMA 1 > EMA 2> EMA 3 Low TimeFrame (default= M15) C10= Stochastic % K < 20 C11= Stochastic  %K crosses upwards Stochastic %D If C1 to C11 are true then BUY next Bar at market SHORT ENTRY High TimeFrame (default= H4) C20= EMA 1 in Downtrend for at least 2 periods C21= EMA 2 in Downtrend for at least 2 periods C22= EMA 3 in Downtrend for at least 2 periods C23= EMA 1 < EMA 2< EMA 3 C24= D < Dmax {D= distance between Price (Close) and EMA 3} Medium TimeFrame (default= H1) C25= EMA 1 in Downtrend for at least 2 periods C26= EMA 2 in Downtrend for at least 2 periods C27= EMA 3 in Downtrend for at least 2 periods C28= EMA 1 < EMA 2< EMA 3 Low TimeFrame (default= M15) C29= Stochastic % K > 80 C30= Stochastic  %K crosses Downwards Stochastic %D If C20 to C30 are true then SELL next Bar at market MARTINGALE When the #1 position loses at least the treshold value, the system will open a new position each time C10 & C11(LONG) or C29 & C30 (SHORT) are true for Low TimeFrame The EA will use a lot multiplier and will have to recalculate the TakeProfit each time a position is added, and will show the new TakeProfit level on MT4 terminal. No StopLoss, output only on TakeProfit or Security cut-off. The robot has to recognize the existing positions after each network outage or re-synchronization to the remote server. THANK YOU