Botkrit Range To Trend Switch Grid
- Experts
- Versione: 2.2
- Attivazioni: 10
Botkrit Range To Trend Switch Grid is an Expert Advisor for MetaTrader 5.
RISK NOTICE - This EA uses a grid / martingale / averaging technique or does not set a stop loss on every trade. Losing trades can stay open, the number of trades and the total volume can grow, and the floating loss can become large. Simulated or past results do not guarantee future results. Test on a demo account first and risk only money you can afford to lose.
How it works
- Sideways market: a two-sided grid opens trades when price passes the edge of the last trade and closes each side separately at profit.
- A volatility spike, a strong news event (MT5 calendar) or a trend makes the EA leave the grid and switch to trend mode: it stops adding against the move and trails each trade and the whole basket from its peak.
- A drawdown cut-off closes everything and pauses for 60 minutes.
- Manual BUY / SELL buttons and an on-chart panel.
Recovery core (all BOTKRIT EAs of this series)
Recovery core (built in, hedging accounts only): if the basket of this EA loses more than the set percentage of the start balance, the EA stops opening new entries and the core opens balancing trades until the basket can be closed at break-even plus a small target. It can be switched off with the input InpRKOn or on the panel.
Features
- On-chart BOTKRIT panel and a bar-0 label (profit, spread, leverage)
- Lot normalization to the symbol step / min / max and a margin check before every order
- Stops level, freeze level, trade mode, trading session and order limit checks before orders are sent or modified
- No DLL, no web requests, no files written by default
Inputs (main)
- InpLot: Grid lot (default 0.01)
- InpMagic: Magic number (default see panel)
- InpEMAPeriod / InpATRPeriod: Trend and volatility readers (default inputs)
- InpTrendMaxAdds: Maximum adds in trend mode (default inputs)
- InpRKOn: Recovery core on / off (default true)
- InpRKStartPct: Start recovery when basket loss exceeds this % of the start balance (default 3.0)
- InpRKCutPct: Close the whole basket at this % loss (default 30.0)
- InpRKCorner / InpRKBar0: Panel corner and bar-0 label mode (default bottom right / full)
Recommended setup
Hedging account, majors or gold, M5 chart. Balance $1000+ for 0.01 lot.
Notes: trading involves risk. The EA is a tool; it does not promise profit.
