Idea by: Dmitriy.
MQL5 code by: Vladimir Karputov.
Have you ever wanted to compare the opening prices of candlesticks effortlessly? The TwoBarsComparison EA is here to help! This expert advisor compares the opening prices of bar #0 and bar #2, allowing you to make informed trading decisions.

Input Parameters
- Stop Loss (in pips) - Set your Stop Loss;
- Take Profit (in pips) - Define your Take Profit;
- Trailing Stop (in pips) - Adjust your trailing stop;
- Trailing Step (in pips) - Set the step for trailing;
- Breakeven - Enable breakeven management;
- Breakeven Profit - Specify profit level for breakeven;
- Lots - Position volume (manual definition);
- Risk - Risk per trade as a percentage of free margin;
- Magic Number - Unique identifier for the EA.
Curious about how it performs? Check out the test results using the "Every Tick" mode for all symbols on the D1 timeframe:

Comments 0