Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Bibliothèque

Basic Library to Create Volume Profiles - bibliothèque pour MetaTrader 5

Vues:
1000
Note:
(4)
Publié:
2024.05.11 15:10
Mise à jour:
2024.05.11 15:30
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

This library provides a few simple public methods to create and plot Volume Profiles:

class VolumeProfile
  {
...
public:
   void              VolumeProfile(datetime _from, datetime _to);
                    ~VolumeProfile() {};
   double            GetHVPrice();
   void              Plot();
...
  };

  • GetHVPrice returns the price that is related to highest volume in the range.

Here is a sample script to instantiate and plot a desired Volume Profile:

#include <VolumeProfile.mqh>
void OnStart()
  {
      datetime from=iTime(_Symbol, PERIOD_CURRENT,50);
      datetime to=iTime(_Symbol, PERIOD_CURRENT,20);
      VolumeProfile *VP = new VolumeProfile(from, to);
      VP.Plot();
      Print(VP.GetHVPrice());
      delete VP;
  }

Volume Profile

Breakout Strategy with Prop Firm Helper Functions Breakout Strategy with Prop Firm Helper Functions

This is an update of the "Simple Yet Effective Breakout Strategy". In this code, I have added some helper functions for prop firm challenges.

Click on the market chart to create a price alert Click on the market chart to create a price alert

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts.

Trap News MT5 Trap News MT5

Script For Trap News High Impact

MACD Signals MACD Signals

Indicator edition for new platform.