Skip to content

Commit

Permalink
Nit change
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinovsky committed Nov 7, 2024
1 parent 894a60e commit 08dbcdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indicators/CommodityChannelIndex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected override decimal ComputeNextValue(IBaseDataBar input)
return 0.0m;
}

return Extensions.SafeDivision(typicalPrice - TypicalPriceAverage.Current.Value, weightedMeanDeviation, Current.Value);
return (typicalPrice - TypicalPriceAverage.Current.Value).SafeDivision(weightedMeanDeviation, Current.Value);
}

/// <summary>
Expand Down

0 comments on commit 08dbcdd

Please sign in to comment.