i_get_plotValue doesn't work properly

Questions about MultiCharts and user contributed studies.
User avatar
LorealeTeam
Posts: 11
Joined: 05 Dec 2013
Has thanked: 2 times

i_get_plotValue doesn't work properly

Postby LorealeTeam » 28 Jul 2016

Hi, I'll attach a screenshot of my VPS where MC64 is installed.
As you can see the plot (by i_get_plotValue) of the cyan indicator it doesn't work properly because some days it's not plotted on the last day.. and the signal.. doesn't work too!
I've checked the code of the strategy many&many times but, obviuosly, there's something I cannot understand..
Plese help me.
Attachments
i_get_plotValue.png
screenshot
(102.63 KiB) Downloaded 712 times

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

Re: i_get_plotValue doesn't work properly

Postby TJ » 28 Jul 2016

Hi, I'll attach a screenshot of my VPS where MC64 is installed.
As you can see the plot (by i_get_plotValue) of the cyan indicator it doesn't work properly because some days it's not plotted on the last day.. and the signal.. doesn't work too!
I've checked the code of the strategy many&many times but, obviuosly, there's something I cannot understand..
Plese help me.

There are two things that can go wrong -- your code, and/or your implementation.


Computers are dumb. They have no emotions and bad days.
They will not selectively work sometimes and not the other times,
unless you instruct it not to.

You have to post more detail, including your code.

User avatar
LorealeTeam
Posts: 11
Joined: 05 Dec 2013
Has thanked: 2 times

Re: i_get_plotValue doesn't work properly

Postby LorealeTeam » 28 Jul 2016

Ok, certainly!
..But this kind of problem occurs only with a data2 series (daily) and disappers magically with the fist candle (data1 1min) of the day.

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

Re: i_get_plotValue doesn't work properly

Postby TJ » 28 Jul 2016

Ok, certainly!
..But this kind of problem occurs only with a data2 series (daily) and disappers magically with the fist candle (data1 1min) of the day.

data2 ????

Wow, since when did that come into play?

User avatar
LorealeTeam
Posts: 11
Joined: 05 Dec 2013
Has thanked: 2 times

Re: i_get_plotValue doesn't work properly

Postby LorealeTeam » 29 Jul 2016

Hey TJ, I've made some more test/debug and after filling my code with a tons of "Print()", I finally discovered that the problem is on the QuoteManager side because the data of the previous day, in both my (two) broker, are only displayed on chart but not saved into the instruments (sa you can see on the screenshot) .
Plese, can someone help me?
Attachments
2016-07-29.png
(94.37 KiB) Downloaded 705 times

maxmax68
Posts: 163
Joined: 20 Nov 2012
Has thanked: 55 times
Been thanked: 48 times

Re: i_get_plotValue doesn't work properly

Postby maxmax68 » 29 Jul 2016

Hello LorealeTeam,
in your picture I can see only data1 from Banca Sella source.
Your second picture let me suppose that you collect data from two sources:
WeBank and Banca Sella.
Be sure to collect the data from the correct source for your chart and your code.
I guess, this could be the problem.

Regards
Massimo


Return to “MultiCharts”