+1 888 340 6572
MultiCharts Project Management
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Bug report MC-983

"Application error" sent by Market Scanner

Go to the next issue (open or closed)
Go to the next open issue

Changing plot type (text to number or number to txt) causes Market Scanner to send "Application Error".
After several messages of this kind, MC tends to crash. All work done is lost : chart drawing, modification of studies parameter...
Needless to say that this behavior prevent us clearly not to be able to use PowerLanguage with confidence during market hours.
Happens on both 7.4 & 8.0 RC.

Steps to reproduce this issue

Very simple :
1) create Market Scanner window
2) add any symbol with default timeframe
3) use Fx editor to create this simple indicator
if LastBarOnChart then
plot1 ("txt", "PLOT1" );
4) Compile and add this indicator to Market scanner
5) Change indicator
plot1 ( Last, "PLOT1" ) ;
Compile ----> Application error (see picture attached)
6) click button "skip"
7) Close Fx, MC, QM
8 Start QM
-----> Another error message (see picture attached)
With all the error messages, the most safe way for me is just to stop everything, and restart the PC (BTW: a way to restart all MC processes without having to restart the PC is still welcome, as asked in one PM). Then see if QM complains again at first launch, if yes, stop it again, and restart again the PC. After all of that, it is QM will usually start ok.

Same behavior if indicator is added to a chart.

Comments (2)
user-offline.png  Black Wood (Id2)
Jun 01, 2012 - 04:57

LastBarOnChart is not for scanner
LAST is for quote field use

user-offline.png  Fabrice (fpa)
Jun 01, 2012 - 14:50

You miss the point.
If LastBarOnChart should be used only in chart, I really doubt it, but why not. Market Scanner loads data series like the charts. So it has a last bar, which is not displayed, but is in memory.
My example uses Last, but this does not matter at all. You can use any number, even a constant. 
The real point here is : changing the type of data for the plot causes the crash. This is the issue.

Issue basics
  • Type of issue
    Bug report
  • Category
  • Targeted for
    MultiCharts 8.0 (RELEASED)
  • Status
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
Attachments (2)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates