Download MetaTrader 5

Higher high and lower low indicator

To add comments, please log in or register
Sebastian Niemiec
815
Sebastian Niemiec  

Hi.

I'm looking for the mt4 indicator that will identify the bar (candle) which has higher high (HH) and lower low (LL) then the previous bar. Thank you for any help. 

robert oliphant
11
robert oliphant  

Use Fractals indicator as well as 50 period SMA

Francis Dogbe
9729
Francis Dogbe  
try this codebase. You are welcome. Hahahaha
Krzysztof Lorenc
10883
Krzysztof Lorenc  

What about zigzak?

Sebastian Niemiec
815
Sebastian Niemiec  

Maybe I did not make myself clear but thats not what I'm looking for. 

I was asking about indicator that points a candle in the chart (one single candle) that has BOTH - higher high AND lower low when compared to the previous candle (one previous candle) - in other words - engulfs the previous candle.

Thanks.

Alexander Voronkov
24739
Alexander Voronkov  
Zireal:

Maybe I did not make myself clear but thats not what I'm looking for. 

I was asking about indicator that points a candle in the chart (one single candle) that has BOTH - higher high AND lower low when compared to the previous candle (one previous candle) - in other words - engulfs the previous candle.

Thanks.

   if( high[i+1] > high[i] ) BH = true;
   if( low[i+1] > low[i] ) BL = true;

   if( BH == true && BL == true )  Previous_Bar[i+1] = ...;
Alexander Voronkov
24739
Alexander Voronkov  
Zireal:

Maybe I did not make myself clear but thats not what I'm looking for. 

I was asking about indicator that points a candle in the chart (one single candle) that has BOTH - higher high AND lower low when compared to the previous candle (one previous candle) - in other words - engulfs the previous candle.

Thanks.

   if( high[i+1] > high[i] && low[i+1] > low[i] )
   {
      Previous_Bar[i+1] = ...;
   }
Sebastian Niemiec
815
Sebastian Niemiec  
Fillellin:

Thanks for your help, but unfortunately I'm not a programer and I don't know what to do with that... :(

Can you do some magic and "build" an indicator from that please?  Thx. 

To add comments, please log in or register