Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 14:27:21 +0000



Post From: Input values getting automatically reset

[2013-05-15 14:48:02]
User76625 - Posts: 49
I'm having an issue with a value in my code being automatically reset to the default input value anytime I manually try to change it while it's running. It starts at 0 (the default value), then gets changed to different values as the code runs and different things happen. Sometimes I want to change that value manually (through the settings in the Chart Studies window), but then as soon as I hit apply, it automatically changes back to 0.

I have a similar setup on another study that's also running and it works fine to manually change the value during the day and it stays the value I changed it to. The only difference I can think of between the two is that the one that reverts back to the default value is used to enter and manage trades. Can you change defaults while the code is actively managing trades?

EDIT: Both codes actually revert back to the default if I try to manually change a value - not just the one running trades.
Date Time Of Last Edit: 2013-05-15 14:59:41