Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 20:20:13 +0000



Post From: How to compare EMA to price?

[2014-05-21 20:36:53]
User12676 - Posts: 70
I think the problem is that after initialization of the EMA array, I cannot even see it on the chart. Yes i have it defined

SCSubgraphRef ExponentialMA = sc.Subgraph[1];
ExponentialMA.Name = "Exponential Moving Average";
ExponentialMA.DrawStyle = DRAWSTYLE_LINE;
ExponentialMA.PrimaryColor = RGB(255,0,255);
sc.SimpleMovAvg(sc.BaseDataIn[SC_LAST], ExponentialMA, 20);

How come I don't see it on the chart?