A spike is defined as a bar that closed higher than the previous BarsNumber bars, PercentageDifference higher than the previous bar, and in the lower ThirdOrHalf part of its length. In case of a bullish signal, everything reverses. The position remains open until the Hold bar passes or an opposite signal is received. If a new signal in the same direction is received, the position timer is reset and no new position is opened. Hold (default = 11) — number of bars to hold the open position. BarsNumber (default = 3) — number of previous bars to check for entry condition analysis. PercentageDifference (default = 0.003) — required percentage difference with the previous bar. ThirdOrHalf (default = 0.5) — the bar being checked must close at the bottom/bottom of the previous bar. This value determines that part. For example, 0.5 means the bottom/top half, 0.33 means the bottom/top third, etc. Lots (default = 0.1) — volume of the deal. Slippage (default = 30) — acceptable price slippage (in points). Magic (default = 173923183) — order magic number for filtering positions opened by this EA. Used only in MT4.
Total Profit
-1,893
