I have checked and in my case, point "e" is responsible for the discrepancies.
As I mentioned, I use StaticVarGet() and SumSince() inside a loop, which number of iterations depends on some conditions (usually it is the difference in points between LLV and HHV of a futures contract in a selected range). The range selection is done by using StartValue(), SelectedValue() and Endvalue().
If SelectedValue behaves like LastValue in Code Check & Profile, that explains a lot ;-)
Regards
Posted by: milosz.mazurkiewicz@yahoo.com
__._,_.___
Posted by: milosz.mazurkiewicz@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (15) |
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon