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

[amibroker] How to set up STOPS



PureBytes Links

Trading Reference Links

Sorry another thing is that when I call setforeign then try to get variables
conditions for the foreign it still gives the condition values for the
chosen stock, not the index
I cannot put all the code here just the part. It covers various #include
files to calculate the monthrise and weekrise etc and gets a bit long

SetForeign(getbaseindex()); 
MIndexCond = MonthRise AND LMonthRise ;
WIndexCond = WeekRise AND LWeekRise ;
RestorePriceArrays();

The MIndexCond and WIndexCond should be those of the index, but when plotted
are actually those of the chosen share.


Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: Graham [mailto:gkavanagh@xxxxxxxxxxxxx] 
Sent: Saturday, March 13, 2004 10:19 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] GetBaseIndex

Using getdatabase() I find that the Base Index for Groups takes precedence
over the Industry listing, and I assume the markets take precedence over
groups.
Is there a method for defining which base index I want to reference. Some
scans I want to reference the groups and others the industry indices.

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/




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 
Yahoo! Groups Links



 



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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

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