“ROC” EA Trades with “ROC” indicator, has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.
***Include “IncreaseFactor” function if you lose a trade the next lotsize will be increased****
Try it on demo first.
If you do not want to trade with increasing lot size when you lose a trade set:”IncreaseFactor=0″
Inputs
-
-  Use_TP_In_Money- Use Take Profit In Money (values:true/false).
-  TP_In_Money- Take Profit In Money   (values: 10-100).
- Use_TP_In_percent- Use Take Profit In Percent (values:true/false).
- TP_In_Percent- Take Profit In Percent (values: 10-100).
- ————[Money Trailing Stop For Multiple Trades]———————-
- Enable_Trailing-Enable_Trailing with money  (values:true/false).
- Take Profit In Money (in current currency)Â (values: 25-200).
- Stop Loss In Money(in current currency)Â (values: 1-20).
- ————————————————————————————–
- ————————-ROC INDICATOR PARAMETERS————————–
- Period_MA_0=Period of supporting MA for cur. timefr. (values: 1-50).
- Period_MA_1=Period of calculated MA (values: 1-50).
- Bars_V=Amount of bars for calc. rate (values: 1-50).
- Aver_Bars = Average Bars (values: 1-50).
- K =Amplifier gain (values: 1-5).
- ————————————————————————————–
- Exit= Close trades if the trend is against you and control draw dwon (values:true/false).
- tick=If “tick”=false-every tickIf “tick”=true -open prices (values:true/false).
- Lots – Lots size (values: 0.01-1).
- Lots size Exponent  (values: 1.01-2).
- IncreaseFactor -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1).
- Stop_Loss – Stop Loss (values: 30-500).  /set value 600 for  Multiple Trades
- MagicNumber – Magic number (values: 1-100000).
- TakeProfit – Take Profit (values: 50-200).  /set value 600 for  Multiple Trades
- FastMAÂ – Fast Moving Average (values: 1-20).
- SlowMAÂ – Slow Moving Average (values: 50-200).
- Â Mom_Sell-Momentum_Sell trigger(values: 0.1-5).
- Â Mom_Buy-Momentum_Buy trigger(values: 0.1-5).
- ———————CONTROL DRAW DOWN—————————–
- UseEquityStop – (values:true/false).
- TotalEquityRisk- (values: 0.01-20).
- ——————————————————————————-
- Max_Trades(1-12).Â
- FractalNum= Number Of High And Low(values: 1-10).
- —————-IF YOU USE ONLY 1 TRADE:———————–
- /////////////////////////////////////////////////////////////////////
- USETRAILINGSTOP-If use trailing stop (values:true/false).
- WHENTOTRAIL-When to trail (values: 40-100).
- TRAILAMOUNT-Trail amount (values: 40-100).
- Distance From Candle -Distance From Candle (values: 1-100).
- USECANDELTRAIL=If use trailing stop (values:true/false).
- X=2-number of candles (values: 1-100).
- USEMOVETOBREAKEVEN-Enable ” break even ” (values: true/false).
- WHENTOMOVETOBE-When to move break even (values: 1-30).
- PIPSTOMOVESL=30-How much pips to move stop loss  (values: 1-30).
- ////////////////////////////////////////////////////////////////////////
You can use it as hedging grid EA or a single trade EA.
You need to optimize this EA once a week and use the exact same inputs from above .
How to perform back test:
Links to more efficient versions in the Market:
Hybrid Candlesticks rate of price change Fast Turtle Ichimoku Breakout Fibo Price change Trend pullback