Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 04:44:30 +0000



Post From: custom indicator AC

[2013-06-07 12:58:37]
vegasfoster - Posts: 444
I dunno about the other code, but to match the original formula, add a Temp6 subgraph, change the last line, and add another line as follows:

SCSubgraphRef Temp6 = sc.Subgraph[6];

sc.SimpleMovAvg(Temp5, Temp6, MA4Length.GetInt());
ACDC[sc.Index] = Temp5[sc.Index] - Temp6[sc.Index];
Date Time Of Last Edit: 2013-06-07 12:59:06