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

Re: [amibroker] Plotting Applystop



PureBytes Links

Trading Reference Links

Sorry. I got my trailing stops and max stop loss confused. Obviously, 
the code below spikes when my applystop is triggered. It's the trailing 
stop that is plotted below and follows the price action.

Confused, but getting there,

Andrew.

> Hmm...I have tried this code below my ApplyStop but all I get is a red
> line at 0.
>
> I have Sell=2 for max loss, as follows:
>
> ApplyStop(stopTypeLoss, stopModePercent, 7);
>
> Equity(1); // THIS EVALUATES STOPS
>
> Plot(C,"C",1,128);
> Plot(Sell==2,"ApplyStop Sell",colorRed,1|styleOwnScale);
>
> Andrew.
>
> > Thanks Graham. I did see this code and I "thought" I had tried it, but
> > to no avail. I will have to give this another go then.
> >
> > Thanks,
> > Andrew.
> >
> > > from Applystop in help files
> > >
> > > Corey Saxe
> > > csaxe@xxxxxxx
> > > 2003-03-01 23:33:13 For visual conformation of ApplyStop function, add
> > > the following lines below your ApplyStop formula in Indicator Builder:
> > >
> > > Equity(1); // THIS EVALUATES STOPS
> > >
> > > Plot(Sell==4,"ApplyStop Sell",colorRed,1|styleOwnScale);
> > > Plot(Cover==4,"ApplyStop Cover",colorGreen,1|styleOwnScale);
> > >
>
>
>
> 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
>       <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/