2. The default setting for this value on the initial chart loading sequence is zero.
3. If this value is changed to something besides zero, it is now that value and loaded onto chart.
4. If the user pulls up the indicator user interface and deletes that value, if it's not specifically reset to zero, upon hitting apply it's reverts to the last assigned value.
5. If the user simply deletes the value without entering a new one, this is now a null condition. Objective is for the indicator to identify this null condition and reset the value to zero automatically.
I've looked around & I'm sure this is addressed somewhere, just can't find it. Assuming also its a simple C# method...
What's going on is on is if you load a value into the indicator's UI corresponding slot, currently you can't just delete it when done with it.
Example: On initial load, 'Level 1' is set to zero as a property. So User opens the UI, types in a value, say '6055' and now that value is in place. When the user is done with it, reopens the UI & just deletes it, upon hitting the apply button if the user has not specifically set it back to zero by typing in that value, the indicator reloads the previously assigned value, in this case 6055 above.
So if user deletes the value, I want the absence of an assigned value, a null entry in this case, to auto-default to zero.

Comment