Support Board
Date/Time: Sun, 28 Apr 2024 01:01:25 +0000
[Programming Help] - Step Moving Average
View Count: 709
[2020-02-12 13:00:42] |
User175246 - Posts: 3 |
Hi Board, I have the code for the StepMA, but after I have when I compiled it and loaded on my chart I am unable to select the moving average type. I would like to use the WMA, but in the drop down menu I cannot see any MA. Attached is the code for the StepMA, would you please have a look at it and let me know what is wrong with it. With the following settings the StepMA should look like the attached image from NT7 instead lit looks like this http://www.sierrachart.com/image.php?Image=1581512160176.png Period Lenght = 110 Step size Option = 10 Volatility factor= 1.25 Percentage =0 MovAv Type= WMA Date Time Of Last Edit: 2020-02-12 23:33:52
|
Screen Shot 2020-02-12 at 8.48.16 pm.png / V - Attached On 2020-02-12 12:49:12 UTC - Size: 104.71 KB - 257 views StepMa.cpp - Attached On 2020-02-12 12:51:37 UTC - Size: 3.7 KB - 249 views |
[2020-02-12 13:19:44] |
User907968 - Posts: 802 |
I am unable to select the moving average type.
ACSIL Interface Members - sc.Input Array ACSIL Interface Members - sc.Input Array: sc.Input[].SetMovAvgType() ACSIL Interface Members - sc.Input Array: sc.Input[].GetMovAvgType() |
[2020-02-12 23:41:28] |
User175246 - Posts: 3 |
Hi There, thank you for your reply. However, I am not a programmer and I am not sure how to change the script. Looking at the function for selecting the moving average (sc.Input[3].SetMovAvgType(MOVAVGTYPE_SIMPLE); I am not sure that it would be just as simple as changing a line in the script. Any chance someone can actually modify the script to correctly showing the option to select the different MAs? That would be greatly appreciated. Thank you for your time. AG |
To post a message in this thread, you need to log in with your Sierra Chart account: