Got but what I like to do is to backtest my formula based on the chances in
eh nasdaq or DOW value chances, so the plot won't help me with the backtest
purpose. Maybe I need to use another function to get the ^DJI value?

 

Waldemar Rooijer
IT Solutions N.V.

Dr. M.J. Hugenholzweg 35
Curacao, Netherlands Antilles
Phone: (5999)-4613345

Cell:     (5999)-5624902
Fax:     (5999)-4613346

 

From: [email protected] [mailto:[email protected]] On Behalf
Of wavemechanic
Sent: Monday, May 03, 2010 12:02 PM
To: [email protected]
Subject: Re: [amibroker] Slow of the close of ^DJI

 

  

The formula that you used will not by itself show you a value which.  To see
the value you have to display it, for example, in a chart using the code
below. You can see the value for any date in the title by clicking the plot
at that date:

 

If you have ^DJI loaded then chart 

 

Plot( ROC( C, 2 ), "ROC(2)", colorRed );

 

or if you have another symbol loaded then chart

 

Plot( ROC( Foreign( "^DJI", "Close" ), 2 ), "ForROC(2)", colorWhite );

 

----- Original Message ----- 

From: Waldemar Rooijer <mailto:[email protected]>  

To: [email protected] 

Sent: May 03, 2010 11:16 AM

Subject: RE: [amibroker] Slow of the close of ^DJI

 

Wavemechanic you mean I can use somethink like;

 

Wdji1 = Foreign(^DJI, "Close") and then Wdji2 = ROC(Wdji,2)

 

When I try that I don'r get any value listed for Wdji2. I don'r receive
error in the code though

 

 

Waldemar Rooijer
IT Solutions N.V.

Dr. M.J. Hugenholzweg 35
Curacao, Netherlands Antilles
Phone: (5999)-4613345

Cell:     (5999)-5624902
Fax:     (5999)-4613346

 

From: [email protected] [mailto:[email protected]] On Behalf
Of wavemechanic
Sent: Monday, May 03, 2010 10:42 AM
To: [email protected]
Subject: Re: [amibroker] Slow of the close of ^DJI

 

  

Take a look at ROC()

----- Original Message ----- 

From: WaldemarRooijer <mailto:[email protected]>  

To: [email protected] 

Sent: May 03, 2010 10:24 AM

Subject: [amibroker] Slow of the close of ^DJI

 

Dear members,

I am learning the AFL language for a few weeks and one issue I still could
not figure out yet is how can I get the 2 day slope (ore maybe just %change)
of ^DJI close.

Any help is appreciated



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

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links





Reply via email to