Monday, December 01, 2008     | Register
TradersStudio Forums
Subject: Trailing Stops, Part II

You are not authorized to post a reply.   
Author Messages
Goodgulf
Posts:2

03-20-2008 12:03 AM Alert 

Sorry to be such a Noob!  Please help!

I get an error message when trying to use a trailing stop in a TSStocks system:

line: 6 error: Highest: Count+Offset out of bounds

line 6 was:  TrailingStop("TrailingStop",1,25,1)

I was trying to set a stop of 25% after the price went up by $1.

I haven't added position sizing yet, so # shares is set to one.

This error stopped the run after it hit the 51st bar of the first stock  tested.

murray
Posts:431

03-20-2008 12:32 AM Alert 

Please increase max bars back that what the error is.

You are not authorized to post a reply.



ActiveForums 3.6
TradersStudio® Copyright 2004-2008 All Rights Reserved   |  Privacy Statement  |  Terms Of Use