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.
i_get_plotValue doesn't work properly
- LorealeTeam
- Posts: 11
- Joined: 05 Dec 2013
- Has thanked: 2 times
i_get_plotValue doesn't work properly
- Attachments
-
- i_get_plotValue.png
- screenshot
- (102.63 KiB) Downloaded 712 times
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: i_get_plotValue doesn't work properly
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.
- LorealeTeam
- Posts: 11
- Joined: 05 Dec 2013
- Has thanked: 2 times
Re: i_get_plotValue doesn't work properly
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.
..But this kind of problem occurs only with a data2 series (daily) and disappers magically with the fist candle (data1 1min) of the day.
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: i_get_plotValue doesn't work properly
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?
- LorealeTeam
- Posts: 11
- Joined: 05 Dec 2013
- Has thanked: 2 times
Re: i_get_plotValue doesn't work properly
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?
Plese, can someone help me?
- Attachments
-
- 2016-07-29.png
- (94.37 KiB) Downloaded 705 times
Re: i_get_plotValue doesn't work properly
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
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