Login Page - Create Account

Support Board


Date/Time: Thu, 27 Mar 2025 06:36:59 +0000



Post From: Backtest positions does not correlate with trade result and sc.GetTradePosition

[2024-11-06 18:24:29]
User431178 - Posts: 622
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