Add(PeriodType.Minute,15);
CalculateOnBarClose = true;
=============================
This doesn't compile
//protectedoverridevoid OnBarUpdate() section
if (Stochastics(3, 5, 2).K[0] < 25 && Stochastics(BarsArray[1],(3, 5, 2).K[0]) < 25 )
DrawDiamond("My diamond" + CurrentBar, false, 0, Low[0] + -2 * TickSize, Color.Blue);
I need the barsarray statement above
====================================
This is OK but doesn't make sense
if (Stochastics(3, 5, 2).K[0] < 25 && Stochastics(3, 5, 2).K[0]) < 25 )
DrawDiamond("My diamond" + CurrentBar, false, 0, Low[0] + -2 * TickSize, Color.Blue);
Thank you,
Duke
Comment