ChartManager¶
Summary¶
Represents the list of all the chart frames.
Signature
1 |
|
Namespace¶
cAlgo.API
Methods¶
GetChartFrame¶
Summary
Gets a chart frame by it's Id.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
frameId | string | Frame Id |
Return Value
ChartFrame
GetCustomFrame¶
Summary
Gets a custom frame by it's Id.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
frameId | string | Frame Id |
Return Value
CustomFrame
RemoveFrame¶
Summary
Removes a frame by it's Id.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
frameId | string | Frame Id |
Return Value
bool
AddChartFrame (2)¶
AddChartFrame (1 of 2)
Summary
Adds a new chart frame to main chart container.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolName | string | Symbol name |
timeFrame | TimeFrame | Timeframe |
Return Value
ChartFrame
AddChartFrame (2 of 2)
Summary
Adds a new chart frame to target chart container.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolName | string | Symbol name |
timeFrame | TimeFrame | Timeframe |
targetChartContainer | ChartContainer | Target chart container |
Return Value
ChartFrame
AddCustomFrame (2)¶
AddCustomFrame (1 of 2)
Summary
Adds a new custom frame to main chart container.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
title | string | Custom frame title. |
Return Value
CustomFrame
AddCustomFrame (2 of 2)
Summary
Adds a new custom frame to target chart container.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
title | string | Custom frame title. |
targetChartContainer | ChartContainer | Target chart container |
Return Value
CustomFrame
Properties¶
Count¶
Summary
Returns number of all frames.
Signature
1 |
|
Return Value
int
ChartContainers¶
Summary
Returns chart containers.
Signature
1 |
|
Return Value
ChartContainers
ActiveFrame¶
Summary
Returns current active frame if any otherwise null.
Signature
1 |
|
Return Value
Frame
Events¶
FramesAdded¶
Summary
Occurs when new frames are added.
Signature
1 |
|
FramesRemoved¶
Summary
Occurs when frames are removed.
Signature
1 |
|
ActiveFrameChanged¶
Summary
Occurs when active frame is changed.
Signature
1 |
|