greif / Publications
Forum
Avoid EA trading after GAP
Because after gap some indicators behavior is not usable for EA decision, I use simple code to avoid EA trading after GAP. At params section of EA add: extern int MinGapSize = 3; extern int BackGapBars = 10; .... add check of Gap before decision of trading if (NotGap()) { if (Trend>0) Buy=true; if