I just created a signal with the following buy logic:
buy at opend(0) + value stop;
Now I started exploring the individual trades on the backtest report. Some of the trades are being filled at the High of the bar, some are being filled at a value between the [opend(0) + value] and the high, etc.
How does Tradestation set the buy price when you are using a Buy stop?
I want to replicate this code in C++, but I am having trouble figuring out how Tradestation handles this.
As always, thanks for your help.
-Steve
buy at opend(0) + value stop;
Now I started exploring the individual trades on the backtest report. Some of the trades are being filled at the High of the bar, some are being filled at a value between the [opend(0) + value] and the high, etc.
How does Tradestation set the buy price when you are using a Buy stop?
I want to replicate this code in C++, but I am having trouble figuring out how Tradestation handles this.
As always, thanks for your help.
-Steve