Skip to content

not-arslan/fs-trader-offciail-indicator-UP-DOWN-VOLUME-

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FS-Traders Official UpDownVolume Indicator

License: MIT MQL5 MetaTrader 5 Developer FS-Traders

Made By DEV-ARSLAN | FS-Traders Official

A professional volume analysis indicator for MetaTrader 5 that separates bullish and bearish volume into clear visual components.

UpDownVolume Preview

πŸ“Š Description

This indicator provides comprehensive volume analysis by displaying:

  • 🟒 Green bars: Volume for bullish candles (close > open)
  • πŸ”΄ Red bars: Volume for bearish candles (close < open) - displayed as negative values
  • 🟑 Yellow line: Delta (net difference between up and down volume)

✨ Features

  • πŸ“ˆ Real-time volume analysis with professional visualization
  • 🎯 Uses real volume when available, intelligently falls back to tick volume
  • πŸ–₯️ Clean separate indicator window display
  • ⚑ Optimized calculation with proper buffer management
  • 🎭 Smart handling of doji candles (open = close)
  • πŸ”§ Easy installation and configuration
  • πŸ“± Compatible with all timeframes and symbols

πŸ“ Project Structure

πŸ“¦ fs-traders-updown-volume-indicator/
β”œβ”€β”€ πŸ“„ UpDownVolume.mq5          # Main indicator source code by DEV-ARSLAN
β”œβ”€β”€ πŸ§ͺ TestUpDownVolume.mq5      # Test EA for validation
β”œβ”€β”€ πŸ“– README.md                 # This documentation
β”œβ”€β”€ πŸ“‹ LICENSE                   # MIT License
β”œβ”€β”€ 🚫 .gitignore               # Git ignore rules
└── πŸ“‚ docs/                     # Documentation assets
    └── πŸ–ΌοΈ preview.png           # FS-Traders indicator preview

πŸš€ Quick Start

Prerequisites

  • MetaTrader 5 platform
  • Basic knowledge of MT5 indicator installation

Installation

Method 1: Download Release (Recommended)

  1. Go to Releases and download the latest version
  2. Extract the files to your MT5 data folder:
    MT5 Data Folder/MQL5/Indicators/
    
  3. Restart MetaTrader 5

Method 2: Build from Source

# Clone the repository
git clone https://github.com/fs-traders/fs-traders-updown-volume-indicator.git

# Navigate to project directory
cd fs-traders-updown-volume-indicator

# Copy source file to MT5 indicators folder
# Then compile using MetaEditor (F7)

Usage

  1. Apply to Chart

    • Open any chart in MT5
    • Navigate: Insert β†’ Indicators β†’ Custom β†’ FS-Traders UpDown Volume by DEV-ARSLAN
    • Click "OK" to apply
  2. Customize Settings

    • Right-click on indicator β†’ Properties
    • Adjust colors, line widths, and display options

πŸ§ͺ Testing & Validation

Automated Testing

Use the included test EA to verify functionality:

// The TestUpDownVolume.mq5 EA will:
// - Load the FS-Traders UpDownVolume indicator automatically
// - Print volume analysis to Experts log by DEV-ARSLAN's algorithm
// - Validate real-time calculations

Manual Testing Checklist

  • Indicator loads without errors
  • Green bars appear on bullish candles
  • Red bars appear on bearish candles
  • Delta line updates correctly
  • Works across different timeframes
  • Handles doji candles properly

πŸ“ˆ How It Works

Volume Classification Logic

if(close > open)        // Bullish candle
    up_volume = volume;
else if(close < open)   // Bearish candle  
    down_volume = volume;
else                    // Doji candle
    // No volume assigned

Technical Specifications

Property Value
Indicator Type Custom Histogram + Line
Buffers 3 (Up, Down, Delta)
Window Separate indicator window
Volume Source Real volume β†’ Tick volume fallback
Update Mode Real-time on each tick
Memory Usage Optimized buffer management

🎨 Customization

Color Scheme

  • Up Volume: clrGreen (Customizable)
  • Down Volume: clrRed (Customizable)
  • Delta Line: clrYellow (Customizable)

Display Options

  • Histogram bar width: 2px (default)
  • Delta line width: 1px (default)
  • All settings adjustable via Properties dialog

πŸ”§ Development

Building

# Using MetaEditor command line
metaeditor64.exe /compile:"UpDownVolume.mq5"

Code Structure

UpDownVolume.mq5
β”œβ”€β”€ Properties & Settings
β”œβ”€β”€ Buffer Declarations  
β”œβ”€β”€ OnInit() - Initialization
└── OnCalculate() - Main logic

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Follow MQL5 coding standards
  • Add comments for complex logic
  • Test thoroughly before submitting
  • Update documentation as needed

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

πŸ“Š Changelog

v1.0.0 (2025-10-08)

  • ✨ Initial release
  • πŸ“Š Volume separation with histogram display
  • 🎯 Delta calculation and visualization
  • πŸ§ͺ Comprehensive test suite
  • πŸ“– Full documentation

⭐ If this FS-Traders indicator by DEV-ARSLAN helps your trading analysis, please star the repository!


Β© 2025 FS-Traders Official | Made By DEV-ARSLAN

Professional Trading Solutions & Indicators

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MQL5 100.0%