public enum amaSuperTrendU11VolaType
{
Range,
True_Range,
Res_Mean_Abs_Dev,
Res_RMS_Dev
}
When I use the amaSuperTrendU11 with the Strategy Builder, the strategy does not compile. The reason here is that the strategy calls the indicator with the value "amaSuperTrendU11VolaType.true_Range" instead of amaSuperTrendU11VolaType.True_Range.
The strategy builder simply misspells the enum constant "True_Range" and replaces it with "true_Range".
This is a clear bug of the strategy builder! There is no variable or constant "true_Range" in the entire code of the indicator. The value is simply invented by the strategy builder.
To repair the strategy I need to unlock it, then replace the offensive enum constant and compile. Afterwards the strategy works as expected.

Comment