HARAMI candlestick detection DID PRC

Category: Indicators By: supertiti Created: June 10, 2016, 8:39 AM
June 10, 2016, 8:39 AM
Indicators
0 Comments

GBHello, here’s a little code to detect Harami bull and bear, remember as thinks Bill Williams to look where is placed the second candlestick, above, in the middle or at bottom of the previous candlestick.

FRBonjour, voici un petit code pour détecter les Harami haussiers et baissiers, n’oubliez pas comme le pense Bill Williams de regarder où est placé le second chandelier, dans le haut,au mileu ou en bas du chandelier précédent.

 

 

// HARAMI DID PRC
HARAMI = 0 

IF close[1]< open[1] and close > open AND close < open[1] AND open > close[1] THEN 
 HARAMI = 1 
ENDIF 

IF close[1]> open[1] and close < open AND close > open[1] AND open < close[1] THEN 
 HARAMI = -1 
ENDIF 

return HARAMI , 0 as " zero "

 

Download
Filename: Harami-detection-DID-PRC.itf
Downloads: 128
supertiti Master
mal nommer les choses est ajouter à la misère du monde --- A. Camus
Author’s Profile

Comments

Logo Logo
Loading...