Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Risk Management EA Based on ATR Volatility - expert for MetaTrader 5

Views:
11073
Rating:
(5)
Published:
Updated:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Key Features

Smart Risk Management

  • Automatic lot size calculation based on account risk percentage
  • Maximum risk cap in monetary value
  • Dynamic stop loss based on ATR volatility
  • Lot normalization according to broker requirements (min/max/step)

Technical Analysis

  • Moving Average Crossover for entry signals
  • ATR Volatility Filter for market volatility measurement
  • Performance optimized - trades only on new bar formation
  • Position verification to avoid duplicate trades

Flexible Customization

  • Risk selection by percentage or fixed value
  • Enable/disable dynamic or static stop loss
  • Adjustable MA and ATR periods
  • Unique magic number for each strategy

Detailed Monitoring

  • Complete position sizing information logs
  • Risk/reward display before order execution
  • Clear error warnings with troubleshooting guidance
  • Comprehensive reports on EA startup/shutdown

Outstanding Advantages

  • Capital safety: Never risks more than allowed
  • 100% automated: From analysis to order execution
  • Optimized code: Minimizes lag, calculates only when needed
  • Broker compliant: Checks stop levels and lot sizes
  • User-friendly: Clear input parameters with descriptions

Suitable For

  • Traders prioritizing strict capital management
  • Trading systems requiring dynamic position sizing
  • Trend-following strategies with MA crossover
  • Accounts wanting to control drawdown




Stoch Cross EA – Buy Below 20, Sell Above 80 (H1) Stoch Cross EA – Buy Below 20, Sell Above 80 (H1)

A simple and effective Expert Advisor based on Stochastic Oscillator reversal signals on the H1 timeframe. Buy signals are triggered when %K crosses above %D below the 20 level. Sell signals are triggered when %K crosses below %D above the 80 level. Risk is calculated based on the account balance, with the lot size set to 0.1 (adjustable as needed). Take Profit (TP) is set to 300 points for all positions. Stop Loss (SL) is dynamically calculated based on the opposite crossover signal. The position is closed when a crossover in the opposite direction occurs, as well as when TP or SL is reached

Brooky Trend Strength for MT5 Brooky Trend Strength for MT5

This indicator calls 3 other subwindow indicators. All files go in your Indicators folder.

Creating a Simple News Filter for XAUUSD Trading on MT5 Creating a Simple News Filter for XAUUSD Trading on MT5

Trading XAUUSD (Gold) is often influenced by major economic news events like USD, GBP, or EUR releases. To mitigate risks during these volatile periods, using a News Filter in your Expert Advisor (EA) is essential. In this article, I’ll share how to create a simple News Filter on MT5 and apply it to XAUUSD trading.

Multi-Day Dynamic VWAP Multi-Day Dynamic VWAP

Dynamic VWAP level which can be averaged over multiple days