Support Board
Date/Time: Sun, 24 Nov 2024 22:54:18 +0000
Post From: StepMA
[2014-07-18 00:09:50] |
crazybears - Posts: 314 |
public class StepMA : Indicator
{ //Inputs private int _length = 10; // Volty Length private double _kv = 0.5; // Sensivity Factor private int _stepSize = 20; // Constant Step Size (if need) private int _maType; // Volty MA Mode : 0-SMA, 1-LWMA private double _percentage; // Percentage of Up/Down Moving private double _upDownShift; // Number of Up/Down Moving, in points. For ColorMode==3 only. private bool _highLow; // High/Low Mode Switch (more sensitive) private int _colorMode = 2; // Color Mode Switch private double stepMA, ATR0, ATRmax = -100000, ATRmin = 1000000; private int limit; |