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

Re: [amibroker] Re: Static Arrays???



PureBytes Links

Trading Reference Links

Too Hard Basket I think,

>If you have some result from your scan is because amibroker "reads"
>~MyIndex from yesterday´s construction.
Isn't the ,3 Flag for ATC supposed to clear the field at the start of each 
scan?
Not sure I follow what you mean by "Yesterdays" construction? Pls Clarify.

>  Try to delete  ~MyIndex from
>your ticker tree and then you will see the formula not going.
Correct. (when just running the Explore).

Note * scan now Cycles stored volume as either  0 or  aprox 760732821 - 
While the Actual volume for the highest ticker is only 36660618 for the day.

Im not sure why it's cycling - It should be reset each run of the 
scan..........................
Even if I Delete the "~MyIndex" after each scan, The Results of the NEXT 
scan are Cycled!!!!!!

& I can't seem to reproduce the "Random" results I was getting before.

As I said - Too Hard Basket.

KR
  Michael.


>DT
>--- In amibroker@xxxxxxxxxxxxxxx, "Michael.S.G." <OzFalcon@xxxx>
>wrote:
> > I can't figure out why I get (apparently) random results when
>running the following code.
>It should be Storing the Highest Volume of the day (regardless of
>which ticker produced it).
>
>After running a scan, An explore should show the days highest volume,
>the assosiated stocks current volume and what the difference is
>between the two.
>
>KR
>Michael.
>
>// Store Highest Volume for the day.
>// Set "n quotations = 1"
>// Scan Part:
>Buy = 0; // required by scan mode
>/* Use ATC as a "Highest Value" Static array */
>F =  Foreign( "~MyIndex", "V");
>addTO = IIf (V > F,(V - F), 0);
>AddToComposite(addTO, "~MyIndex", "V",3 );
>
>// Explore Part:
>
>FH = Foreign( "~MyIndex", "V");
>AddColumn(FH,"FH-ForeignHighVolume",1);
>AddColumn(V,"Stocks Volume",1.2);
>AddColumn(addTO,"To Add",1.2);
>
>Filter = 1;
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/