1.- How can I get the current value of an indicator?
There is no problem with current value of the instrument
Draw.TextFixed(this, "NinjaScriptInfo", "" + marketDataUpdate.Price, GetTextPosition(Location), Brush textBrush, SimpleFont font, Brushes.Transparent, Brushes.Transparent, 0);
But how can I call VOL indicator for example?
private VOL VOL1;
...
else if (State == State.DataLoaded)
{
VOL1 = VOL(Close);
}
...
Draw.TextFixed(this, "NinjaScriptInfo", ""?, GetTextPosition(Location), Brush textBrush, SimpleFont font, Brushes.Transparent, Brushes.Transparent, 0);
2.- In order to write my own text when opening the indicator in Parameters, how should I define en "Properties"? I have been looking in the forum and I have found examples to select brushes and other things but not to write my own text ("SHORTS", LONGS",...)
Thanks a lot

Comment