Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 10:36:17 +0000



Post From: ACSIL question

[2014-01-28 17:49:54]
User40117 - Posts: 56
hi,

making first steps in ACSIL
i'm trying to create an indicator but didn't get the results i wanted, so for debugging and checking my input i tride printing values to the log.


float MyFloat = (sc.BaseData[SC_CLOSE][sc.Index]);
SCString Buffer;
Buffer.Format("Value: %f", MyFloat);
sc.AddMessageToLog(Buffer,0);


This should print the CLOSE but they don't seem to match real close prices.
FDAX is around +9000, the printed messages range from 50 to +1000 ???
what am i'm doing wrong here ?