Hi guys Merry Christmas and Happy New Year;
I am a complete novice in this and I'm still very very green and I have a simple question, how can I implement a pattern of Japanese candles? for example, if I have 2 bearish Marubozu followed by a bullish engulfing i go long

Code:
function run()
{
if (CDLMarubozu(3)<0 && CDLMarubozu(2)<0 && CDLEngulfing(1)>0)
enterLong();}



I know that what I have written is not correct, that's why I need your wisdom grin

Last edited by TerRaki0; 12/29/17 10:09.