PureBytes Links
Trading Reference Links
|
Hello,
It is NOT necessary and even NOT recommended to write ExitAtStop = 1.
This is notation is used just for explaining that given parameter has default value,
but in case of actual call you should just use VALUES not the names:
ApplyStop(stopTypeProfit,stopModePoint,2*ATR(5), 1, False, 1 ); // VALUES ONLY !
ApplyStop(stopTypeLoss,stopModePoint,0.25*ATR(5), 1, False, 1 ); // VALUES ONLY
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "ed2000nl" <pablito@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 26, 2004 1:49 PM
Subject: Re: [amibroker] question on settings
> use ApplyStop
>
> ApplyStop(stopTypeProfit,stopModePoint,2*ATR(5),ExitAtStop = 1,Volatile =
> False, ReentryDelay = 1 );
> ApplyStop(stopTypeLoss,stopModePoint,0.25*ATR(5),ExitAtStop = 1,Volatile =
> False, ReentryDelay = 1 );
>
> rgds, Ed
>
>
> ----- Original Message -----
> From: "epintoem" <epintoem@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, February 26, 2004 1:03 PM
> Subject: [amibroker] question on settings
>
>
> > I am testing a system on over 500 stocks
> >
> > Once my buy conditions are activated...
> >
> > I want to buy at open
> >
> > and set a stop at .25*ATR(5)
> > and a target price of 2*atr(5)
> > xy=atr(5);
> > BuyPrice=O;
> >
> > Sell=BuyPrice+(2*xy) OR BuyPrice-(2*xy);
> >
> > Here is what I have put it..
> >
> > is this adequate...if so...why are my trades not going beyond 2 days
> > and what settings do I need to have in AA?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> > 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
>
>
>
>
>
>
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/
|