Dear Mark ,
Thanks for sharing the code. When I try to plot graph I get the
following error
res[0] = High[0];
for (i = 1; i < p; i++)
{
if(High[i]
-----------^
Error 10.
Subscript out of range.
You must not access array elements outside 0..(BarCount-1) range.
Please help me in correct the error.
Thanks
Osgem
--- In [email protected], "Mark H" <[EMAIL PROTECTED]> wrote:
>
> To those who are interested,
>
> I have posted the code to AFL online library:
> http://www.amibroker.com/library/detail.php?id=735
>
> See here for more information regarding Seykota's project:
> http://www.seykota.com/tribe/TSP/index.htm
>
> The coding was more complex than I expected since Amibroker
doesn't support Trade At Stop functions (such as BuyAtStop,
SellAtStop etc).
> Many other TA software such as Trading Recipes, Metastock, Wealth-
lab support it natively. On the other hand, Amibroker is very
powerful to simulate mostly anything, though that ends up with
complicated code.
>
> Happy Trading,
>
> - Mark H.
>
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/
<*> 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:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/