Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 21:33:26 +0000



Post From: Trade Entry/Exit Markers Move with Each New Bar

[2020-09-09 09:07:41]
BlakJak - Posts: 108
Perhaps someone has come across this problem before. I have a study which I am testing in replay and backtest (same result) that opens a trade as a Market Order then closes later based on some criteria. The problem I am facing is that the trade markers are moving with each bar update so that at the end of the replay, all the trade markers are squashed up against the right hand side of the chart.

I am reusing a lot of code that I know works in other studies, but I guess I have something wrong somewhere.

I know the SCE team doesn't help with debugging users' code but in case anyone came across this strange issue before I would appreciate a pointer in the right direction.