I would like to understand how indicator parameters and properties are initialized and specifically how it is different than in NT7.
I've attached a test indicator AParamInitTest that illustrates 4 different approaches to defining some parameters and the impact.
In the example, you will see that both LineBrush and LineDate properties do not have an associated (lower case) global parameter associated with them. Whereas, AreaBrush and AreaDate do.
Is the initialization of AreaBrush and AreaDate consistent? Seems areaDate is set properly but in the case of areaBrush, not displayed in the Indicators Properties window on default.
If the values of areaBrush and areaDate are not explicity set by the user,
If AreaBrush and AreaDate (notice upper case) are gets and sets of the private lower case variables, why are the values different between on State.Default and State.Configure and why is there an error on State.Terminated if not explicitly set by the user?
Are the sequence of events and printed values as expected and make sense?
Is there any documentation on good programming practices for how and why to define a property in a particular way?
Comment