I am struggling since months already with a piece of code related to Series<T>.Allow me to start with pieces of codes:
myRSI[0] = RSI()[0]; myFirstBuf[0] = WMA(myRSI, Period1)[0] mySecondBuf[0] = SMA(myRSI, Period2)[0];
From here, I add a condition as followed:
if(myFirstBuf[1] < mySecondBuf[1] && myFirstBuf[0] > mySecondBuf[0])
{
mySwingLow[0] = MIN(myFirstBuf, 5)[0];
Print(mySwingLow[0] + " >>>>> " + mySwingLow[1] + "--------" + " : " + Time[0]);
}
What could be the problem? What could be wrong in the code?
I would appreciate any help.
Comment