MetaTrader Trading Tools
Showing 1504 results in this view

Price Action Intraday Trading - Expert for MT5

Price Action Day Trader EA

Core Trading Logic

The EA analyzes price action on every new bar and executes trades based on three primary setups:

  • Pin Bar (Rejection): Identifies price rejection at key levels with customizable wick-to-body ratios.

  • Engulfing Candles (Momentum): Captures reversals when a large candle completely overcomes the previous price action.

  • Inside Bar Breakouts (Consolidation): Trades the breakout of a mother bar, signaling the continuation or reversal of a trend.

  • Trend Filter: A dual EMA (default 20/50) ensures the EA only enters trades in the direction of the medium-term momentum.

  • S/R Context: Integrated Support and Resistance lookback allows the EA to validate signals based on historical price levels.

Key Features
  • Dynamic Risk Management: Automatically calculates lot sizes based on a percentage of account balance (default 1.5%).

  • Safety Protections: Includes a Max Daily Loss limit (3%) to protect capital during volatile market days.

  • Trade Evolution: Features an automatic Break-Even trigger and a Trailing Stop to lock in profits as the trade moves in your favor.

  • Time Control: Built-in session filter allows you to define specific trading hours and automatically close positions at the end of the day.

  • Auto-Detection Filling Mode: Sophisticated order execution logic that automatically detects and adapts to your broker's filling mode (FOK, IOC, or Return).

Input Parameters
  • RiskPercent: Percentage of balance to risk per trade.

  • StopLossPips: Fixed stop loss distance.

  • TakeProfitRatio: Target profit relative to the stop loss (e.g., 2.0 = 2:1 R:R).

  • PinBarRatio: Minimum wick-to-body ratio for pin bar detection.

  • SRLookback: Number of bars used to calculate Support and Resistance levels.

  • Fast/Slow MA: Periods for the EMA trend filter.

  • Start/End Hour: Time window for opening new positions.

Recommendations
  • Timeframes: Optimized for M15, H1, and H4.

  • Symbols: Works best on major pairs (EURUSD, GBPUSD) and XAUUSD.

  • Optimization: It is recommended to optimize the StopLossPips and PinBarRatio based on the specific volatility of your chosen instrument.

VR Locker Lite - Trading strategy based on a positive lock

What is locking?

Locking is a situation where a trader simultaneously holds a long (LONG) and a short (SHORT) position of equal volume on the same asset. As a result:

  • Market risk is neutralized: profit or loss on one position is offset by the opposite movement of the other.
  • The position value is "frozen": the net financial result ceases to depend on market fluctuations.

The presented VR Locker Lite trading algorithm demonstrates working with one positive lock:

Operation algorithm:

  1. The trading robot immediately opens two positions: a buy (BUY) and a sell (SELL).
  2. Using averaging, the trading robot "widens" the buy (BUY) and sell (SELL) positions.
Options for further work with the lock:
  1. The simplest one - simply close the lock and start the entire trading cycle anew.
  2. Unlock the lock - leave one of the positions for a longer period and "let the profit grow".
  3. Enable a trailing stop for one of the positions or for both simultaneously.
  4. Move one of the positions to breakeven and "let the profit grow".
  5. Start the algorithm on another financial instrument or with another MagicNumber to create another positive lock.

Important things not to forget:

  1. Double commissions and swaps: You pay a commission for opening and (in the future) closing two positions instead of one. In forex, there may be a negative swap (rollover fee) on one of the positions.
  2. Capital lock-up: The margin (collateral) for the locked position is still frozen. You cannot use these funds for other trades.
  3. Complication of analysis: You still have to decide which side of the lock to close and when. This is often more difficult than the initial entry.

Sideways Martingale

Backtest EURUSD 01/03/2025 - 20/01/2026 Timeframe M5 (ONNX AI training specifically for M5-M15) Backtest GBPUSD 01/03/2025 - 20/01/2026 Timeframe M5 (ONNX AI training specifically for M5-M15)

1. General Overview

SidewaysMartingale is an Expert Advisor designed to trade sideways (range-bound) markets using a martingale recovery strategy, enhanced with an AI-based trend detector implemented via an ONNX model.

The EA combines:

  • AI trend classification (Sideway / Bullish / Bearish)

  • Envelopes indicator for range-based entries

  • Controlled martingale position scaling

  • Profit-based basket closing

  • Margin-based emergency stop

The core idea is:

Trade only when the market is statistically classified as sideways, and avoid adding martingale positions when a strong trend is detected.

