Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

Color Parabolic 2 - indicateur pour MetaTrader 5

Publié par:
Вадим
Vues:
8558
Note:
(24)
Publié:
2010.07.20 09:14
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

Added colors to Parabolic SAR. The color depends on the acceleration factor.

All calculations performed inside the CParabolic class.

The functions:

  • Init(double SARStep, double SARMaximum,const double &high[],const double &low[],int totl) - initialization.
  • GetColor() - gets the color.
  • Calc(const double &high[],const double &low[],int i) - calculates the value of Parabolic at the specified bar.

The code will be useful for all who start to learn classes.

The colors are listed in the line:

#property indicator_color1  Blue,Purple,Indigo,Sienna,SteelBlue,Aqua,SpringGreen,Gold,Yellow,Linen,MintCream

This version uses 10 first colors, but it's better to specify more colors in the list.

Color Parabolic indicator

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/96

The CGV class for working with global variables The CGV class for working with global variables

The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.

iStochasticOfOsc iStochasticOfOsc

The Stochastic of all oscillator-like indicators, included in MetaTrader 5 client terminal.

TimerClosingPeriod v.2 TimerClosingPeriod v.2

The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.

Reversal Bar Reversal Bar

The indicator helps to find the reversal bar of the trend.