Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Bibliothèque

NormalizePrice - bibliothèque pour MetaTrader 4

Vues:
5813
Note:
(7)
Publié:
2009.01.12 07:34
Mise à jour:
2014.04.21 14:53
\MQL4\Include\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The function of adduction of the price to the correct form for the given symbol by means of rounding or discarding the excess.

I.e. if one tick is equal to 5 points then we need TakeProfit and StopLoss divisible by 5 for the order.

The NormalizePrice function allows to solve this problem.

It takes the following parameters:

  • price - the price that you need to normalize;
  • round - the method of normalization, if it is true then we adduce the prcie to the closest correct value (round), if it is false then we discard the excessive part (truncate). The true value is the default one.

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

Simple Indicator that Shows MA Moving Direction on All Timeframes Simultaneously Simple Indicator that Shows MA Moving Direction on All Timeframes Simultaneously

The different colored snippets of MA are shown on the current chart depending on the direction of the MA moving at on the chosen timeframes, or they're not drawn at all if the moving on the chosen timeframes is differently directed.

Multi Time Frame Trader Multi Time Frame Trader

EA is setup to use higher time frames for trend identification and lower time frames for entries/exits.

ZI_File_Functions_Full_Lib ZI_File_Functions_Full_Lib

A package of libraries with the file functions for working without the limitations in any directories.

OpenTiks OpenTiks

The indicatorless system based on the analysis of 4 previous bars.