2. AI Trend Detector (ONNX Integration) ONNX Model Output

The ONNX model returns:

  • A predicted label (not directly used)

  • A probability vector with three probabilities:

These probabilities are extracted as:

float prob_side = prob_data[0].values[0]; float prob_bull = prob_data[0].values[1]; float prob_bear = prob_data[0].values[2];

3. Feature Engineering (AI Inputs)

The EA feeds 9 engineered features into the ONNX model:

These features allow the AI model to detect:

  • Market volatility

  • Trend strength

  • Time-based behavioral patterns

  • Price structure behavior

4. Sideways Market Detection Logic

A market is considered sideways when:

bool is_sideway = (prob_side >= InpAISidewayThreshold);

Example:

  • If InpAISidewayThreshold = 0.70

  • Then at least 70% confidence is required to classify the market as sideways

👉 No new trades are opened unless this condition is met

5. Entry Logic (Scalping in Range)

The EA uses Envelopes to detect range extremes.

Buy Entry

if(price_close <= lower[0] && is_sideway)

  • Price touches or breaks the lower envelope

  • AI confirms a sideways market

  • Opens a BUY position

Sell Entry

else if(price_close >= upper[0] && is_sideway)

  • Price touches or breaks the upper envelope

  • AI confirms a sideways market

  • Opens a SELL position

💡 This ensures trades are taken only at range extremes during non-trending conditions.

6. Martingale Recovery Logic

When positions already exist, the EA applies a distance-based martingale:

  • New position is opened only if price moves away by a defined pip distance

  • Lot size increases using a multiplier ( LotMultiplier )

  • Maximum number of trades is limited ( MaxTradesInSeries )

Distance Check

if(dist >= reqDist)

7. AI Safety Filter for Martingale

This is a critical risk control mechanism.

Before adding a new martingale position, the EA checks:

If current series is BUY

if(s_seriesType == POSITION_TYPE_BUY && prob_bear >= InpAISafetyThreshold) return;

If current series is SELL

if(s_seriesType == POSITION_TYPE_SELL && prob_bull >= InpAISafetyThreshold) return;

🔒 Meaning:

  • If AI detects a strong opposite trend

  • And confidence exceeds InpAISafetyThreshold

  • Martingale expansion is stopped

This prevents:

  • Martingale during strong breakouts

  • Deep drawdowns caused by trend continuation

8. Profit Target & Basket Closing

The EA monitors total floating profit across all positions:

if(totalProfitUSD >= TakeProfitTargetUSD)

Once reached:

  • All positions are closed

  • Martingale series is reset

  • EA waits for a new sideways setup

This approach treats all positions as one basket trade.

9. Risk Management Margin-Based Emergency Stop

if(((bal - eq)/bal)*100.0 >= StopLossByMarginPercent)

If equity drawdown exceeds a defined percentage:

  • All positions are immediately closed

  • Prevents margin call scenarios

10. Strategy Summary

Market Structure Onnx

Backtest XAUUSD 01/03/2025 - 20/01/2026 Timeframe H1 Backtest EURUSD 01/03/2025 - 21/01/2026 Timeframe H1 1. Overall Concept

This strategy combines machine learning–based market structure classification with rule-based trade execution. An ONNX model is used to classify the current market structure, while classical technical analysis (moving average trend filter, Fibonacci retracement, ATR, and risk–reward rules) is used to manage entries, exits, and risk.

The system is designed to:

  • Trade only at structurally meaningful pullback levels

  • Avoid overtrading by allowing only one active trade or pending order

  • Use probability confidence filtering from the AI model

  • Apply risk-reward–based trailing stop management

2. Market Structure Classification Using AI

An ONNX model ( market_structure.onnx ) is loaded during initialization. On every new bar, the model predicts the current market structure state.

Input Features

The model receives six normalized features:

  1. Momentum change Price difference between the current close and the close 5 bars ago, normalized by ATR.

  2. Distance to recent swing high Difference between the highest high in the last 50 bars and the current close, normalized by ATR.

  3. Distance to recent swing low Difference between the current close and the lowest low in the last 50 bars, normalized by ATR.

  4. Relative tick volume Current tick volume compared to the average tick volume of the last 20 bars.

  5. Candle body strength Difference between close and open price, normalized by ATR.

  6. Time feature (hour of day) Encodes intraday session behavior.

These features allow the model to infer trend strength, pullback depth, volatility, volume context, and session timing.

3. Model Output and Confidence Filtering

