Support Board
Date/Time: Tue, 26 Nov 2024 17:25:06 +0000
Post From: Bill Williams Alligator indicator returning incorrect values from what is rendered
[2023-11-17 02:37:33] |
quriousqitty - Posts: 13 |
I have ACSIL code that pulls data from the alligator indicator as well as the Moving Average indicator. The MA values are correct but the alligator values are off. int TEETH_INDEX = 1; int MA_INDEX = 0; // load 3m trend MA SCFloatArray trendMA3m; sc.GetStudyArrayUsingID(MAStudy3m.GetStudyID(), MA_INDEX, trendMA3m); // load 3m WA teeth study SCFloatArray WATeeth3m; sc.GetStudyArrayUsingID(WAStudy3m.GetStudyID(), JAW_INDEX, WATeeth3m); Logger.Format("long hh:mm, teeth, ma, %d:%d, %f, %f",hour, minute, WATeeth3m[sc.Index], trendMA3m[sc.Index]); The alligator values are off by a few points for all the subgraphs from what is rendered and I'm not sure why. |