Replies

MRCR
04 Feb 2014, 18:34

RE:

Spotware said:

Probably you have an issue with calculations. If you observe problem with platform, it will be better if you show simpler example with the problem.

I'll try to simplify this indicator and i'm going to read somethings about C# to improve the code in it, if i see it continues doing the same, then i'll update this post. Thanks anyway.


@MRCR

MRCR
04 Feb 2014, 14:48

Would it be possible for someone from spotware to comment please? is this a bug from the platform?


@MRCR

MRCR
28 Jan 2014, 06:24

RE:

MRSV said:

Well its not -7.36039, It's -0,0000736039. 

-7.36039-E05 = -7.36039*10^-5 <=> -0,0000736039.

Thank you, since your reply i got to search how to convert from scientific notation to decimal, and I have the numbers I wanted :)
Let the next hundred problems begin.


@MRCR

MRCR
27 Jan 2014, 23:25 ( Updated at: 21 Dec 2023, 09:20 )

RE:

daemon said:

Which values are you looking at exactly on the chart? You can use the market snapshot tool and look at the value for the Histogram Main. The signal would be the line not the histogram.  Maybe test the previous value since the last value would be the current value which constantly changes with new ticks. You can confirm the price by testing the previous bar value. 

Hi daemon, thank you for replying, I'll try to explain the best I can.

As you can see in the image above, The result from Print("{0}", _macd.Histogram.LastValue); has nothing to do with the value from the chart MACD Histogram Main, this is what i want, I want to be able to access the same value the Chart gives me, the -00013 not the -7.36039...

I'm not trying to trade the MACD signal but the histogram itself. My question for you or any spotware dev is: How can I access the -00013 instead of the -7.36039, do I need to normalize the result somehow? Do I need to calculate something extra?

BTW the data you see in both red squares are both @ 18:40h so they should be identical.

Thank you very much so far for the feedback. :)


@MRCR

MRCR
27 Jan 2014, 23:07

RE:

MRSV said:

  Print("{0}", _macd.Histogram.LastValue);

Hi MRSV the result is the same, since I'm printing the result of the variable straight away. But thank you.


@MRCR

MRCR
27 Jan 2014, 12:31

RE:

anyone? I just need a hint... 


@MRCR