Support Board
Date/Time: Thu, 06 Nov 2025 17:23:15 +0000
Post From: ASCII code to get a value from the study Trading: Position Quantity
| [2020-04-13 04:56:04] |
| User807787 - Posts: 41 |
|
I am making a custom study and want to pull the value from the study "Trading: Position Quantity" I am kind of clueless at this point: SCFloatArray SubgraphArray; sc.GetStudyArrayUsingID(11, 1, SubgraphArray); //11 is the study ID, 1 is the subgraph index float StudyValue = SubgraphArray[SubgraphArray.GetArraySize() - 1]; StudyValue should be the current position size? NOT SURE!!! It is returning 1, regardless of my current position size. THANKS FOR ANY HELP!!!!! |
