supertiti

Engulfing Pattern DID PRC

Category: Indicators By: supertiti Created: June 6, 2016, 8:24 AM
June 6, 2016, 8:24 AM
Indicators
2 Comments
Engulfing Pattern DID PRC

GB Hello everyone,

There are some time Doctrading offered us a code to detect inclusive, being not quite agree with this code because according to Steve Nison we take into account only as candles body here so my vision of the thing:

FR Bonjour à tous,

Il y a quelques temps Doctrading nous a proposé un code pour détecter les englobantes , n’étant pas tout à fait d’accord avec ce code car selon Steve Nison on ne tient compte exclusivement que des corps de bougies voici donc ma vision des chose :

// ENGULFING DID PRC  d’après Doctrading

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

return ENGULFING

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

Comments

swapping
9 years ago
#

ce n'est pas le bon endroit mais je n'ai pas eue de difficulté pour ajouter une image externe (à l'attention de supertiti ...) cordialement

Gian65
9 years ago
#

Hi I downloaded your indicator, and checked the pattern engulfing, but I think you should change the code because it takes into account 5 numbers after the comma and not 4 or in the case of pairs with the Jpy 2 values after the comma. According to me the code so many incorrect engulfing out. Do you agree ?

ProRealCode ProRealCode
Loading...