Hi guys,
I have try to use iMAOnArray on ATR Value and I think it does not work. Can you guys help me here. Below is the code example
for(Count=Limit;Count>20;Count--)
{
ATRValueArray[Count] = iATR(NULL,0,20,Count);
}
ATRMAValue = iMAOnArray(ATRValueArray,0,20,0,MODE_SMA,0
I've coded an indicator to show me the reading but I think I didn't find the expected number that is coming out.
How could I properly programmed it?
I have try to use iMAOnArray on ATR Value and I think it does not work. Can you guys help me here. Below is the code example
for(Count=Limit;Count>20;Count--)
{
ATRValueArray[Count] = iATR(NULL,0,20,Count);
}
ATRMAValue = iMAOnArray(ATRValueArray,0,20,0,MODE_SMA,0
I've coded an indicator to show me the reading but I think I didn't find the expected number that is coming out.
How could I properly programmed it?
Be young. But don't be foolish. Study history! - Curtis Faith