Skip to content

Viprasol/mt5-trailing-stop-ea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🤖 MT5 Trailing Stop Expert Advisor

A free MetaTrader 5 (MT5) Expert Advisor that automatically manages open trades with a configurable trailing stop — protecting profits without manual intervention.

Built by Viprasol Tech — custom MT4/MT5 EA development for professional traders.


What It Does

  • Automatically trails stop loss as price moves in your favor
  • Supports fixed pip, ATR-based, and percentage trailing modes
  • Works on any instrument: Forex, indices, commodities, crypto CFDs
  • Push notifications when trailing stop updates
  • Compatible with hedging and netting accounts

Trailing Modes

Mode How It Works
FIXED_PIPS Trail by a fixed number of pips
ATR_BASED Trail based on ATR × multiplier
PERCENT Trail as % of current price

Parameters

Parameter Default Description
TrailMode FIXED_PIPS Trailing method
TrailPips 15 Fixed pip distance
ATRPeriod 14 ATR period
ATRMultiplier 1.5 ATR multiplier
MinProfit 10 Min profit (pips) before trail activates
MagicNumber 0 Only trail trades with this magic (0 = all)

Installation

  1. Download the .mq5 file
  2. Open MT5 → File → Open Data Folder → MQL5/Experts/
  3. Copy the file and restart MT5
  4. Attach to any chart

Need a Custom MT5 EA?

This is a free tool from Viprasol Tech.

We build custom Expert Advisors for any strategy:

  • Strategy automation (any logic, any timeframe)
  • Risk management EAs
  • Multi-account trade copiers
  • MT4 → MT5 migration

👉 Hire an MT5 EA Developer →


MIT License — free to use, modify, distribute.

About

Free MT5 Expert Advisor with dynamic trailing stop. Automatic trade management for MetaTrader 5.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors