Hi,
Wrote this coded to show the pattern shown in pic, it doesnt work.
what wrong am i doing ? pls help
used conditional wizard to create the pattern. ols check the pic as well. thank you
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot =
IsDown[1] and
IsDown[0] and
close[1] < close[0] and
open[1] >= open[0] and
low[0] is equal to Lowest(low[0], 2);
PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
PatternPlot.SetDefaultColor(GetColor(6));
Wrote this coded to show the pattern shown in pic, it doesnt work.
what wrong am i doing ? pls help
used conditional wizard to create the pattern. ols check the pic as well. thank you
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot =
IsDown[1] and
IsDown[0] and
close[1] < close[0] and
open[1] >= open[0] and
low[0] is equal to Lowest(low[0], 2);
PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
PatternPlot.SetDefaultColor(GetColor(6));