Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 05:13:34 +0000



Post From: Know what Arrays contain data

[2020-07-14 15:43:39]
User681150 - Posts: 62
so the first variable listed as a float (MACD) is not the MACD signal line? so there are only 2 subgraphs in your sc.MACD and no signal?

//Access the individual lines
float MACD = sc.Subgraph[0][sc.Index]; //Access the study value at the current index

do you even need this line in the example? if sc.MACD already outputs to sc.Subgraph[0] cant you leave out the float MACD = sc.Subgraph[0][sc.Index]; from the code?

just trying to understand the logic. the documentation is all over the place in explaining acsil