+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-1855

Multicharts.NET 2 Time Frame BarsOfData(2).High[0] referred to previous bar

action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

In the MultiCharts.NET, in the first Data series using 5min and secound Data series using 1 Day.
I want to plot at the first window todays high & low. So I using the following code:
plotH.Set(BarsOfData(2).High[0], Color.Red);
plotL.Set(BarsOfData(2).Low[0], Color.Green);
However, in the first Chart(5min), the plot delayed 1 Day. That is to say, the ploted chart showes yesterday's High & Low on today's Waveform.

Steps to reproduce this issue

Two Data series:

1 TimeFrame 5min

2 TimeFrame 1Day

plot indicator in the #1 chart using:
plotH.Set(BarsOfData(2).High[0], Color.Red);
plotL.Set(BarsOfData(2).Low[0], Color.Green);
Shows the high & low delayed one day.

Comments (1)
#1
user-offline.png  Alex MultiCharts (Alex MultiCharts)
Jun 15, 2017 - 08:26
You can base the study on data data2 in the indicator properties: https://drive.google.com/file/d/0B5jd5MczYZOTQVVyaDdSR29HaUE/view?usp=sharing

In case yo still want to have the study based on data1, try to disable Realtime-history matching option: https://drive.google.com/file/d/0B5jd5MczYZOTQ0ZGc1U0TWN3RUE/view?usp=sharing
History
Issue basics
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates