News indicator-free EA cm_EA_News
The idea of the EA is that stop orders are moved discretely at a given distance from the current price.
If the price crawled sharply enough in one direction, the EA simply does not have time to move the order and it becomes market.
Then turn on thrall orders.
extern int Stoploss = 10; // StopLoss if 0 is not changed extern int Takeprofit = 50; // TakeProfit if 0 is not changed extern int TrailingStop = 10; extern int TrailingStart = 0; extern int StepTrall = 2; extern int NoLoss = 0; extern int MinProfitNoLoss = 0; extern int Step = 10; extern double Lot = 0.01; extern double RiskPercent = 20; // percentage of balance for lot calculation extern int TimeModify = 30; // number of seconds before which it is forbidden to change the order extern int MaxSpread = 30; extern int slippage = 3; extern int Magic = 77; extern int DigitsLot = 2; // number of decimal places in lot size (2 - 0.01) (1-0.1)