Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Twitter!
Participe de nossa página de fãs
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Avalie seu funcionamento no terminal MetaTrader 5
- Visualizações:
- 7934
- Avaliação:
- Publicado:
- 2016.04.26 16:16
-
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance
// 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); }
Traduzido do russo pela MetaQuotes Ltd.
Publicação original: https://www.mql5.com/ru/code/7358

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

The indicator generates buy and sell signals.

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.

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