Error in study - Floating point stack check

Questions about MultiCharts and user contributed studies.
trader101
Posts: 15
Joined: 30 Nov 2012
Has thanked: 8 times
Been thanked: 1 time

Error in study - Floating point stack check

Postby trader101 » 15 Feb 2013

I am getting an error and I need to find out what is wrong with my MC platform.

I get the following error : " Error in study "Bollinger_Test : : {EXCEPTION} Floating point stack-check.

Image

The study named Bollinger_Test is actually an identical of the default study named Bollinger Bands LE already available in MC.

Image

I need some parts of this study (Bollinger Bands LE) in another study. When I recompile this original study under the new name (Bollinger_Test) keeping everything identical (copy-paste) it will compile without problems but it does not work and gives me the error message given above.

Image

Why is that happening since the original study (Bollinger Bands LE) works fine ?

I guess there is a problem with my MC platform or the compiler ?

One strange thing I noted is that the input strings (see attached pictures) are not the same even if the code is the same...???

Image

I am using : Windows XP Pro, version 5.1 (Build 2600.xpsp_sp3_gdr.130107-0416 : Service Pack 3) and MC 8.0 release (Build 5620)
Attachments
bollinger_code_2.bmp
(1.04 MiB) Downloaded 651 times
bollinger_code_1.bmp
(906.8 KiB) Downloaded 652 times
bollinger1.bmp
(115.75 KiB) Downloaded 648 times
bollinger2.bmp
(697.41 KiB) Downloaded 658 times

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

Re: Error in study - Floating point stack check

Postby TJ » 15 Feb 2013

Suggestion: Shut down everything, reboot, and try again.

trader101
Posts: 15
Joined: 30 Nov 2012
Has thanked: 8 times
Been thanked: 1 time

Re: Error in study - Floating point stack check

Postby trader101 » 15 Feb 2013

I rebooted 3 times with the same results... :-(

Do you know how to make pictures show up in the actual post instead of an attachment ?

thanks TJ.

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

Re: Error in study - Floating point stack check

Postby TJ » 15 Feb 2013

I rebooted 3 times with the same results... :-(

Do you know how to make pictures show up in the actual post instead of an attachment ?

thanks TJ.
To show the pictures,
you have to use the IMG tag located at the top of the message window.

ps. I have edited your post to show the pictures.

ps. please save your screen shots in jpg or png format.

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

Re: Error in study - Floating point stack check

Postby TJ » 15 Feb 2013

One strange thing I noted is that the input strings (see attached pictures) are not the same even if the code is the same...???
What do you mean by input strings are not the same?
Check the strategy names. Are you applying the correct strategies?

trader101
Posts: 15
Joined: 30 Nov 2012
Has thanked: 8 times
Been thanked: 1 time

Re: Error in study - Floating point stack check

Postby trader101 » 15 Feb 2013

Yes I am applying the right strategies.

As for the Input String if you look at the last picture I circled it in red its the same code but the input fields enabled don't seem to be identical...

P.S : thanks for the help and tip about picture posting.

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

Re: Error in study - Floating point stack check

Postby TJ » 15 Feb 2013

Yes I am applying the right strategies.

As for the Input String if you look at the last picture I circled it in red its the same code but the input fields enabled don't seem to be identical...

P.S : thanks for the help and tip about picture posting.
Can you be more specific?
What do you want us to see in the red circle?
What do you expect to see in the red circle?
When you say "don't seem to be identical", what values on which strategy names are you comparing?

trader101
Posts: 15
Joined: 30 Nov 2012
Has thanked: 8 times
Been thanked: 1 time

Re: Error in study - Floating point stack check

Postby trader101 » 15 Feb 2013

oh ok, i am sorry I will try to explain it better.

The first line the values are : close, close, 20, 2

The second line the values are : high, 20

The signal of the first line Bollinger_Test is not working.

The signal of the second line Bollinger Bands LE is working.

Bollinger_Test and Bollinger Bands LE are exactly the same code.

Bollinger Bands LE which is the second line came pre-compiled with the default MC install.

Bollinger_Test which is the signal of the first line is identical (copy-paste) to the signal of the second line Bollinger Bands LE.

Why these 2 signals don't give the same results if they have the exact same coding ?

Why the first line is not showing the same values as the second line in the red circle if they are the exact same thing ? I am very confused...

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

Re: Error in study - Floating point stack check

Postby TJ » 15 Feb 2013

oh ok, i am sorry I will try to explain it better.

The first line the values are : close, close, 20, 2

The second line the values are : high, 20

The signal of the first line Bollinger_Test is not working.

The signal of the second line Bollinger Bands LE is working.

Bollinger_Test and Bollinger Bands LE are exactly the same code.

Bollinger Bands LE which is the second line came pre-compiled with the default MC install.

Bollinger_Test which is the signal of the first line is identical (copy-paste) to the signal of the second line Bollinger Bands LE.

Why these 2 signals don't give the same results if they have the exact same coding ?

Why the first line is not showing the same values as the second line in the red circle if they are the exact same thing ? I am very confused...
What is the name of the second strategy in your screen shot?


Image

trader101
Posts: 15
Joined: 30 Nov 2012
Has thanked: 8 times
Been thanked: 1 time

Re: Error in study - Floating point stack check

Postby trader101 » 15 Feb 2013

You are right. I am sorry, I posted the wrong picture file I need some sleep...

Here you go :

Image



So now they are exactly the same but still the default code (second line) that came with MC works but not the one I recreated...

Something must be wrong with the compiling process, that is the only possibility that I can see at the moment...
Attachments
bollinger2.JPG
(31.39 KiB) Downloaded 640 times

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

Re: Error in study - Floating point stack check

Postby TJ » 15 Feb 2013

I have copy-paste, compiled and applied the same code and it works in my computer.
MC 8.0 release (Build 5622)

I would suggest you to contact tech support live chat; they can inspect your system online.

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Error in study - Floating point stack check

Postby Andrew MultiCharts » 15 Feb 2013

So now they are exactly the same but still the default code (second line) that came with MC works but not the one I recreated...

Something must be wrong with the compiling process, that is the only possibility that I can see at the moment...
Hello Trader101,

Could you export the signal that you copied (Bollinger_Test) from PowerLanguage Editor as read-only protected file and send it to me (ashuvlenov@multicharts.com)?

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Error in study - Floating point stack check

Postby Andrew MultiCharts » 20 Feb 2013

Trader101, it seems there is another GCC (compiler), or for a reason it is not set correctly for compiling scripts in MultiCharts. Please come to our live chat to let our engineers connect to your PC remotely and help you.


Return to “MultiCharts”