Rejoignez notre page de fans
CDonchian class - bibliothèque pour MetaTrader 5
- Vues:
- 21068
- Note:
- Publié:
- 2014.04.25 14:52
- Mise à jour:
- 2016.11.22 07:32
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Uses the idea of the classical Donchian channel.
The class is optimized by speed, i. e. instead of 2 for loops, 1 while loop is executed.
The class sample requires the following:
- Fill in the arrays: double in_masH[], double in_masL[];
- Set variable values: int in_period (number of bars in the period), int in_size (size of arrays);
- Perform the procedure ini() to initialize the arrays;
- Perform the procedure void main(), which forms 2 arrays (channels): double out_massH[],double out_massL[],
An example of class use is available in the indicator Donchian.mq5
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/2271
The FisherCGOscillator_Signal indicator shows information on the current trend using the values of the FisherCGOscillator indicator with a fixed timeframe.
TrendRSI_v1The RSI oscillator with two signal lines.
A set of support and resistance levels built on the last tops of GannZIGZAG_HTF with an option of fixing the timeframe, on which the zigzag is calculated.
XD-RangeSwitch_HTFThe XD-RangeSwitch indicator with the timeframe selection option available in input parameters.