Codes

Directional volatility & volume oscillator for MetaTrader 5

Displays direction of volatility and volume

SMA(no loop) for MetaTrader 5

Fast way to calculate Simple moving average

Force index volatility bands for MetaTrader 4

Force index with Volume/Volatility bands

Directional volatility & volume oscillator for MetaTrader 4

Displays direction of volatility and volume

Corrected moving averages for MetaTrader 4

Corrected moving averages

Relative volume trend for MetaTrader 4

Relative volume trend

Relative price trend for MetaTrader 4

Relative price trend

Clarity Index for MetaTrader 4

Clarity index is a purely volume based indicator which is constructed on basis of volume, range and positive/negative candle count. It reflects the strength of trend with respect to volume

Forum

Job overdue stats increased a lot

I just saw my freelance stats where suddenly overdue numbers has increased from 3 to 8. This is shocking as I clearly remember 3 overdue jobs ( even these were because of client delay but it is okay ) but no more than that exists although I have a job where the client suddenly disappeared ( almost 2

Pointer next to type or before the variable. Should that make a difference?

This works for all variables CArrayDouble *_open = openObj[TFIDX].At( 0 ), *_high = highObj[TFIDX].At( 0 ), *_low = lowObj[TFIDX].At( 0 ), *_close= closeObj[TFIDX].At( 0 ), *_atr = atrObj[TFIDX].At( 0 ); This only

" Go To Definition " doesn't work for Generics Classes

When using the Generics Classes the " Go To Definition " option doesn't seem to work. Although after removing the Function template ( this just occurred to me ), it works. Is this normal or needs fixing

Strange script behavior

I sent a script( ex5 file ) to my client( Freelance ) for demonstrating something. Instead of opening the script is showing something like this( attached screenshot ). Can anyone please help in what might be causing this issue. Note:- It is a very simple script that does not use any external

ChartTimePriceToXY when used in OnChartEvent returns false but provides values.

Strange behavior with ChartTimePriceToXY function. Please check the following code #property copyright "Copyright 2021, PuguForex." #property link " https://www.mql5.com/en/users/puguforex " #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 0

MT5 not throwing zero divide error

The following script code throws zero divide error(experts tab) in MT4 but not in MT5. Is this normal behavior or a bug. void OnStart ( void ) { double div = 0.0 ; double res = 10 /div; Print (res); }

Array of Function Pointers compilation error in MQL5

The below script compiles and works fine in MQL4 but throws compilation error(some operator expected) in MQL5. I hope someone can guide me and help in rectifying the issue. typedef string (*TFunc)( string &text); TFunc funcPtr[ 4 ]; void OnStart () { funcPtr[ 0 ] = A; funcPtr[ 1 ] = B;

Solved - Unable to create a new product draft

I am trying upload a new product to MQL5 market (a free one). After filling the draft and clicking the add button it simply refreshes the page and doesn't save the draft. There are no errors in the draft. Also I have checked in my products page that no draft has been saved. And also I noticed that