Support Board
Date/Time: Sun, 12 Jan 2025 23:35:26 +0000
Post From: function to retrieve the value of an index from the current index ?
[2017-03-02 14:25:53] |
User210074 - Posts: 63 |
Is there a function to retrieve the value of an index from the current index? Example: I have a FESX graph. I want to retrieve the value of the ES in code. Just an exemple to explain what i said at the top /*in Dax Code ( x.cpp)*/ /* .... */ int A{1}; int B{0}; int C{sc.PersistVars->Integers[B]}; C=A; /*....*/ /*in SP500 Code ( Y.cpp)*/ /* .... */ int Dax(int A){ /* the function to retrieve the value of the Dax (C in Dax) -> return C;/*return the value of the Dax*/ */ } main(){ /*... int date{sc.BaseDateTimeIn[sc.Index].GetHour();}; int Dax(Date);/*Dax value*/ } /*....*/ |