The ONNX model outputs:

  • A predicted label representing market structure state (e.g., higher high, higher low, lower high, lower low)

  • A probability score for the predicted class

A trade signal is considered valid only if:

  • The prediction confidence is above the defined threshold (default 0.65)

  • The signal aligns with the higher-timeframe trend filter

This ensures that low-confidence or noisy signals are ignored.

4. Trend Direction Filter

A 50-period Simple Moving Average (SMA) is used as a directional filter:

  • Bullish bias: price is above the SMA

  • Bearish bias: price is below the SMA

Trade directions are constrained as follows:

  • Bullish market structure signals are allowed only in bullish trend

  • Bearish market structure signals are allowed only in bearish trend

This prevents counter-trend entries.

5. Entry Logic Using Fibonacci Retracement

Instead of market orders, the strategy uses pending limit orders at Fibonacci retracement levels.

Pivot Detection

Recent swing high and swing low are detected using a pivot-based method that scans historical highs and lows.

Fibonacci Entry
  • Entry is placed at a predefined Fibonacci retracement level (default 61.8%)

  • This targets pullbacks within a valid market structure, not breakouts

Order Types
  • Buy Limit in bullish conditions

  • Sell Limit in bearish conditions

Each pending order has:

  • Fixed lot size

  • Stop Loss beyond the structure invalidation level

  • Take Profit based on a fixed Risk-Reward ratio (default 1:2)

  • Expiration time to avoid stale orders

6. Risk Management and Trade Limitation

The strategy enforces strict exposure control:

  • Only one open position or one pending order at a time

  • No stacking or martingale behavior

  • Stop Loss is always defined at entry

Risk is structurally bounded by:

  • Market structure invalidation

  • ATR-normalized distance

  • Fixed RR ratio

7. Trailing Stop Based on Risk-Reward Progress

Once a position is active, a Risk-Reward–based trailing stop is applied:

  • Trailing activates after price reaches a predefined fraction of the TP distance

  • Stop Loss is moved progressively toward breakeven and beyond

  • Trailing logic is symmetric for buy and sell positions

This approach:

  • Protects partial profits

  • Allows winners to extend

  • Avoids premature stop-outs caused by noise

8. Visual Feedback

When a trade setup is created:

  • A Fibonacci object is drawn on the chart

  • The object is automatically removed once all trades and pending orders are cleared

This helps visually confirm:

  • Market structure

  • Entry logic

  • Retracement validity

9. Summary of the Methodology

In summary, this strategy follows a hybrid AI + rule-based methodology:

  1. AI classifies market structure using normalized, context-aware features

  2. High-confidence predictions are filtered by trend direction

  3. Trades are executed only at Fibonacci pullbacks within structure

  4. Risk is controlled using fixed RR and structural stop placement

  5. Profits are managed dynamically using RR-based trailing stops

The result is a disciplined, structure-driven trading system that uses AI for decision support rather than blind automation.

TrendMomentumEA

TrendMomentumEA is a professional Expert Advisor for MetaTrader 5 designed to trade trending and momentum moves in the market using a combination of EMA, RSI, and Stochastic indicators. It is optimized for high-probability trades during the London and New York trading sessions.

Key Features
  • Trend Detection: Trades only when price is above EMA50 and EMA200 for buys, and below EMA50 and EMA200 for sells.

  • Momentum Confirmation: Uses RSI and Stochastic %K/%D crossovers to confirm entry signals.

  • Candle Confirmation: Trades are opened only after the last closed candle meets trend and momentum criteria.

  • Session Filter: Automatically trades only during London and New York sessions (configurable by broker server time).

  • Position Management: Only opens one trade at a time per symbol and Magic Number to avoid conflicts.

  • Risk Management: Configurable lot size, stop loss, and take profit.

How It Works
  1. The EA monitors the last closed candle to identify the current trend using EMA50 and EMA200.

  2. If a trend exists, it checks RSI levels and Stochastic crossover for momentum confirmation.

  3. Once all conditions are met, it opens a buy or sell trade with pre-defined stop loss and take profit.

  4. Trades are filtered by session, ensuring the EA only operates during high liquidity periods.

Recommended Settings
  • Symbols: Major Forex pairs (EURUSD, GBPUSD, USDJPY), indices, commodities.

  • Timeframes: M15, H1 are ideal; compatible with other timeframes.

  • Input Parameters:

    • EMA50 and EMA200 periods

    • RSI period and thresholds

    • Stochastic %K, %D, and slowing

    • Stop Loss and Take Profit in points

    • London and New York session times

