PureBytes Links
Trading Reference Links
|
I'm wondering if I can chart an indicator as a bar chart. Although
there is only one value generated, in realtime the indicator itself
has an open, high, low, and close value just like price does. I'd like
to see the indicator's range of movement over the bar interval.
(Provided I'm charting it in realtime.)
In this case I'm wanting to plot the spread between a futures contract
and the cash index. Here's what I've got. The result only plots the
closing value at the end of each bar, and during the creation of the
bar, the value jumps around as it changes.
// Stretch - Squeeze indicator
Prem=Param("Premium",37,0,100,1);
ssC=C-Foreign("INDU-NYSE-IND","Close")-prem +100;
Plot( ssC, "Str-Squ", colorBlue, styleBar | styleThick |styleOwnScale,
96,104);
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|