Tweezers
Click the file above to Download.
NOTE: For easy import into your charts, save to some where that you will be able to remember, for example your computer's desktop. Be sure to save using .alt as the file extension.
Copy to Clipboard Local WM = 0.5 Local CurMinOpnCls Local PrevMinOpnCls Local Minimum Local n = 9 Local Check = 0 Local DistM = 0.8 Local CurMaxOpnCls Local PrevMaxOpnCls Local Maximum IF open[0] < close[0] Then CurMinOpnCls = open[0] ELSE CurMinOpnCls = close[0] ENDIF IF open[1] < close[1] Then PrevMinOpnCls = open[1] ELSE PrevMinOpnCls = close[1] ENDIF Minimum = LLV(close[2], 10) IF close[0] < Minimum THEN Minimum = close[0] ENDIF IF (WM*(CurMinOpnCls-low[0])>=Abs(Close[0]-Open[0])) and (WM*(PrevMinOpnCls-Low[1])>=Abs(Close[1]-Open[1])) and (CurMinOpnCls-Low[0]>DistM*Abs(Minimum-Low[0])) and THEN AddBuyEntry ENDIF IF open[0] > close[0] Then CurMaxOpnCls = open[0] ELSE CurMaxOpnCls = close[0] ENDIF IF open[1] > close[1] Then PrevMaxOpnCls = open[1] ELSE PrevMaxOpnCls = close[1] ENDIF Maximum = HHV(close[2], 10) IF close[0] > Maximum THEN Maximum = close[0] ENDIF IF (WM*(high[0]-CurMaxOpnCls)>=Abs(Close[0]-Open[0])) and (WM*(PrevMaxOpnCls-Low[1])>=Abs(Close[1]-Open[1])) and (high[0]-CurMaxOpnCls>DistM*Abs(high[0]-Maximum)) and THEN AddSellEntry ENDIF
Enlarge Chart