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. |