File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public JurikMovingAverage()
5252 /// <inheritdoc />
5353 protected override decimal ? OnProcessDecimal ( IIndicatorValue input )
5454 {
55- var price = input . GetValue < decimal > ( ) ;
55+ var price = input . ToDecimal ( ) ;
5656
5757 if ( ! IsFormed && input . IsFinal )
5858 {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public KalmanFilter()
7373 /// <inheritdoc />
7474 protected override decimal ? OnProcessDecimal ( IIndicatorValue input )
7575 {
76- var value = input . GetValue < decimal > ( ) ;
76+ var value = input . ToDecimal ( ) ;
7777
7878 if ( _lastEstimate == null )
7979 {
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public class KasePeakOscillatorPart : LengthIndicator<decimal>
166166 /// <inheritdoc />
167167 protected override decimal ? OnProcessDecimal ( IIndicatorValue input )
168168 {
169- var value = input . GetValue < decimal > ( ) ;
169+ var value = input . ToDecimal ( ) ;
170170
171171 if ( input . IsFinal )
172172 Buffer . PushBack ( value ) ;
Original file line number Diff line number Diff line change @@ -626,7 +626,7 @@ public static void ValidateValue(this IIndicatorValue value)
626626 if ( v . IsEmpty )
627627 return ;
628628
629- var dec = v . GetValue < decimal > ( ) ;
629+ var dec = v . ToDecimal ( ) ;
630630 var range = _validators . SafeAdd ( v . Indicator . Measure ) ;
631631 range . Contains ( dec ) . AssertTrue ( ) ;
632632 } ) ;
You can’t perform that action at this time.
0 commit comments