私たちのファンページに参加してください
NormalizePrice - MetaTrader 4のためのライブラリ
- ビュー:
- 5971
- 評価:
- パブリッシュ済み:
- 2009.01.12 07:34
- アップデート済み:
- 2014.04.21 14:53
- このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
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.
MetaQuotes Ltdによってロシア語から翻訳されました。
元のコード: https://www.mql5.com/ru/code/8575
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 TraderEA is setup to use higher time frames for trend identification and lower time frames for entries/exits.
A package of libraries with the file functions for working without the limitations in any directories.
OpenTiksThe indicatorless system based on the analysis of 4 previous bars.