need high low swing indicator

 
i need high low swing indicator with good accuracy if any one have kindly share me source code file thank you in advance
Reason: