Hedge Trap

Hello, I’m using this method successfully, someone knows something?
Can anyone realize myself mt4 script?
Thank You