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

RE: [amibroker] Charting help please someone



PureBytes Links

Trading Reference Links

Mark,
 
Change:
 
spread = C / spreadSymbol;
 
To:
 
spread = C // spreadSymbol;
 
It thinks that "spreadSymbol" is a variable.   Using "//" changes it to a comment.
 
 
-------------- Original message --------------

Thank you

Getting a Error 29 when I try and use it

Variable “Spreadsheet ‘ used without having been initialized

 

Do I need to so something other than make this an afl and then put it up as a chart  then insert linked?

 

 

Thank you

 

Mark

 

 

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of wavemechanic
Sent: Tuesday, November 22, 2005 12:51 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Charting help please someone

 

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 -----

From: Mark Keitel

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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS