RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

Timeframe: Attach the EA to the H1 chart (the internal logic will automatically pull data from M5, M30, H4, and D1 as configured).
Input Parameters Explanation: The EA is highly modular, allowing the user to enable or disable any specific condition.
-
Look_Back_Bar / Look_Forward_Bar: Controls the scanning depth for previous structures and the length of the horizontal visual lines drawn on the chart.
Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.
-
Buy/Sell Conditions: A set of boolean switches to enable specific MTF comparisons (e.g., 60m High > 240m High).
-
Lower Timeframes: Enables fast execution logic combining M5 with M30 or H1.
-
SL_Mode: Choose between Fixed Points, % of Balance, or fixed USD Amount for dynamic position sizing.
-
Use_Break_Even & Auto_Expiration: Moves stop loss to entry after reaching a safe distance and cancels pending orders after a specified time in minutes.
-
Dot_Offset: A visual adjustment to draw signal dots away from the candles, ensuring the price action remains fully visible to the trader.
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
70796