PureBytes Links
Trading Reference Links
|
Use:
nb=Optimize("Comp",1,10,50,1);
Ticker=StrFormat("~MFI%g",nb); ornb=Optimize("Comp",1,10,50,1);
Ticker=StrFormat("~MFI%.0f",nb); Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Stephane Carrasset" <nenapacwanfr@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, November 09, 2003 10:36 AM
Subject: [amibroker] StrFormat("~MFI%f",nb);
> hi,
>
> does someone know how work StrFormat
>
> nb=Optimize("Comp",1,10,50,1);
> //Ticker=StrFormat("~MFI%f",nb); NOT WORKING
> //Comp = Foreign(Ticker, "X");
> Comp = Foreign("~MFI" + WriteVal(nb , 1.0 ), "X"); // GOOD
>
> stephane
>
>
>
> 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/
>
>
>
------------------------ 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/
|