Support Board
Date/Time: Sat, 08 Feb 2025 02:06:54 +0000
Post From: Calculate a moving average based on a custom variable
[2020-06-16 19:38:48] |
MattK - Posts: 42 |
I'm trying to create a moving average based on a custom variable but can't make it work. Is it not possible to do or am I just doing it wrong? Thanks float realBody = sc.BaseData[SC_OPEN][sc.Index]-sc.BaseData[SC_CLOSE][sc.Index]; sc.MovingAverage(realBody, MABody10Subgraph, MOVAVGTYPE_SIMPLE, 10); |