Stocks To Keep A Close Eye On

Status
Not open for further replies.

asnavale

Well-Known Member
Hi Anant,

Thanks for thd Afl. The text file is missing the 3rd line BarNum = 0;
When you add that the Ln 15 Col 10 gives error. subscript out of range.

Could you please correct it and post the afl text file

Thanks & regards
ken
Dear Aravind and Kenneth,

Thank you for the feed back.

I have checked the AFL and is working properly. I can understand why you are getting the errors. I am explaning below and the correction required.

The line BarNum = 0;
It does not make any difference even if it is absent. It is added as a safety measure to initialise the value. But, yes, it can give error in other circumstances. I think you got the error because of the 'other reasons'. However, I have modified the AFL and replaced the old attachment with the newer version. You can download and use it.

Now, coming to the 'other reasons' which gave you the error:

There are three posibilities:

1) You have applied the AFL to a set of stocks other than the list given by Savantji on 28-5-09 or 02-06-09.
2) One of the stocks in your list (on which you have tested the AFL) has no data (no quotes) for the day of buying.
3) One or more of the stocks in your test list have less than 3 quotes. If this is true Amibroker itself displays the error message when you try to see the chart for such stocks.

Corrective measures:

If reason 1) or 2) or both are correct in your case then the modified AFL which I have now posted (in the original message 3397) will solve the problem.

If reason 3) is the case then you have to get rid of the symbols which have less than 3 quotes. You can find such symbols using the following 4-line AFL
Code:
[COLOR="Blue"]
Filter = BarCount < 3;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "Symbol");
AddColumn(BarCount, "Total Bars", 1.0);[/COLOR]
Type these lines in the AFL editor, save by giving appropriate name. For example you may call it "3-Bar-Rmove.afl". Then go to Analysis, pick this AFL, apply to all symbols, chose last quotation - n=1 in range and explore. All symbols having less than 3 quotes will be listed. Note down or print this list. Select each of these listed symbols in the chart window and delete the symbol. Remember that once you remove the symbol it will be gone forever along with its quotes and you can not undo this operation. :mad:Therefore be careful before deleting and make sure you are deleting the correct symbol.

If you have any queries, suggestions or error reports please notify without hesitation and without delay.

Regards

-Anant
 
Last edited:

aabhi06

Well-Known Member
LT,

Firstly The Company Is Called Oriental Hotel

Moto's Friends Dad Has Been Holding It For 18 Years

He Had Bought It For 40 Bucks

Presently, The Price Is 240

Volumes On NSE & BSE Is 390 Shares

You.....#$(*&^^@ What Answer You Expected Me To Give
He Is Lucky That Company Is Still Listed & Trading....Understand

If You Don't Understand, Tell Me You Don't Understand, How Will I Understand That You Don't Understand, Understand.....:)


SavantGarde
:clap::clap::lol:
 

SavantGarde

Well-Known Member
MM,

I Am Glad You Are Sorry,

If You Want To Make Entries & Exit, If Possible Follow The BUY Triggers When Posted....For Targets Please....Go Through & See What Was Mentioned When It had Triggered & Subsequent 2nd, 3rd, ...... Targets.

All Of You Are Waking Up A Bit Late & This Is Why Forums Are Strewn With Stories Of How People Have Burned Their Fingers & Lost Their Pants Et Al.

Nobody Seems To Have Patience To Wait....& Make A Good Entry....

Do You Have Any Idea What Is Margin Of Safety, Risk Reward Is Not In Your Favour My Friend, Unless You Are Loaded


SavantGarde

Hi Savant Sir,

Sorry if i am repeating the question .......

Should i get into LITL at this point of time?

What is the target and corresponding time frame?

Regards,

MM
 
YES JPHYDRO is rocking today....:clapping:

When we book profit ?


-Samil


Savant,

Thanks for your advice on Suzlon, will do as you have directed.

Great comments on JPHYDRO, last week i asked whether can i sell at 68 or not..

Based on your advice, i did not sell, its rocking now... 81.40 now.

i have 400 shares at 58.. GREAT.. :rofl:

Regards,
Arvind
 
Savant bro no word to praise you for helping all
4 Facts To Live Better LIFE:
Never Say Sorry To One.. Who Likes U,
Never Say Bye To one.. Who needs U,
Never Blame The One.. Who Really Trust U &
Never Forget The One.. Who Always Remembers U.
 

asnavale

Well-Known Member
Hi Kenneth,

Thanks for the report. I am happy that the AFL is working. It is the feed back from people like you which helps in improving the programs. Although, the present version works in case you have the circumstances 1 or 2 or both (mentioned in my earlier post) the results are likely to be wrong for those stocks which suffer from the lack of proper data. The reason is under such conditions the program takes the data corresponding to the very first quote (the oldest in the database) and the next quote for computation. This results in erroneous results. For other stocks there is no error. Therefore, you have to confirm that you have proper data. As it is welknown in programming world you always have GIGO (Garbage In - Garbage Out). The quality of output depends on quality of input.

Regards

-Anant
 
Status
Not open for further replies.

Similar threads