/// <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); }
/// <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(); }