MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Money-Making Algorithms Employing Trailing Stop Money-Making Algorithms Employing Trailing Stop Shadow FlameShadow Flame Try product
Shadow Flame
Author: Tarion
ZigZag on Parabolic + Fibo + Channel Indicator
ZigZag on Parabolic + Fibo + Channel
Author: GODZILLA
Screenshot
EURUSD, D1
Demo
Subscribe to signal
Trajecta Labs MT5CSDX5
524.22%, 62 422.30 USD

InitSpread

Initalizes the Spread timeseries.

bool  InitSpread(
   CIndicators*  indicators    // pointer
   )

Parameters

indicators

[in]  Pointer to collection of indicators and timeseries.

Returned value

true if successful, otherwise false.

Note

The Spread timeseries is initialized only if Expert Advisor uses the symbol/timeframe, different from the symbol/timeframe defined at initialization (and timeseries is used further).


Updated: 2011.07.26