I am am trying to convert my NT7 drawtextfixed code to NT8. Simple example:
Draw.TextFixed(this, "tag 2",(Open[0]-Close[0].ToString("N0")), TextPosition.TopRight, BarBrush = Brushes.Blue, _newsHeadingFont, BarBrush = Brushes.Red, BarBrush = Brushes.DarkGreen, 100);
I am getting the following error - The error says this relates to < or > <- etc so no sure of the problem. It looks like it doesn't like the Open[0] - Close [0] part. Thanks in advance!
| TimerIndicator.cs | Operator '-' cannot be applied to operands of type 'double' and 'string' | CS0019 | 140 | 33 |

Comment