Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 18:03:52 +0000



Different DMI Values using price overlay

View Count: 626

[2016-12-29 19:12:03]
AcquaLife - Posts: 33
Hello, I am using the price overlay method as described in http://www.sierrachart.com/index.php?page=doc/ACSILRefOtherTimeFrames.php. I am using the first example. Anyways, I can get it to work perfectly on simulation mode, however when i turn it live i have something quite different.
I have attached a picture to explain. Also, as i said i am using the code from the first example. BUT i have changed the moving average value to 1 so it just takes the average of the data at that point and i deleted the +10.

This is what your example shows
sc.Subgraph[0].Arrays[9][sc.Index] = RefStudyCurrentValue + 10;

sc.SimpleMovAvg(sc.Subgraph[0].Arrays[9],sc.Subgraph[0],15);

This is what i have done.

sc.Subgraph[0].Arrays[9][sc.Index] = RefStudyCurrentValue;

sc.SimpleMovAvg(sc.Subgraph[0].Arrays[9],sc.Subgraph[0],1);

I do not know if you need to know this information.
Thank you for your help!
[2016-12-29 19:16:13]
AcquaLife - Posts: 33
Here is the picture.
imagehelp.jpg / V - Attached On 2016-12-29 19:15:57 UTC - Size: 461.07 KB - 269 views
Attachment Deleted.
[2016-12-30 21:42:00]
Sierra Chart Engineering - Posts: 104368
We do not know what you mean by "simulation mode". Please explain.

You must also set sc.CalculationPrecedence = LOW_PREC_LEVEL; as is shown in the code example. Most likely this is the source of the problem. It must be something very basic.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2016-12-30 21:43:06

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account