Support Board
Date/Time: Thu, 21 Nov 2024 16:30:21 +0000
Backtest positions does not correlate with trade result and sc.GetTradePosition
View Count: 556
[2024-11-05 18:00:32] |
User431178 - Posts: 537 |
Attaching picture here. Orders should simply be made on the moving average cross, as per Sierra's Trading Example MA Crossover strategy code. Picture looks normal and correct. That system enters on close of bar. Where do you see errors? |
[2024-11-06 18:06:51] |
PS - Posts: 40 |
Almost every trade is being closed the very next bar after it is entered. This can be seen via the blue and purple exit labels.
|
[2024-11-06 18:24:29] |
User431178 - Posts: 537 |
Almost every trade is being closed the very next bar after it is entered. This can be seen via the blue and purple exit labels.
You are using the "Trading Example: Moving Average Crossover with Attached Orders" study, at least that is what is shown on your chart. That study has a hardcoded stop/target both at 8 ticks, unless you have edited it, but it would appear not. Date Time Of Last Edit: 2024-11-06 18:25:03
|
[2024-11-07 16:19:59] |
PS - Posts: 40 |
I missed that. Thank you.
|
To post a message in this thread, you need to log in with your Sierra Chart account: