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

[amibroker] Re: "fixed" ticker question



PureBytes Links

Trading Reference Links

Is setForeign() a new feature ? 
This command apparently is not understood in 4.40 ??

Thanks,

Dan


--- In amibroker@xxxxxxxxxxxxxxx, "Thomas Chan" <tchan@xxxx> wrote:
> You might want to use setForeign() instead of Foreign() to get your
> equity right.
> 
>  
> 
>  
> 
> Thomas
> 
>  
> 
> -----Original Message-----
> From: nobonzo [mailto:nobonzo@x...] 
> Sent: Wednesday, November 12, 2003 1:13 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] "fixed" ticker question
> 
>  
> 
> Hi,
> 
> I was trying to implement a "fixed" ticker, see below.
> What is wrong with the code and how can the equity made fixed to 
the 
> ticker too ?
> 
> Thanks a lot,
> 
> Dan
> 
> 
> // test for "fixed" ticker
> // try this with a list of tickers, including ^NDX
> // plot should not change with selected symbol 
> // but equity does ..
> 
> C=Foreign("^NDX","C");
> 
> BuyPrice=C;
> SellPrice=C;
> 
> Buy = C>EMA(C,20);
> Sell = NOT Buy;
> 
> eq=Equity();
> Plot(C,"^NDX_C",colorBlue);
> Plot(eq,"Equity",colorRed);
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
> 
> ADVERTISEMENT
>  
> 
<http://rd.yahoo.com/SIG=12chpikle/M=267637.4116732.5333197.1261774/D=
eg
> 
roupweb/S=1705632198:HM/EXP=1068762286/A=1853619/R=0/*http:/www.netfli
x.
> com/Default?mqso=60178356&partid=4116732> click here
> 
> 
>  
> <http://us.adserver.yahoo.com/l?
M=267637.4116732.5333197.1261774/D=egrou
> pmail/S=:HM/A=1853619/rand=356990715> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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 the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/