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

[amibroker] Thanks Re: Overriding "Settings" in .afl code



PureBytes Links

Trading Reference Links

Thanks to Anthony, Graham, and Terry for their help.  That should do 
it.  -- Keith

--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
>
> Try this code, which let's you switch using Parameters. However, it 
does
> not affect the Report/Settings. I have a trouble ticket in to AB 
now,
> but haven't heard in a week.
> 
>  
> 
>  
> 
> when = ParamToggle("Trade Day:","Next Day,Same Day",0); //Normally 
can't
> do Next Day Open with Funds
> 
> if (when) SetTradeDelays(0,0,0,0); else SetTradeDelays(1,1,1,1);
> 
>  
> 
> OC = ParamToggle("Trade Time:","Open,Close",0);
> 
> if (OC) BuyPrice = SellPrice = ShortPrice = CoverPrice = Close;
> 
>    else BuyPrice = SellPrice = ShortPrice = CoverPrice = Open;
> 
>  
> 
> --
> 
> Terry
> 
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] 
On
> Behalf Of Anthony Faragasso
> Sent: Friday, November 04, 2005 21:46
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Overriding "Settings" in .afl code
> 
>  
> 
> Buyprice=?
> 
> Sellprice=?
> 
> ----- Original Message ----- 
> 
> From: keithmccombs <mailto:kmccombs@x...>  
> 
> To: amibroker@xxxxxxxxxxxxxxx 
> 
> Sent: Friday, November 04, 2005 11:19 PM
> 
> Subject: [amibroker] Overriding "Settings" in .afl code
> 
>  
> 
> I know that I can use SetTradeDelays() in .afl code to override 
trade 
> delay 'periods' in the "Settings>Trades" page.  But how can I 
> override the Open or Close in the same page using .afl code?
> TIA. -- Keith
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> 
> Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+software&w1=
> 
Real+estate+investment+software&w2=Investment+property+software&w3=Sof
tw
> 
are+support&w4=Real+estate+investment+analysis+software&w5=Investment+
so
> 
ftware&w6=Investment+analysis+software&c=6&s=198&.sig=9xS7j7GxPSV8Ud86
Ge
> TE5Q>  estate investment software 
> 
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+property+software&w1=Rea
> 
l+estate+investment+software&w2=Investment+property+software&w3=Softwa
re
> 
+support&w4=Real+estate+investment+analysis+software&w5=Investment+sof
tw
> 
are&w6=Investment+analysis+software&c=6&s=198&.sig=7GBA8V_0YSPSxZuQxGO
yG
> Q>  property software 
> 
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+support&w1=Real+estate+inv
> 
estment+software&w2=Investment+property+software&w3=Software+support&w
4=
> 
Real+estate+investment+analysis+software&w5=Investment+software&w6=Inv
es
> tment+analysis+software&c=6&s=198&.sig=dm4RKvoL9j3ygbxukoISAg>  
support 
> 
> 
> Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+analysis+sof
> 
tware&w1=Real+estate+investment+software&w2=Investment+property+softwa
re
> 
&w3=Software+support&w4=Real+estate+investment+analysis+software&w5=In
ve
> 
stment+software&w6=Investment+analysis+software&c=6&s=198&.sig=v4trUvn
eP
> 5kT1Cdp0jbiYg>  estate investment analysis software 
> 
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+software&w1=Real+estate+
> 
investment+software&w2=Investment+property+software&w3=Software+suppor
t&
> 
w4=Real+estate+investment+analysis+software&w5=Investment+software&w6=
In
> vestment+analysis+software&c=6&s=198&.sig=17wzFjO9MuykIMtJye1EkA>
> software 
> 
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+analysis+software&w1=Rea
> 
l+estate+investment+software&w2=Investment+property+software&w3=Softwa
re
> 
+support&w4=Real+estate+investment+analysis+software&w5=Investment+sof
tw
> are&w6=Investment+analysis+software&c=6&s=198&.sig=iSVL-
5PLC3TanE2y9Di8M
> Q>  analysis software 
> 
>  
> 
> 
>   _____  
> 
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *    Visit your group "amibroker
> <http://groups.yahoo.com/group/amibroker> " on the web.
>   
> 
> *    To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> 
> *    Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service. 
> 
>  
> 
> 
>   _____
>






------------------------ 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/