+1 888 340 6572 GET STARTED
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
feature_request_small.png
Open Feature request MC-1139

Scanner resets after every 80th bar of real-time data and initiates applied study

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

Market scanner resets on every 80th bar of real-time data. It will also reset the indicator that is applied to it.
Tested on 2 different computers,
Tested on x32 and x64 bit computers,
Tested on 32-bit and 64-bit trials,
Tried from 2sec to 3min resolutions,
Tried to use single or multiple symbols in one scanner,
Tried to adjust MaxBarsBack and number of preloaded historical bars,
Tried to use Symbol_CurrentBar or CurrentBar or BarNumber.
Always the same outcome with the scanner.
The same indicator works well on charts.
Tested with IQFeed.

There is another important issue that might be related to the same bug:
When indicator gets reset by the scanner then PowerLanguage statement Once (and everything that's within it) gets skipped by MultiCharts.

Steps to reproduce this issue

If LastBarOnChart And BarStatus = 2 Then Print(Symbol_CurrentBar);
When it reaches 80th print it resets itself back to initial values, also resets the indicator that is applied to it.

Comments (4)
#0
user-offline.png  MultiCharts Support (MultiCharts)
Oct 26, 2012 - 14:45

When you have Bars Back set up in the Scanner, after new 80 bars received in real-time the starting point of the price data series is shifted to 80 bars (old 80 bars are put aside) and the indicator is re-calculated.
 
It's not a bug, this is the current implementation that has been developed in order to save memory.

#0
user-offline.png  MultiCharts Support (MultiCharts)
Oct 26, 2012 - 14:46

If you want, i chnage the issue to feature request. Please describe how you would like it to work.

#0
user-offline.png  MultiCharts Support (MultiCharts)
Oct 26, 2012 - 14:58

The workaround is to use Days Back; in this case the indicator won't be re-calculated every 80 bars.

#0
user-offline.png  roslja (roslja)
Oct 27, 2012 - 02:24

For some users it may be important to save on memory use, I agree. This is great that when set to Daysnot Barsback it stops resetting.
Could you make a warning message appear or pop up when Use Custom Data Range is set to default (this resets it too, btw) or Bars Backso users are aware of this.
Thank you.

History
Issue basics
  • Type of issue
    Feature request
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Under Review
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
  • Resolution
    Not determined
  • Severity
    Critical
Attachments (1)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates