+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-69

Variables modified within 'switch' operator got 'IntraBarPersist' status

action_vote_minus_faded.png
1
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

Variables modified within 'switch' operator got 'IntraBarPersist' status

Steps to reproduce this issue

Create the indicator:
//-------------------------------
Variables:
int n(0), int k(0);
k = k + 1;
switch (Close - Close[1])
begin
case > 0:
n = n + 1;
case < 0:
n = n + 1;
case = 0:
n = n + 1;
end;
Plot1(n, "n");
Plot2(k, "k");
//-------------------------------
and apply it to an online chart.
The switch operator in the code is meaningless, it is used only as a dummy wrapper for n = n +1 operation. So, n and k must be the same. On history bars it is so, but on the bars plotted online n becomes greater than k .

Comments (2)
#0
user-offline.png  Guest (Guest)
Dec 13, 2010 - 23:38

6.1.3605

#0
user-offline.png  Guest (Guest)
Dec 14, 2010 - 05:26

Ðолодчина !

History
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    MultiCharts 7.0 (RELEASED)
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
  • Posted by
    user-offline.png  mcb (mcb)
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    1 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
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