Advantages
  • Avoids trading in sideways markets by combining trend and momentum filters.

  • Reduces risk with Magic Number filtering and single-position logic.

  • Works on any MT5 broker, supporting 3-, 4-, or 5-digit quotes.

Notes & Disclaimer
  • Ensure broker server time is aligned with session inputs.

  • Test on a demo account before live trading.

  • Designed for trend-following and swing trades, not scalping.

  • Past performance does not guarantee future results.

Position Size Pro Lite: Interactive Risk Calculator Panel

Basic Risk Calculator is a professional trading utility designed to solve the most common problem in manual trading: Position Sizing. Instead of guessing your lot size, this tool calculates the exact volume you need based on your specific risk appetite, ensuring you never over-leverage your account.

🎯 WHAT IT DOES A sleek, on-chart control panel that instantly calculates your lot size. It takes your account balance, preferred risk percentage, and stop loss distance to give you a precise volume for your next trade.

KEY FEATURES

  • Real-time Position Sizing: Calculate lots instantly as you type.

  • Automatic Balance Detection: Pulls your current account balance automatically.

  • Dynamic Pip Valuation: Works on all symbols (Forex, Gold, Oil, Indices) by calculating the specific tick value.

  • Safety Lot Rounding: Rounds lot sizes to your broker's specific "Lot Step" (e.g., 0.01).

  • Interactive GUI: A clean, draggable panel that doesn't clutter your chart.

  • Risk in Currency: See exactly how many dollars (or your account currency) you are risking.

  • Zero Lag: Lightweight, event-driven code that won't slow down your platform.

🛡️ SAFETY FIRST The calculator ensures that the lot size never exceeds your broker's maximum allowed volume and never goes below the minimum lot size, preventing execution errors.

💡 PERFECT FOR ✓ Manual traders, Scalpers, and Day Traders. ✓ New traders learning the importance of the "1% Risk Rule." ✓ Prop Firm traders who must stay within strict drawdown limits.

  1. Price Mode Toggle: Switch instantly between Live Current Price or Specific Price entry for pending orders.

  2. Auto-Refresh System: Real-time updates every 2 seconds with a dedicated ON/OFF toggle.

  3. Risk Preset Buttons: Instant 1%, 2%, and 3% buttons—no more manual typing.

  4. Take Profit Calculator: Full profit potential display based on your TP pips.

  5. Risk:Reward Ratio: Live display of your R:R Ratio (e.g., 1:2.00) for every trade.

  6. Tick-Sync Technology: In Current Price mode, the entry price updates automatically with every market tick.

  7. Premium UI: Polished, larger dashboard (280x480) with a professional Navy/SeaGreen color scheme.

  8. SL Price Field: Dedicated input for exact stop loss price levels.

  9. Smart Workflow: Read-only fields auto-lock/unlock based on your selected mode for a mistake-proof experience.

🚀 SUPER EASY TO USE

  1. Drag the EA onto any chart.

  2. Enter your Risk % and SL in Pips.

  3. Click CALCULATE.

📥 INSTALLATION INSTRUCTIONS

  1. Download the .mq5 file.

  2. In MT5, press F4 to open MetaEditor.

  3. Right-click the Experts folder -> Open Folder.

  4. Copy the file into this folder and Refresh the Navigator in MT5.

  5. Attach to chart; ensure "Algo Trading" are enabled.

TESTED & RELIABLE 100% accurate tick value calculations for Forex, Metals, and CFDs.

⭐⭐⭐⭐⭐ PLEASE RATE IF HELPFUL! ⭐⭐⭐⭐⭐ If this calculator saves you time, please leave a 5-star review to support more free tools!

Trading strategy Heads or Tails

The trading strategy “Head or Tail” belongs to the category of high-risk short-term trading approaches, primarily used on the stock market and Forex. Its name is due to the randomness of decision-making, similar to flipping a coin (“heads” — buy an asset, “tails” — sell). This strategy is based solely on intuitive decisions or random signals and ignores fundamental market analysis factors.

How does the strategy work?

The strategy operates as follows:

  1. Instrument selection: the trader chooses a financial instrument (stock, currency, commodity).
  2. Decision-making: the decision to buy or sell is made randomly, for example, by flipping a coin or using another method to choose between two possible actions.
  3. Trade closure: the trade is automatically closed after a predetermined time or when a certain profit or loss level is reached.

This strategy does not require a deep understanding of market mechanisms and analytics, but it also does not involve a serious approach to risk management.

Disadvantages of the strategy:
  1. High risk level:
    • Relying solely on luck significantly increases the probability of losses. The strategy ignores any objective indicators and recommendations, increasing the chances of capital loss.
  2. Lack of risk control:
    • Since buying or selling occurs randomly, there is no possibility of rational capital management, risk assessment, or asset allocation.
  3. Impossibility of long-term success:
    • Even if individual trades are profitable due to luck, in the long term, this strategy is more likely to lead to significant losses.
  4. Short-lived results:
    • Positive outcomes are possible only under favorable market conditions and with a large number of small successful trades, which is rarely encountered in practice.
Application of the strategy:

This strategy is more suitable for beginners who want to familiarize themselves with the principles of exchange platforms and try trading without deep knowledge of technical analysis. However, professionals rarely use this strategy, preferring scientifically based approaches that take into account price behavior, trading volume, and fundamental company indicators.

For experienced investors, this strategy represents more of an experimental method for testing hypotheses rather than a stable way to earn money.

Thus, although the strategy is simple and accessible to every beginner, it carries significant risks and has almost no chance of providing stable income in the long term.

Let's examine the main block of the random position opening signal:

Here, the condition checks for the absence of open positions. Variable b represents the number of long ("buy") positions, and variable s represents the number of short ("sell") positions. If the sum of both is zero (b + s = 0), it means there are no open positions.

Inside the previous block, a random number is checked. The function ::MathRand() generates a pseudo-random number from 0 to 32767 inclusive. This number is then divided by 2 (% 2) — if the remainder is 0, the next block is executed.

If the random number is even (remainder of division by 2 is 0), the trading robot opens a long position (purchase) with a volume of iLots. After successfully opening the position, the function execution is interrupted by the return operator.

If the random number was odd (remainder of division by 2 is not zero), a short position (sale) with a volume of iLots is opened, and further execution of the function is also terminated.

Final logic of the fragment:

  • It checks whether the trader has any open positions.
  • If there are no open positions, a random direction for the trade is chosen: either a purchase (long) or a sale (short).
  • The opened trade automatically stops further execution of the function.

Thus, this code represents the simplest example of an algorithm that makes a decision to open a position on the market randomly.

For a detailed line-by-line analysis of the code, you can visit the blog post:

RiskSizer Panel Lite MT5 - Risk Percent Lot Calculator With One Click Buy Sell

RiskSizer Panel Lite (MT5) — Risk% Lot Calculator + One-Click BUY/SELL

RiskSizer Panel Lite is a lightweight MT5 trading panel that helps you calculate an estimated lot size from a fixed risk percentage of your account balance, using two draggable horizontal lines on the chart as your SL/TP zone. It also includes one-click BUY/SELL execution for fast manual trading.

Key Features
  • Risk-based lot sizing by % of Account Balance.
  • Two draggable chart lines (LOW / HIGH) to define your SL and TP levels quickly.
  • One-click trading: BUY / SELL.
  • Editable Risk%:
    • Click the Risk% box and type your value
    • Enter = Apply, Esc = Cancel
    • Use + and - buttons for quick adjustment (step size configurable)
  • Live preview on the panel:
    • Symbol
    • Spread (points)
    • Risk money (account currency)
    • Calculated BUY lot / SELL lot
    • LOW/HIGH line prices
  • Reset button to restore default SL/TP line distances around current price.
  • Optional Max Spread filter to block trades when spread is too high.
How It Works
  • The panel uses two horizontal lines on the chart:
    • LOW line = lower price line
    • HIGH line = higher price line
  • BUY logic: Entry = Ask, SL = LOW line, TP = HIGH line (only if HIGH > Ask)
  • SELL logic: Entry = Bid, SL = HIGH line, TP = LOW line (only if LOW < Bid)
Inputs / Parameters
  • Risk % per trade (InpRiskPercent)
  • Risk step (InpRiskStep)
  • Default SL points (InpDefaultSL_Points)
  • Default TP points (InpDefaultTP_Points)
  • Max spread (points) (InpMaxSpread_Points) — 0 disables the filter
  • Deviation (points) (InpDeviation_Points)
  • Magic number (InpMagic)
  • UI refresh (ms) (InpUiRefreshMs)
