PureBytes Links
Trading Reference Links
|
Graham,
I like my ParamToggle for the first one. Easier for users. How about
this incorporating your simplification?
When = ParamToggle("Trade Day:","Same Day,Next Day",0);
SetTradeDelays(When,When,When,When);
I do like your ParamField for the 2nd one, gives more choices and is
simpler! I have changed all my code. Thanks.
Oddly, ParamField is not listed under Help:Index. I did find it using
Help:Search. I will submit to bugs for correction. I'm using 4.70.5.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of Graham
Sent: Saturday, November 05, 2005 14:48
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Overriding "Settings" in .afl code
Why not make it easy for yourself and use more basic methods of param's
When = param( "Delay", 0, 0, 1 ,1 );
SetTradeDelays(When,When,When,When);
Price = ParamField(''Trade price'', field = 3 ) ;
BuyPrice = SellPrice = ShortPrice = CoverPrice = Price;
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|