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

Re: [amibroker] Charting help please someone



PureBytes Links

Trading Reference Links

See if this is what you are after -

//open ^IRX chart

spreadSymbol = Foreign("^TYX", "Close");

spread = C / spreadSymbol;

EMA1 = EMA(spread, 21);

EMA2 = EMA(EMA1, 13);

//Plot(spread, "Spread", colorWhite, stylebar);

Plot(EMA1, "EMA1", colorRed);

Plot(EMA2, "EMA2", colorYellow);

 
----- Original Message -----
Sent: Tuesday, November 22, 2005 10:48 AM
Subject: [amibroker] Charting help please someone

Have the following that someone did in another charting software package.  Would like to be able to do this in AB if someone can help me out along the way here

 

 

This was originally  constructed in Metastock, using the 13 week treasury yield (IRX) divided by the 30 year treasury yield (TYX) as the base security. A 21 ema is applied, the base security is no longer displayed. Then the other moving average is a 13 ema of the 21 ema.

 

Thank you for any help here

 

 

Mark

 

 

 

 




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date: 11/21/05


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