Notes
  • This is a Lite tool designed for simplicity and fast manual execution.
  • Risk is calculated from Account Balance (not Equity).
  • Lot sizing engine is intentionally simplified (approximate calculation for universal symbols).
  • Please test on a demo account before using on real accounts.

    If you find this utility helpful, feel free to leave feedback and suggestions.

    Larry Williams XGBoost Onnx

    📋 User Manual: Larry Williams AI-Filtered EA

    This Expert Advisor (EA) combines the classical Larry Williams Outside Bar strategy with an Artificial Intelligence (ONNX) filter. It uses mechanical price action to find setups and AI to predict the probability of a successful trade.

    1. File Preparation (Crucial)

    For the EA to initialize correctly, you must place your pre-trained machine learning model in the correct directory:

    • Filename: larry_model.onnx (or the name specified in the inputs).

    • Path: MQL5 > Files > larry_model.onnx

    • Requirement: The EA will fail to start ( INIT_FAILED ) if the file is missing from this folder.

    2. Input Parameters

    3. Trading Logic & Strategy Phase 1: Mechanical Detection

    At the opening of every new bar, the EA checks for an Outside Bar (the current candle's High is higher than the previous, and the Low is lower than the previous).

    • Bullish Signal: Price closes above the previous bar's High.

    • Bearish Signal: Price closes below the previous bar's Low.

    Phase 2: AI Validation

    If an Outside Bar is detected, the EA extracts 10 Data Features (Body size, Relative Range, ATR, Volume change, Day of the week, Hour, etc.) and sends them to the larry_model.onnx model.

    • The EA executes a BUY if the AI probability for Class 1 (Buy) > InpThreshold .

    • The EA executes a SELL if the AI probability for Class 2 (Sell) > InpThreshold .

    Phase 3: Trade Management
    • Stop Loss (SL): Placed at the Low (for Buy) or High (for Sell) of the signal candle.

    • Take Profit (TP): Calculated automatically based on the InpRR ratio.

    • Frequency: The EA only allows one open position at a time.

    4. Technical Requirements for the ONNX Model

    If you are training the model in Python (Scikit-Learn, PyTorch, etc.), ensure the output matches the EA requirements:

    1. Output Node 0: Predicted Label (Long).

    2. Output Node 1: Probabilities (Float array of 3 classes: [Neutral, Buy, Sell]).

    3. Feature Order: The data must be fed in the exact order defined in the CalculateFeatures function (Body Size, Rel Range, Bull/Bear flag, ATR, Rel ATR, Day, Hour, Vol Change, Prev Direction).

    5. How to Deploy & Training self
    1. unzip larry_william.zip

    2. run command pip install -r requirements.txt

    3. open metatrader 5 first

    4. run python download_csv_metatrader5.py

    5. run python train_larry_williams.py

    6. run python convert_onnx_larry.py

    ProMart

    An Expert Advisor opens position using two indicators. It reverts the position in the case of loss. It uses a martingale with the limited number of doublings. The doublings can be disabled.

     Input parameters:

    • DML- amount of money, used for 1 lot;
    • Ud - number of doublings. It starts from 0 - no doublings;
    • Stop - stop loss in points;
    • Tp - take profit in points;
    • Slipage - slippage in points;
    • MACD1Fast - Fast of MACD, used for the entry;
    • MACD1Slow - Slow ЕМА;
    • MACD2Fast - Fast ЕМА of MACD, used to determine the trend;
    • MACD2Slow - Slow ЕМА.
    Testing results:

    Perceptron With 5 indicators

    Using Perceptron Model: 5 NN working with 5 indicators, each NN user a diferent combination os indicators.

    • NN1 = IND2, IND3, IND4, IND5;
    • NN2 = IND1, IND3, IND4, IND5;
    • NN3 = IND1, IND2, IND4, IND5;
    • NN4 = IND1, IND2, IND3, IND5;
    • NN5 = IND1, IND2, IND3, IND4.

    1 NN working with the 5 NN´s. Each NN and each IND has a Height, where this indicate if the signal of this IND/NN is good or not.

    EX:order buy
    • NN1 indicated buy;
    • NN2 indicated buy;
    • NN3 indicated Sell;
    • NN4 indicated buy;
    • NN5 indicated Sell.
    So is the result of each NN, in the end, after many operations, the system will hitting the best combination of indicators and NN.

    In a back test there is a period of learning, which soon after begins to generate profit.

    not use for live trading!! just for learning,

    Simple Expert Advisor based on the Simple Moving Average and ADX

    This simple Expert Advisor uses and indicators, as considered in the article "".

    It differs from the EA of the article, it doesn't control already opened positions.

    It shows the best results for 30mins, 1H, и 2H.

    Backtest result: