TMA EA Achira Meegasthanna
- 专家
- 版本: 1.10
TMA EA by Achira Meegasthanna is an automated Expert Advisor based on a Triangular Moving Average (TMA) band concept. The EA analyzes price movement relative to dynamically calculated upper and lower TMA bands and uses candle confirmation to identify potential reversal signals.
The system can automatically open Buy and Sell positions and close positions in the opposite direction when a new signal is detected.
Main Settings
📊 TMA Band Analysis
The EA calculates a TMA-based central line together with dynamic upper and lower bands.
The band width is determined using a configurable deviation value, allowing the user to adjust how sensitive the strategy is to price movements outside the bands.
🔄 Reversal-Based Entry Signals
The EA looks for price movements beyond the TMA bands combined with candle-direction confirmation.
Sell condition:
-
Previous candle reaches above the upper TMA band
-
Previous candle closes bullish
-
Current candle closes bearish
-
A new Sell signal is generated
Buy condition:
-
Previous candle reaches below the lower TMA band
-
Previous candle closes bearish
-
Current candle closes bullish
-
A new Buy signal is generated
This combination is designed to identify potential reversals after price moves outside the TMA bands.
⚡ Automatic Direction Management
When a new opposite signal appears, the EA can close existing positions in the opposite direction before opening the new trade.
This allows the EA to automatically transition between Buy and Sell signals.
⚙️ Adjustable Parameters
The EA provides configurable inputs including:
-
HalfLength — controls the TMA calculation period
-
Price — price type used for the calculation
-
BandsDeviations — controls the distance of the upper and lower bands
-
LotSize — trading volume
-
Slippage — configurable trading parameter
-
StopLossPips — available risk-management parameter
-
TakeProfitPips — available profit-target parameter
📈 Dynamic Bands
The upper and lower bands adapt to recent price behavior through the calculated TMA and deviation values.
This allows the EA to respond to changing market conditions rather than relying on fixed price levels.
🖥️ Multi-Symbol & Multi-Timeframe Compatible
The EA uses the active chart's:
-
Symbol
-
Timeframe
-
Price data
This allows users to test and operate the strategy across different instruments and timeframes.
How It Works
The basic trading process is:
1. Calculate TMA
The EA calculates the TMA center line using the configured HalfLength and selected price type.
2. Calculate Dynamic Bands
Upper and lower bands are created using the TMA value and the configured deviation.
3. Detect Price Extremes
The EA checks whether the previous candle moved beyond the upper or lower band.
4. Confirm With Candle Direction
A reversal candle confirmation is required before generating an entry signal.
5. Execute Trade
When the conditions are satisfied, the EA opens a Buy or Sell position.
6. Manage Direction
When an opposite signal occurs, existing positions in the opposite direction can be closed before the new position is opened.
Risk Warning
This Expert Advisor is a technical trading system and does not guarantee profits.
Trading financial markets involves substantial risk, and performance can vary depending on the symbol, timeframe, broker conditions, spread, execution speed, and market environment.
Past performance and backtest results do not guarantee future results.
Users should thoroughly test the EA in the MetaTrader 5 Strategy Tester and on a demo account before considering live trading.
Always use appropriate position sizing and risk management.
Product Name: TMA EA by Achira Meegasthanna
Strategy: TMA Band Reversal
Entry Type: Price-band breakout + candle reversal confirmation
Trading Direction: Buy & Sell
Platform: MetaTrader 5
