Strategy window Hangs up WLP when bottom of Chart is dragged downward
Author: johnwlab
Creation Date: 5/12/2009 4:54 PM
profile picture

johnwlab

#1
There appears to be a code or file sensitive problem with
some Strategy Charts when the bottom of the Chart is manually
dragged downward with the mouse. When you first open a Strategy
the chart displays with no problems. If you maximize it fully
with the maximize button (upper right corner of chart), it displays
correctly. However, with some charts I have if you don't maximize
fully and instead drag the bottom edge of the chart downward to
the bottom of the screen it will hang up WealthLab Pro 5.3 so it
becomes a non responding process.

Below is the code for a Strategy Chart I use which exhibts
this problem. Don't know for sure if its a code problem, a
WealthLab database corruption problem or something else.
Ideally when running Strategies the system should never
hangup without giving some sort of error message indicating
the problem.

CODE:
Please log in to see this code.
profile picture

Cone

#2
I can't duplicate it. Please create a Support Ticket and attach an image of the environment just before you start dragging. From the picture I want to know if you're streaming, the scale in use, the symbol, if log scale is enable, etc. etc.,


By the way,
CODE:
Please log in to see this code.
profile picture

johnwlab

#3
Cone, thanks for your reply. Your comment about wanting to know if the log scale was
enabled helped me find the problem. When the SetLogScale command for the Price pane was
commented out as shown below the problem went away.
// SetLogScale( PricePane, true );

The SetLogScale command for the Price commmand in the above code was a piece of legacy code
from a previous Strategy. For the Strategy code above which had the problem of hanging
Wealthlab the Price pane was forced to be very small only showing the title because it was
not being used. This combination of a very small Price pane with the LogScale set appears
to be what is causing WealthLab to hang (non responding task) on my computer when the
bottom of the Chart is dragged downward with the mouse. Will open a support ticket as you
suggested and send the strategy file.

Also thanks for comments about not needing additional Synchronization statements.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).