i'm trying create and unlocked HorizontalBar, but this code is not working.
double stopPrice = Bars.LastPrice + 10 * TickSize; HorizontalLine newLine = Draw.HorizontalLine(this, SL_TAG, stopPrice, Brushes.Red, DashStyleHelper.DashDotDot, 2); newLine.isLocked = false;
indicator_sample.cs 'HorizontalLine' does not contain a definition for 'isLocked' and no accessible extension method 'isLocked' accepting a first argument of type 'HorizontalLine' could be found (are you missing a using directive or an assembly reference?) CS1061 181 12
What's wrong?

Comment