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

[amibroker] Re: Showing system trades on a chart



PureBytes Links

Trading Reference Links

PlotShapes(IIf(Buy, shapeUpArrow, shapeNone), colorBlue, 0, Low, -20);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone), colorBlue, 0, Low, 20);

If you want to include a line showing the hold period, a bit like a
trailing stop line, create another array that only has data between
the buy and sell signals (after removing redundant signals). The best
line formula would depend on what else is being plotted, but maybe
something like Low*0.95 or similar.

Regards,
GP


--- In amibroker@xxxxxxxxxxxxxxx, "richcb750" <rwennis@xxx> wrote:
>
> I have a system I'm backtesting.  Is there an option or easy way to
> have the entries and exits marked on a chart of the symbol tested?
> 
> 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

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