Skip to content

IndicatorLineOutput

interface cAlgo.API Since 5.4

DesktopCLICloud

The interface representing an indicator line. Provides properties that allow for accessing various information about a line.

Definition

public interface IndicatorLineOutput

Namespace: cAlgo.API · Group: Indicators

Examples

using cAlgo.API;

namespace cAlgo.Robots;

public partial class TestExample : Robot
{
   protected override void OnStart()
   {
       foreach (var chartIndicator in ChartIndicators)
       {
            Print($"Name: {chartIndicator.Name} | | Line Outputs #: {chartIndicator.LineOutputs.Count}");

            foreach (var lineOutput in chartIndicator.LineOutputs)
            {
                Print($"Name: {lineOutput.Name}");
            }
       }
   }
}
import clr

clr.AddReference("cAlgo.API")

# Import cAlgo API types
from cAlgo.API import *

# Import trading wrapper functions
from robot_wrapper import *

class Test():
    def on_start(self):
        for chartIndicator in api.ChartIndicators:
            print(f"Name: {chartIndicator.Name} | | Line Outputs #: {chartIndicator.LineOutputs.Count}")
            for lineOutput in chartIndicator.LineOutputs:
                print(f"Name: {lineOutput.Name}")
{
  "AccessRights": "None"
}

Properties

Name Description
ColorDesktopCLICloudColor Gets or sets the Color of a line.
IsVisibleDesktopCLICloudbool Gets or sets the visibility of a line.
LineStyleDesktopCLICloudLineStyle Gets or sets the LineStyle of a line.
NameDesktopCLICloudstring Gets the name of a line.
PlotTypeDesktopCLICloudPlotType Gets the PlotType of a line.
StickToBottomDesktopCLICloudbool Gets or sets whether line should stick to bottom of it's panel or not similar to Tick Volume (Default: false).
ThicknessDesktopCLICloudfloat Gets or sets the thickness of a line.

See also