Codes

QEMA percentage for MetaTrader 4

QEMA is the Quadruple Exponential Moving Average. With this small change you can modify the percentage of the quadruple correction respect to the normal EMA

Not Only Spread for MetaTrader 4

Spread, its moving average (EMA), its maximum and minimum, and ticks per second (market speed) in the Comment. The version 1.01 is made with the normal average, instead of the moving average

Simple Max-Min Channel with Slope for MetaTrader 4

Just a Donchian channel with slope. If xslope=0 it becomes the Donchian channel. It uses the moving average of Momentum

Forum

Bars in the virtual hosting

Hello, someone would know tell me what criteria the virtual mql hosting assigns the number of bars per chart? For example I have 65963 bars for USDJPY and only 3933 bars for EURUSD ...Thanks so much

condition

Hi, there are problems to put in the same condition the selection order and the magic number of the same order thus selected? Thanks. if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES) && OrderMagicNumber()==mnumber)