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

Re: [amibroker] Re: How to Plot Trailing Stop from Analysis Window



PureBytes Links

Trading Reference Links

This KB article by TJ might help you: 
http://www.amibroker.com/kb/2007/03/24/how-to-plot-a-trailing-stop-in-the-price-chart/

Regards,

Thomas

> I can't get the Plot function to plot the stop level at each point
> during the duration of the trade.  I'm using this which is at the end
> of my backtest AFL file.  trailARRAY is an array with the current
> stop level at each point, null otherwise.
>
> Nothing appears on the chart.  Any ideas?
>
> Plot( trailARRAY, "trailing stop level", colorRed );
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
wrote:
> > Sure, use PlotShapes function.
> > http://www.amibroker.com/f?plotshapes
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message -----
> > From: "davemabe2000" <davemabe@xxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Wednesday, March 05, 2008 11:02 PM
> > Subject: [amibroker] How to Plot Trailing Stop from Analysis Window
> >
> > > I'd like to plot the custom trailing stop that I'm using in one
> > > of my AFL scripts.  I can create an array that contains the
> > > current trailing stop, but I'm not sure how to plot it.
> > >
> > > I'd like to have it show up when I right-click on a trade in the
> > > analysis results window and select "Show Current Trade Arrows".
> > >
> > > Also, when I do that the arrows appear as I'd expect, but then
> > > when I new bar appears (during market hours) the trade arrows
> > > disappear until I right-click and select "Show Current Trade
> > > Arrows" again.  Any way to get them to stay?
> > >
> > > Thanks!
> > >
> > >
> > >
> > > 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > http://www.amibroker.com/devlog/
> > >
> > > For other support material please check also:
> > > http://www.amibroker.com/support.html
> > >
> > > Yahoo! Groups Links
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>



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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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