PureBytes Links
Trading Reference Links
|
Hello,
The technique of plotting stop-generated signals
is described in the documentation of ApplyStop function:
http://www.amibroker.com/guide/afl/afl_view.php?name=APPLYSTOP
and equity function:
http://www.amibroker.com/guide/afl/afl_view.php?name=EQUITY
Hope this helps.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "wavemechanic" <wd78@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, August 09, 2003 1:23 AM
Subject: Re: [amibroker] Re: An easy one
> Leo:
>
> Thanks. But what manual did you find this in? I looked in Help and 4.40
> User's Guide.
>
> Bill
>
> ----- Original Message -----
> From: "leonardot19" <leo.timmermans@xxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, August 08, 2003 3:08 PM
> Subject: [amibroker] Re: An easy one
>
>
> > Bill,
> >
> > Hope this helps (it's in the manual)
> >
> > typeLoss=2;typeProfit=3;typeTrailing=4;typeNBar=6;
> > BuyCond=<<Your Condition>>
> > BuyPrice=0.995*Ref(C,-1);
> > Buy=IIf(L<0.995*Ref(C,-1) AND BuyCond,1,0);
> > SellPrice=C;
> > Sell=0;
> > ApplyStop(stopTypeProfit,stopModePercent,1,True);
> > ApplyStop(stopTypeTrailing,stopModePercent,3,True);
> > ApplyStop(3,1,10); //STOP After 10Bars
> > Equity(1);
> > PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen,0,C-ATR(1));
> > PlotShapes(IIf
> > (Sell==typeNBar,shapeDownArrow,shapeNone),colorRed,0,C+ATR(1));
> > PlotShapes(IIf
> > (Sell==typeProfit,shapeSmallDownTriangle,shapeNone),colorBrightGreen,
> > 0,C+ATR(1));
> > PlotShapes(IIf
> > (Sell==typeTrailing,shapeSmallDownTriangle,shapeNone),colorRed,0,C+AT
> > R(1));
> >
> > Regards
> > Leo
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <wd78@xxxx> wrote:
> > > Here's an easy one for the experts here. After including
> > ApplyStop in a formula, how does one display the stop on a chart?
> > >
> > > Thanks.
> > >
> > > Bill
> >
> >
> >
> >
> > 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/
> >
> >
>
>
>
> 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 ---------------------~-->
Low on Ink? Get 80% off inkjet cartridges & Free Shipping at 77Colors.com.
We have your brand: HP, Epson, Lexmark, Canon, Compaq and more!
http://www.c1tracking.com/l.asp?cid=5981
http://us.click.yahoo.com/DmnqpB/IyhGAA/ySSFAA/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/
|