Esempio n. 1
0
 protected override decimal Calculate(int index)
 {
     return(_avgPlusDMindicator.GetValue(index).DividedBy(_atrIndicator.GetValue(index)).MultipliedBy(Decimals.HUNDRED));
 }
 protected override decimal Calculate(int index)
 {
     return(_keltnerMiddleIndicator.GetValue(index).Minus(_ratio.MultipliedBy(_averageTrueRangeIndicator.GetValue(index))));
 }