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
- Vues:
- 6813
- Note:
- Publié:
- 2021.06.20 13:50
- Mise à jour:
- 2021.06.20 15:27
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Description
Measures current bar's Moving Average Speed, in relation to the average of # (averaging period) past bars.
This oscillator can be visually described with Speed Indicator.
Calculations
CurrentBar's speed / Mean speed of past # bars
AvgPosBuffer[i] = pos_sum/InpSPeriod; AvgNegBuffer[i] = neg_sum/InpSPeriod; if(ExtMABuffer[i] - ExtMABuffer[i-1]>0) { SO[i] = (ExtMABuffer[i]-ExtMABuffer[i-1]) / AvgPosBuffer[i]; } else if(ExtMABuffer[i] - ExtMABuffer[i-1]<0) { SO[i] = -((ExtMABuffer[i]-ExtMABuffer[i-1]) / AvgNegBuffer[i]); } else { SO[i] = 0; }
Example
Moving Average (9)
Averaging Period (120)
![Fibonacci Expansion with Custom Values](https://c.mql5.com/i/code/script.png)
This script draws Fibonacci Expansion OBJ_EXPANSION with options to add your own custom values
![Fibonacci Fan with Custom Values](https://c.mql5.com/i/code/script.png)
This script draws Fibonacci Fan OBJ_FIBOFAN with options to add your own custom values
![Risk Reward Tool](https://c.mql5.com/i/code/script.png)
Risk Reward Tool calculates Risk reward like 1:2 1:3 1:4 and 1:5
![closing partially script and Stop loss to Break Even point](https://c.mql5.com/i/code/script.png)
closing partially script and Stop loss to Break Even point