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

[amibroker] Overlaying Futures Contracts on the Cash Index Chart



PureBytes Links

Trading Reference Links

I want to plot the individual futures contract data overlaid onto 
the cash index chart.  That way I can see how the futures contracts 
are tracking the index.

---------------------------------------------------------------------
---------------------------------------------------------------------

// Example:

Plot(C,"S&P 500 Index",colorBlack,styleDots | styleThick);

PlotForeign("S&P500_June", "S&P500_June",colorcycle, styleNoTitle | 
styleDots  ); 

---------------------------------------------------------------------
---------------------------------------------------------------------

However, when I do this, after the expiration of a particular 
contract Amibroker takes the last value and then plots a horizontal 
line across the chart.  For example, if the last date of the 
contract was 1/02/05 and the value was 139.5, Amibroker would plot a 
horizontal line at 139.5 starting at 1/02/05 to the present date.

Is there anyway to fix this so after the expiration date of the 
contract nothing is plotted?






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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/