Filled R (22) In Function Ind:-22
However in my strategy, when i call this value it prints 0 always .
Print("values25R:" + fvgIndicator.Values[25][0])
What am i missing?
function inside indicator:
else if (fvg.type == FVGType.S && (FillType == FVGFillType.CLOSE_THROUGH ? (Closes[iDataSeriesIdx][0] <= fvg.lowerPrice) : (Lows[iDataSeriesIdx][0] <= fvg.lowerPrice)))
{
if (DrawObjects[fvg.tag] != null)
{
fvg.filled = true;
fvg.fillTime = Times[iDataSeriesIdx][0];
filled.Add(fvg);
// Values[25][0] = -2;
Debug("FILLED SUPPORT" + Time[0]);
if(lastS == null)
lastS = fvg;
else{
if(fvg.gapStartTime > lastS.gapStartTime)
lastS = fvg;
Values[25][0] = -22;
Print("Filled S (-22) In Function Ind:"+Values[25][0]);

Comment