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

[amibroker] Spread Trading code example needed...



PureBytes Links

Trading Reference Links

I have been working with the following code so far.

RSTick = "ESZ6-GLOBEX-FUT" ; 
RSline = ( RelStrength( RSTick));
Plot( RSline , "RSline ", dynamic_color, styleThick | styleOwnScale); 

With the active symbol as the NQZ6 the above code give me what 
I "think" is the spread, but I do not know how to get it into the 
backtester. 

Can anyone provide me with AFL code that will plot the spread 
(difference) between the SPX and NDX, and then allow me to backtest 
this spreads "price" line?  

Thank you!!!


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date: 12/5/2006 4:07 PM