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
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

Logo Logo
Loading...