hi @ all how to make an indicator reverse ? HLPPls

 

Hi @ all. i created an indicator, but in reason of creating an ea, i need some help.



The indicator is based on HighestHigh and LowestLow. but i want that it shows only the lowest low if close was crossing over highesthigh and

showing only highest high if close was crossing under lowest low.


Can anybody give me a advice how to do this.



Thanks and have a nice day...

Files:
hilom.mq4  3 kb
 
bankazubi:

Hi @ all. i created an indicator, but in reason of creating an ea, i need some help.



The indicator is based on HighestHigh and LowestLow. but i want that it shows only the lowest low if close was crossing over highesthigh and

showing only highest high if close was crossing under lowest low.


Can anybody give me a advice how to do this.



Thanks and have a nice day...

 

yellow is highest high --> if close is under yellow dash (closebuy)

blue is lowest low --> if close is over blue dash (closesell)

 

Reason: