[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] TimeFrameSet(inWeekly)



PureBytes Links

Trading Reference Links

I've set up my graphs with a CCI(3) and an ADX(11) line. I've run an 
exploration with this code:

TimeFrameSet(inWeekly);

myCCI=Cross(0,CCI(3));
myADX=ADX(11)>=25;

Filter=myCCI AND myADX;

AddColumn(CCI(3),"CCI");
AddColumn(ADX(11),"ADX");

For some reason, the numbers for CCI(3) and ADX(11) returned in the 
exploration don't match the numbers on my weekly charts. When I 
remove the "TimeFrameSet" command, the numbers do match on daily 
charts. Can anyone give me a clue as to what I'm doing wrong?

Thank you in advance for your time,

Jeff