LU
Information
Username: | lukasztrader |
Member since: | 25 Dec 2019 |
Last login: | 25 Dec 2019 |
Status: | Active |
Activity
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 1 |
Forum Topics | 8 | 12 |
Jobs | 1 | 0 |
Username: | lukasztrader |
Member since: | 25 Dec 2019 |
Last login: | 25 Dec 2019 |
Status: | Active |
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 1 |
Forum Topics | 8 | 12 |
Jobs | 1 | 0 |
Dear @moza11,
I have a problem with this indicator. I wrote post in forum: https://ctrader.com/forum/cbot-support/22712?page=1#1
I would like to get history data that I see on chart with Custom Indicator. OnStart method I would like to get last values from this Indicator.
I don't understand why the data that I print in logs are not the same as I see on the chart. As an example I am looking for all Major Sell or Buy signals.
The logs from below code shows different values compared to values seen on chart. What is more if I loop over all results, there are not possible data as sometimes DotsBuy and DotsSell are at the same time with value = 1. The dots are either Buy or Sell.
The endgame is to have opportunity to create a logic in cBot that after restart the cBot it can get the last Major signal (either it is sell or buy) based on history data from chart.
Please see below code.