PureBytes Links
Trading Reference Links
|
Hello people,
Can someone explain why in the following pivot lines when going from
the monthly chart to the weekly chart there are slight differences
in the end values (shown on the right). BUT, now, on going to the
daily chart the same values that were shown in the monthly view
reappear exactly. So what happens in the weekly view? They are not
changes due to rounding.
The parameter only shows or removes these lines from a chart.
///////////////
Plot(Close,"Close ",colorBlue,styleBar+4);
MH=TimeFrameCompress(H,inMonthly,compressHigh);
ML=TimeFrameCompress(L,inMonthly,compressLow);
MC=TimeFrameCompress(C,inMonthly,compressLast);
MOODot=(MH+ML+MC)/3;
MOOHi=2*MOODot-ML;
MOOLo=2*MOODot-MH;
MM=(MOODot + Ref(MOODot,-1) + Ref(MOODot,-2))/3 ;
METop=(MOOHi + Ref(MOOHi,-1) + Ref(MOOHi,-2))/3;
MEBot=(MOOLo + Ref(MOOLo,-1) + Ref(MOOLo,-2))/3;
mp=TimeFrameExpand(MM,inMonthly);
mt=TimeFrameExpand(METop,inMonthly);
mb=TimeFrameExpand(MEBot,inMonthly);
PM=Param("B) MONTHLY ENVELOPES",1,0,1,1);
if(PM>0)
{
Plot(mp,"MM",colorGold,4) AND
Plot(mt,"METop",colorGold,4) AND
Plot(mb,"MEBot",colorGold,4);
}
else
Null;
GraphXSpace = 1;
///////////////
Thanks a lot,
Herbert
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|