MC 8.7 Barstatus always -1

Questions about MultiCharts and user contributed studies.
radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

MC 8.7 Barstatus always -1

Postby radekj » 15 Jul 2013

I have two instruments on chart,
resolution 1tick and realtime-history-matching = off,
and Barstatus for realtime-data is always -1 !

ciao
radekj

MC 8.7 x64 on win7 x64
Last edited by radekj on 22 Jul 2013, edited 1 time in total.

radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

Re: MC 7 Barstatus always -1

Postby radekj » 16 Jul 2013

So you never wil know when data0 get data !

On MC 8.5 beta2 works fine, i get my barstatus 2 ! So it is 8.7 bug !!!

radekj

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: MC 7 Barstatus always -1

Postby Henry MultiСharts » 19 Jul 2013

Hello radekj,

1) What exact version and build number of MultiCharts are you running? (in MultiCharts go to Help tab-> About);
2) Please attach the workspace you are using;
3) In PowerLanguage editor->File->Export->export with dependent functions the studies you are using for testing. Send me the study export file.
4) Please attach a detailed problem description and highlight the problem on the screenshots/in the output files.

radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

Re: MC 7 Barstatus always -1

Postby radekj » 21 Jul 2013

i use MC 8.7 build 7472 x64

datasource: iqfeed

indicator:

Print(barstatus); <-- only one line !

Put two instruments on chart (1tick resolution), as indicator properties set only "update on each tick" !

Problem: you will get only batstatus of "-1" ! So all indicators that uses barstatus() does not work right !

ciao
radekj

radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

Re: MC 8.7 Barstatus always -1

Postby radekj » 25 Jul 2013

Can somebody else reproduce it?

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: MC 8.7 Barstatus always -1

Postby sptrader » 26 Jul 2013

Can somebody else reproduce it?
***************************************************

Using the current version of MC 8.7 7472 x64 and Iqfeed with (2) @esu13 contracts set to 1 tick each, barstatus always = 2...

I made a study , so I could monitor the status on the chart attached..

indicator properties set only "update on each tick" ..

Code: Select all

print(date:6:0,",",Time:4:0,",","barstatus=",barstatus);
plot1(barstatus,"barstatus");
plot2(0,"zero");
Attachments
Bar Status.png
(32.3 KiB) Downloaded 791 times

radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

Re: MC 8.7 Barstatus always -1

Postby radekj » 26 Jul 2013

Muchios gracias !

Can you take something different for second data as for first data please ?

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: MC 8.7 Barstatus always -1

Postby sptrader » 26 Jul 2013

xMuchios gracias !

Can you take something different for second data as for first data please ?
*************************************************************
Here is ES and CL
Bar Status4.png
(31.53 KiB) Downloaded 786 times

radekj
Posts: 113
Joined: 28 Apr 2008
Has thanked: 20 times
Been thanked: 1 time

Re: MC 8.7 Barstatus always -1

Postby radekj » 26 Jul 2013

Thanks for the help !

ciao
radekj


Return to “MultiCharts”