PureBytes Links
Trading Reference Links
|
I made a mistake with my initial program logic. I doubt anyone
here except the programmers would notice. :^) This should be
correct. I believe this routine would produce only one ticker so
the Save_Ticker[x] array shouldn't be needed.
In other words, this fictitious routine would allow an investor
to "sift" through 100 tickers, or 8,000 if he wished, and find
the highest performing stock over the last 5 days. I'm
mentioning this because it would be nice if Equis had this
capability built into MS. MS should include VBA so we don't have
to reinvent the wheel since many of us already own Microsoft
Office 97/2000. QP v2.1 must also be VBA capable. Anyway...
Save:=0;
For x=1 to 100
For y=1 to 100
If Not x=y
For z=5 to 1
If ref(Ticker[x],-z) /ref(Ticker[y],-z) >
ref(Ticker[x],-z+1)/ref(Ticker[y],-z+1)
Then Goto NEXT_SYMBOL;
Next z;
Next y;
Save:=Save+1;
Save_Ticker[Save] := Ticker[x];
:NEXT_SYMBOL;
Next x;
End.
Daniel.
Daniel Martinez wrote:
> There are at least 3 different things I can think of which the
> MS language needs badly:
> 1. Procedural loops such as For...Next, While...Do, etc...
> 2. Ability to reference other tickers within arrays. Instead
> of just using MS 7's referencing of another single ticker,
> using their new function, I would like to use an array in a
> For...Next loop to do relative strength comparisons of all the
> tickers I wish:
>
> 3. Having the above ability would also allow me to create
> "Diffusion Indicators." DI's, as defined in Pring's Momentum
> pages 305-310, are a "basket of of items within a specific
> universe that are in a positive trend." An example would be
> the percentage of stocks, such as all Nasdaq $10<=Price<=$150
> and 10M<= shares outstanding <=150M, above their 10 or 30 day
> MOV's. Investor's Intelligence discloses these indicators
> every week (several days late). I would like to create them
> myself everyday and on time.
>
> 4. Ability to use strings as in the above arrays.
>
> Being able to use tickers inside arrays within procedural loops
> would give system writers the ultimate flexibility. I suppose,
> if I must, I'll upgrade to MS v7 and also buy the SDK.
>
> Daniel.
>
>
> Gary Lyben wrote:
>
>> What is it that you want to do in the system tester that you
>> can't do
>> now?
>>
>> Gary
>
|