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

Re: [amibroker] price alf code not executing correctly



PureBytes Links

Trading Reference Links

Hi Mark,
 
Possibly you are confusing the Explorer with the Backtester? These are 2 seperate modules of AB, designed to do 2 different jobs. If you are just looking to create a list of stocks that meet certain criteria, so you can review them, use the Explorer (as JMF did, you will need to assign your criteria to the Filter variable and add a column for each criteria you want to see). You can use Buy/Sell/Short/Cover variables in Explorer (they will be treated like any other variable), but they are generally used when running the backtester because they have special meaning to the backtester. On the other hand, Filter variable is required for the explorer, the same way that buy/sell and/or short/cover are required by the backtester.
 
Steve
----- Original Message -----
Sent: Friday, July 15, 2005 9:18 AM
Subject: RE: [amibroker] price alf code not executing correctly

Thank you

What I find is interesting

Both your code and the one that Dickie posted runs too

Looks like this code gets more in its find than the other

 

Thank you again

 

Mark

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of JMF
Sent: Friday, July 15, 2005 8:55 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] price alf code not executing correctly

 

Filter=C>85 AND C<95;

AddColumn(C,"Close");

 

Then click the Exploration button

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Mark Keitel
Sent: sexta-feira, 15 de Julho de 2005 13:06
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] price alf code not executing correctly

I have been looking for a AFL that I could run that would give me a list of stocks within the specified price range that I am looking for

To be exact $85-$92

So figured I would try and write it myself last night,  I can get it to run through the list of stocks but get nothing from it

Can someone help me with hit?

 

 

Buy = Cross(C, 85-92) ;

 

Alert If ( Buy, "", "Simple text alert", 4 );

 

 

Thank you

Mark

 

 

 

 



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





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






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





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