Hi All,
This is causing me a real headache.
The plot of weekly and/or daily data doesn't align. I'm at a loss.
Suggestions most welcome. Here is the code.
I want to plot any symbol and see the weekly and/or daily plot. First,
I get the weekly variable, then expand to obtain the daily.  Finally I
plot the sybol itself. The symbol and weekly plots are exactly the
same whether timeframe weekly or daily!!!! More confusing, the
expanded plot,....well no idea really as it isn't related at all.  I
must be coding incorrectly. Comments please.  New remarks/banter
welcome. Many thanks.

TimeFrameSet(inWeekly);
wTik = Foreign("XAO", "C");
TimeFrameRestore();

TimeFrameSet(inDaily);
Tik = TimeFrameExpand(wTik,inWeekly,expandLast);

if (Status("action") == actionIndicator )
{
 GraphXSpace  = 10;
 BackGround   = colorBlack;
 Plot(Close,"CLOSE",colorWhite,styleBar);
 Plot(wTik,"wTik",colorBlue,styleDots|styleLine|styleThick);
 Plot(Tik,"Tik",colorSeaGreen,styleLine);
} // End actionIndicator
TimeFramerestore();

Reply via email to