ind1 = new LineBreakValue(bars,3,bool.Highs);
This is the code suggested for using LineBreakValue but an error comes up when compiling.
'bool' does not contain a definition for 'Highs'
This is the code suggested for using LineBreakValue but an error comes up when compiling.
'bool' does not contain a definition for 'Highs'
Rename
@Glitch, Cone, Eugene...
Looks like a building block code generation error for LineBreakValue. Here's what a simple building block strategy, utilizing LineBreakValue, generated for C#:
Looks like a building block code generation error for LineBreakValue. Here's what a simple building block strategy, utilizing LineBreakValue, generated for C#:
CODE:
public override void Initialize(BarHistory bars) { indicator = new LineBreakValue(bars,3,bool.Highs); PlotIndicator(indicator,new WLColor(0,0,0)); }
Okay, thanks. We'll take care of that for Build 36.
btw., just replace bool.Highs with true (for Highs) or false (for Lows).
btw., just replace bool.Highs with true (for Highs) or false (for Lows).
Your Response
Post
Edit Post
Login is required