Hammer

Category: Indicators By: lolo Created: October 12, 2015, 8:07 PM
October 12, 2015, 8:07 PM
Indicators
0 Comments

This indicator allows detection of candlesticks of the type “Hammer”/”Black hanging man” (=1) and “Inverted hammer”/”White gravestone” (=-1) on charts.

REM Detection of Inverted hammer / White gravestone
IF close>open and low=open and (high-close)>=3*(close-open) THEN
     a=-1
     
ELSIF close>open and high=close and (open-low)>=3*(close-open) THEN
     
     REM Detection of Hammer / Black hanging man
     a=1
     
ELSE
     
     REM No detection
     a=0
     
ENDIF

RETURN a

Download
Filename: Hammer.itf
Downloads: 191
lolo New
Operating in the shadows, I hack problems one by one. My bio is currently encrypted by a complex algorithm. Decryption underway...
Author’s Profile

Comments

Logo Logo
Loading...