MultiCharts Easter Sale has jumped in! Up to 50% off Explore offers
+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
bug_report_small.png
Open Bug report MC-983

"Application error" sent by Market Scanner

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

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.
Regards

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)
#0
icon_locked.png
user-offline.png  GB (Id2)
May 31, 2012 - 21:57
<source lang="php"></source><source lang="php"></source>> > [http:// Your text to link here...][http:// Your text to link here...][[http://|Your text to link here...]][[http://|Your text to link here...]][[Image:http://|]][[Image:http://|]]# # * * <strike></strike><strike></strike>''''''''''''''''''''====== Your title here... ============ Your title here... =========== Your title here... ========== Your title here... ========= Your title here... ======== Your title here... ======= Your title here... ====== Your title here... ===== Your title here... ==== Your title here... ==LastBarOnChart is not for scanner
LAST is for quote field use
#0
user-offline.png  Fabrice (fpa)
Jun 01, 2012 - 07: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.

History
Issue basics
  • Type of issue
    Bug report
  • Category
    Stability
  • Targeted for
    MultiCharts 8.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
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
Attachments (2)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates