Fibonacci Indicator
Inheritance: Indicator
コード例 #1
0
 /// <summary>
 /// Initial parameters
 /// </summary>
 private void InitParams()
 {
     var fibo = new Fibonacci(SlotTypes.Close);
     fibo.Calculate(SlotTypes.Close);
     AtbxInputValues[0].Text = fibo.Component[5].Value[Data.Bars - 1].ToString(CultureInfo.InvariantCulture);
     AtbxInputValues[1].Text = fibo.Component[1].Value[Data.Bars - 1].ToString(CultureInfo.InvariantCulture);
 }
コード例 #2
0
 /// <summary>
 /// Initial parameters
 /// </summary>
 private void InitParams()
 {
     Fibonacci fibo = new Fibonacci(SlotTypes.Close);
     fibo.Calculate(SlotTypes.Close);
     atbxInputValues[0].Text = fibo.Component[5].Value[Data.Bars -1].ToString();
     atbxInputValues[1].Text = fibo.Component[1].Value[Data.Bars -1].ToString();
 }