PureBytes Links
Trading Reference Links
|
hello everybody,
could anybody please explain to me, what I do wrong with this code:
function fSelectDayAgo( n ) {
return IIf( DateNum()==LastValue(ValueWhen(DateNum()!=Ref(DateNum(),1), DateNum(), n)), 1, 0);
}
arrSelectedDay = fSelectDayAgo(1);
PlotShapes( IIf( arrSelectedDay, shapeCircle, shapeNone ), colorGreen ); // <--this doesn't plot anything
//while this does:
Plot( arrSelectedDay, "PP", colorRed, styleHistogram+styleOwnScale);
why plotshapes(..) doesn't plot shapes?
regards,
BM
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|