Join our fan page
- Views:
- 1102
- Rating:
- Published:
- 2025.04.16 03:15
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
📈 Adjustable Moving Average EA for MT4
This Expert Advisor trades based on the crossover of two customizable moving averages. It’s designed for traders who want full control over trade direction, entry logic, and risk settings.
⚙️ Input Parameters Explained:
-
FastPeriod: Period of the fast moving average.
-
SlowPeriod: Period of the slow moving average.
-
MAPriceType: Price used in MA calculation (e.g., Close, Open, High, Low).
-
SL_Points: Stop Loss in points. Set to 0 to disable.
-
TP_Points: Take Profit in points. Set to 0 to disable.
-
TrailStopPips: Enables a trailing stop after the trade is in profit.
-
EntryMode: Choose between Long-only, Short-only, or Both directions.
-
FixedLot: Lot size used for each trade.
-
MaxSlippage: Maximum allowed slippage in points.
-
TradeComment: Adds a comment to each trade for identification in history.

Original ZigZag MT4 with added automatic fibonacci

This Expert Advisor (EA) analyzes market movement by calculating the average pip movement per tick and the average spread over a user-defined number of ticks (MAX_TICKS). It also evaluates the average pip movement and spread over a specified time interval (CHECK_SECONDS). The EA dynamically tracks price changes and spread values, printing the results in the terminal and displaying them on the chart using the Comment() function. This helps traders gauge market volatility and spread fluctuations in real time.

This EA scalps using the Relative Strength Index (RSI) Indicator, Stochastic Oscillator Indicator, and Bollinger Bands Indicator to identify trend or counter-trend opportunities. As a multi-pair EA, it scans multiple currency pairs for signals. This EA comes with a variety of features, including Trailing, Risk Management, Money Management, Restriction Mode, and more. With the right settings, it has the potential to generate significant profits.

Classical MACD Sample.