Support Board
Date/Time: Sun, 22 Dec 2024 05:43:39 +0000
Post From: help with autotradeexample1.cpp
[2015-07-24 16:19:21] |
User476077 - Posts: 2 |
Yes, that's the page I have a question about. How do I make line1ref and line2ref point to the 20 SMA and 50 SMA? Do I need to manually add them to the chart and then add this study? Regards, Gopal // using the line1Ref and line2Ref input variables, retrieve the subgraph arrays into line1, // line2 arrays respectively SCFloatArray line1; sc.GetStudyArrayUsingID(line1Ref.GetStudyID(), line1Ref.GetSubgraphIndex(), line1); SCFloatArray line2; sc.GetStudyArrayUsingID(line2Ref.GetStudyID(), line2Ref.GetSubgraphIndex(), line2); |