無料でロボットをダウンロードする方法を見る
Twitter上で私たちを見つけてください。
私たちのファンページに参加してください
興味深いスクリプト?
それではリンクにそれを投稿してください。-
他の人にそれを評価してもらいます
記事を気に入りましたか?MetaTrader 5ターミナルの中でそれを試してみてください。
ライブラリ

PeriodBarsHIGH PeriodBarsLOW - MetaTrader 4のためのライブラリ

ビュー:
7254
評価:
(11)
パブリッシュ済み:
2016.04.26 16:16
このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
// Get by the specified time interval 
// ltDatCurBeg  - ltDatCurEnd 
// HIGH 
double PeriodBarsHIGH( datetime ltDatCurBeg, datetime ltDatCurEnd )
{
   int iBarsDayBeg = iBarShift(Symbol(), 0 , ltDatCurBeg,false );  // index of the first bar
   int iBarsDayEnd = iBarShift(Symbol(), 0 , ltDatCurEnd,false );  // index of the last bar
   int indxHighDay = iHighest( Symbol(),0 , MODE_HIGH, (iBarsDayBeg - iBarsDayEnd) , iBarsDayEnd) ; // Get the index of the HIGH bar
   double HighDay  = iHigh(Symbol(),0, indxHighDay); // Get the HIGH value of the High bar 
   return(HighDay);
}
 
 
//
// Get the LOW by the specified range
//
double PeriodBarsLOW( datetime ltDatCurBeg, datetime ltDatCurEnd )
{
   int iBarsDayBeg = iBarShift(Symbol(), 0 , ltDatCurBeg,false );  // index of the first bar
   int iBarsDayEnd = iBarShift(Symbol(), 0 , ltDatCurEnd,false );  // index of the last bar
   int indxLowDay  = iLowest( Symbol(), 0 , MODE_LOW, (iBarsDayBeg - iBarsDayEnd) , iBarsDayEnd) ; // Get the index of the HIGH bar
   double LowDay   = iLow(Symbol(),0, indxLowDay); // Get the LOW value of the High bar
   return(LowDay);
}

MetaQuotes Ltdによってロシア語から翻訳されました。
元のコード: https://www.mql5.com/ru/code/7358

STARCBands STARCBands

The indicator plots a moving average with a Bollinger type envelope.

SHI_SilverTrendSig SHI_SilverTrendSig

The indicator generates buy and sell signals.

Library of functions for singular transformation Library of functions for singular transformation

Have you perhaps heard about the caterpillar? Here it is.... I do not remember where I got the code, I simply translated it from С++ to MQL4.

Signal Bars Signal Bars

This indicator shows the trend from the smaller timeframes up to H4.