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

[amibroker] Plotting discrete values?



PureBytes Links

Trading Reference Links

Hi,
I'm using the following to plot Close values at certain times.

xClosed = IIf(TimeNum() == 090000, ValueWhen (TimeNum() == 
090000,C),IIf(TimeNum() == 190000, ValueWhen (TimeNum() == 
190000,C),IIf(TimeNum() == 030000, ValueWhen (TimeNum() == 
030000,C),Null)));
Plot(xClosed, "",colorBlue, styleLine|styleDots);

The chart plots the dots Ok, but doesn't plot the line connecting the dots. 
I suspect it needs a constant value instead of "Null" if the condition isn't 
true.
Any suggestions on how I can "join the dots"?
cheers 




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/