Download MetaTrader 5

Higher high and lower low indicator

To add comments, please log in or register
Find out the latest MQL5.community news!
Sebastian Niemiec
930
Sebastian Niemiec 2015.04.11 00:59 

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 2015.04.11 01:53  

Use Fractals indicator as well as 50 period SMA

Francis Dogbe
9501
Francis Dogbe 2015.04.11 09:20  
try this codebase. You are welcome. Hahahaha
Krzysztof Lorenc
8352
Krzysztof Lorenc 2015.04.11 10:06  

What about zigzak?

Sebastian Niemiec
930
Sebastian Niemiec 2015.04.11 10:58  

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
18949
Alexander Voronkov 2015.04.12 22:58  
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
18949
Alexander Voronkov 2015.04.12 23:08  
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
930
Sebastian Niemiec 2015.04.13 07:33  
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