Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
![Indicateurs](https://c.mql5.com/i/code/indicator.png)
Simple bar spread indicator as reported by the OnCalculate data - indicateur pour MetaTrader 5
- Vues:
- 3634
- Note:
- Publié:
- 2022.05.01 14:05
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
This is a very simple MQL5 code for an indicator to plot the values of the spread[] data (in points) as reported by the OnCalculate event handler. These are the same spread data values that would be returned when collecting MqlRates data via the CopyRates function.
![Percentage of CLose and iMA prices](https://c.mql5.com/i/code/indicator.png)
The indicator shows the percentage of the 'Close' price above and below the 'iMA' indicator
![Crossover on the current bar](https://c.mql5.com/i/code/indicator.png)
The color indicator shows in a separate window the moment if the intersection of two iMA (MOving Average, MA) was on the current bar
![MA On Stochastic Color N Bars](https://c.mql5.com/i/code/indicator.png)
Colored Stochastic smoothed with iMA (Moving Average, MA)
![MACD Four Colors 2 Martingale](https://c.mql5.com/i/code/expert.png)
Martingale strategy based on custom indicator 'MACD Four Colors 2'