NeedForTrade Documentation

MultiLine Indicator

Draws on or more connected lines on the chart.

Current value of MultiLine indicator must be passed via Plot keyword. Plots are counted from 0 to plots count.

 

Sample:

Plot[3] = 10;				// current value of the plot3 [optional]
Plot[3].Color = Colors.Red; 		//
    Color of the current segment of indicator [optional]
Plot[3].Width = 3; 			//
    Width of the line of the current segment of indicator [optional]
Plot[3].DashStyle = DashStyle.DashDotDot; 	//
    DashStyle of the line of the current segment of indicator [optional]

Available DashStyles:

 

If no value for some plot on current bar isn't specified it's assumed to be as on previous bar.

 

Use MultiLine indicator's Default Scaling property to specify default indicator scaling on the chart. See Scale Types.

MultiLine indicators have Plots property, that must be used to specify plots count properties and default style.   

To edit MultiLine Indicator plots

  1. Indicator you want to edit Plots on must be opened in Code Editor.
  2. Rigth-click on the Code Editor and select Properties from context menu.
  3. Properties window will appear some where on the screen:

  4. Please, make shure, that the type of Indicator is MultiLine.
  5. Click on the Plots (Collection) line.
  6. Properties must look like this now:

  7. Click on the ... in the button.
  8. Plost Description Collection Editor window will appear on the screen:

     

  9. To Add plot use Add button. (Remove to remove plot, up/down arrows can be used to re-order plots to change plot number). Use Properties to edit selected plot properties.
  10. Take a look at the Plost Description Collection Editor with four plots defined:

 

Available Plot Properties:

 

See also Indicators.