Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Previous Candlestick Breakdown - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resource

author EAcpu | 5 reads | 0 comments |

Previous Candle Breakdown - expert for MetaTrader 5

Idea from : Vladimir Hristov .

MQL5 code by : Vladimir Karputov .

The EA waits for the breakdown of any time frame (from 1 minute to 1 month). Checks bar #1 for a breakdown of the previous candle within the specified time frame. Two filters can also be enabled - Moving Average.

In the EA, trailing is implemented (when the stop loss level is modified for the first time) to move the stop loss to breakeven.

Position size can be permanent ( a lot above zero and risk equal to zero) and dynamically calculated risk percentage for each trade ( a lot above zero and risk equal to zero).

warn! The following situations are not allowed:

After reaching the target profit and realizing profit , all positions will be closed. The EA ensures that no more than one previous candlestick position is opened in each direction within the specified time frame.

Previous Candle Breakdown - expert for MetaTrader 5

Figure 1. Current time range: M15, subdivision set to H4


Attachment download

📎 previous_candle_breakdown.mq5 (53.01 KB)

Source: MQL5 #20879

Verification code Refresh