ChartManager
Summary
Represents the list of all the chart frames.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
1 2 3 4 5 6 7 8 9 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
Methods
GetChartFrame
Summary
Gets a chart frame by it is Id.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| frameId | string | Frame Id |
Return Value
ChartFrame
GetCustomFrame
Summary
Gets a custom frame by it is Id.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| frameId | string | Frame Id |
Return Value
CustomFrame
RemoveFrame
Summary
Removes a frame by it is 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
ActiveChartContainer
Summary
Returns current active chart container if any otherwise null.
Signature
1 | |
Return Value
ChartContainer
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 | |