Β Rsi & Cci Divergence EA Trades when there is a divergence of “RSI” or “CCI” 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.
This EA trades only with the price of open candle!
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).
- Enable_Trailing-Enable_Trailing with moneyΒ Β (values:true/false).
- Take Profit In Money (in current currency)Β (values: 1-100).
- Stop Loss In Money(in current currency)Β (values: 1-100).
- Exit=Enable Exit strategy (value:false).
- IncreaseFactorΒ -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1)..
- CCIΒ –Β Β “CCI” indicator valueΒ (values:10-40).
- RSI – “RSI” indicator value(values:10-40).
- CandlesToRetraceΒ – Number of candles to wait for divergence (values: 10-100).
- LotsΒ – Lots size (values: 0.01-10).
- Lots size ExponentΒ Β (values: 1.01-2).
- Stop_LossΒ – Stop Loss (values: 30-500).
- MagicNumberΒ – Magic number (values: 1-100000).
- TakeProfitΒ – Take Profit (values: 50-100).
- FastMAΒ – Fast Moving Average (values: 1-50).
- SlowMAΒ – Slow Moving Average (values: 60-200).
- Β Mom_Sell-Momentum_Sell trtrigger(values: 0.1-5).
- Β Mom_Buy-Momentum_Buy trtrigger(values: 0.1-5.
- UseEquityStop -Use Equity Stop(value: true).
- TotalEquityRisk-Total Equity Risk(values: 1-3).
- Max_Trades-Maximum trades(values: 1-5).
- IF YOU USE ONLY 1 TRADE:
- //////////////////////////////////////////////////
- TrailingStop-set a value from 40 to 100 to activate trailing stop loss & take profit, “0” will not activate trailing stop loss.
- Enable “Break Even”Β -(values:true/false).
- When move “Break Even”-Β (values: 5-30).
- How much pips move- “Break Even”Β (values:5-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: