Lesson 7 Price action Ket hop Volume VSA – EA MetaTrader 5

Lesson 7 Price action Ket hop Volume VSA - expert for MetaTrader 5
I. Main function 1. Auto caculate lot size 2. Auto trailling ATR 3. Using volume indicator and moving average indicator 4. Condition buy or sell 2. Backtest. II. Main function code 1. Volume indicator declaration //+——————————————————————+ //| Expert initialization function                                   | //+——————————————————————+ int OnInit()   { if(!m_symbol.Name(_Symbol)) return  INIT_FAILED; // Set Trade parameter trade.SetTypeFillingBySymbol(m_symbol.Name()); trade.SetExpertMagicNumber(m_magicnumber); trade.SetDeviationInPoints(Slippage); //

Basic Library to Create Volume Profiles – library MetaTrader 5

Basic Library to Create Volume Profiles - library for MetaTrader 5
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

Price and Volume Trend (PVT) – indicator MetaTrader 5

Price and Volume Trend indicator
Price and Volume Trend (PVT) indicator, like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes. The calculation algorithm is close to that of the indicator OBV. But in OBV we add the whole daily volume to the current indicator value when close prices are higher, and detract

Volume Rate of Change (VROC) – indicator MetaTrader 5

Volume Rate of Change indicator
Volume Rate of Change (VROC) is an indicator of the direction where the volume trend moves. Its idea lies in the fact that almost all important graphical formations (peaks, bottoms, breaches, etc.) are accompanied by a dramatic increase of trade volume. The indicator is the difference between current bar volume and the volume n periods

A Tool: Peak Volume Counter – EA MetaTrader 4

A Tool: Peak Volume Counter - expert for MetaTrader 4
A Tool: Peak Volume Counter Modification: 70001Edition Date: 2009.06.03Copyright (C) 2009, MetaQuotes Software Corp. https://www.metaquotes.netCopyright (C) 2009, Airat Safin Free Open Source Software AS IS A Tool: Peak Volume Counter   1. A Tool: Peak Volume Counter, or simply AIS7PVC, is an auxiliary program for AIS5 Trade Machine. 2. Main aim of AIS7PVC is to

Price and Volume Trend – indicator MetaTrader 5

Fig.1 The XPVT indicator
The real author: Martingeil A classic Price and Volume Trend, PVT indicator (Price and Volume Trend, PVT) with added signal line. Indicator’s file uses the classes of the SmoothAlgorithms.mqh library. Working with that class was described in details in the article “Averaging price series for intermediate calculations without using additional buffers”. This indicator was first