Jump to content
Medved Trader Forums

CryptoDips

Members
  • Posts

    79
  • Joined

  • Last visited

Posts posted by CryptoDips

  1. 1. ok so how would I code candle body is less than 30%, which would make it a hammer or an inverse hammer candle in the above image???

    Ok you mean the body vs the high/low range?  (Math.Abs(Open-Close)<0.3*(High-Low))


    2. also how would I code if there is a gap between 2 candles like the morningstar 3 candle pattern in the above image?

    for going down: (Open<Math.Min(Open[1], Close[1]))

    3. Also, how would I code a Doji or Spinning Top Candle.

    You would have to clearly define what Doji candle is. If it is one where there are wicks, but no body, it would be something like

    (Open==Close && High>Close && Low<Close)

     

  2. hmm ok so 
    if (Open < Close && Close > High[1] && Open < Low[1] && Open[1] > Close[1])
    1. Does this mean that the previous RED candle will be totally engulfed in the current Green Candle?
    2. How would I scan for a Green Candle with NO Low Wick and Green Candle with NO High Wick (Hoji Candle Pattern)?
    3. How can I scan for candles who's body are less than 20%-30% (Hammer Candle Pattern)?


    Also These are the Images of the Bullish Candlestick Patterns I need... This would be a great help to all that use MT if we can figure out how to succesfully scan these reversal single, two and three candle stick patterns...

    Candlestick-Cheat-Sheet_web-01.jpg

×
×
  • Create New...