PureBytes Links
Trading Reference Links
|
>Anyone know a way around this stategy stop buying problem. A simple example is below.
>
>If High > High[1] then buy this bar at High[1] stop;
>
>Tradestation will not let you buy the same bar at a specified amount. I get the message that a stop or limit order can only be placed for the next bar. Most of my strategies need the same bar at a specified amount. Anyway around this or am I doing something wrong?
>
>Thanks
>Randy
Yes, you are kind of doing something wrong, although I can see why you think you should be able to. TS doesn't work like that. You need to back up a bar, and on the previous bar to the above, just put
Buy next bar at H stop;
If on the next bar, H > H[1], then your condition will have come true, and you'll be filled where you want. If H doesn't exceed H[1], your condition will not have come true, and you won't get filled either.
HTH
Mike Gossland
|