Plots change when I scroll the charts

Questions about MultiCharts and user contributed studies.
Sylpha
Posts: 29
Joined: 14 Apr 2015
Has thanked: 1 time

Plots change when I scroll the charts

Postby Sylpha » 18 Jun 2018

MC Version 11.0 Release (Build 16148)

Found something strange when I look at the charts today.

I have plot the DonchianChannel with 5 days period on the charts with below code.

Code: Select all

inputs:
period (NumericSimple),
myMid (NumericRef),
myUpper (NumericRef),
myLower (NumericRef);

myUpper = Highest(H, period);
myLower = Lowest(L, period);
myMid = (myUpper + myLower) / 2;

Code: Select all

inputs:
period (14),
plotMid (true);

vars:
myMid (0),
myUpper (0),
myLower (0);

Value0 = DonchianChannel(period, myMid, myUpper, myLower);

If (plotMid) then
Plot1(myMid, "Mid");

Plot2(myUpper, "Upper");
Plot3(myLower, "Lower");
When I look at the charts, sometimes it will display the plot incorrectly:
Position 1.jpg
(221.78 KiB) Downloaded 329 times
If I scroll the chart a little to the right, then the plot will be fixed (haven't changed anything except scrolling):
Position 2.jpg
(179.37 KiB) Downloaded 329 times

Anyone encounter the same problem before?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Plots change when I scroll the charts

Postby TJ » 18 Jun 2018

Make sure your indicator is anchored to the chart.

Sylpha
Posts: 29
Joined: 14 Apr 2015
Has thanked: 1 time

Re: Plots change when I scroll the charts

Postby Sylpha » 19 Jun 2018

Hi TJ,

Sorry I don't get what you said above, could you explain a bit more please? Thanks.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Plots change when I scroll the charts

Postby TJ » 19 Jun 2018

1. Right-click on the chart
2. Select "Visual Order"
3. a window will pop up
4. highlight the instrument
5. move the instrument down to the bottom by selecting "Send to Back".
6. Close the window. You are done.


Return to “MultiCharts”