doji . traders would enter a long position when the price breaks above the top of the doji candle and use a candle close below as a stop level. the picture of $cat shows doji candlesticks to the upside and downside. the first example shows a doji at the base of a falling wedge p...
first range: this is done after the pattern recognition * when avgPeriod is not 0, that means "compare with the previous candles" (it excludes the current candle) */ BodyPeriodTotal += TA_CANDLERANGE( BodyDoji, i-2 ) - TA_CANDLERANGE( BodyDoji, BodyTrailingIdx ); i++; BodyTrailing...
Instead of the standard procedure of candles translated from basic open-high low-close criteria, prices are smoothed to better indicate trending price action according to this formula:Open = (Open of previous bar + Close of previous bar) / 2 Close = (Open + High + Low + Close) / 4 ...