def getImpl(self): from marketsim.gen._out.ops._sub import Sub_FloatFloat as _ops_Sub_FloatFloat from marketsim.gen._out.math._value import Value_mathmacd as _math_Value_mathmacd from marketsim import deref_opt from marketsim.gen._out.math._signal import Signal_mathmacdFloatFloat as _math_Signal_mathmacdFloatFloat return deref_opt( _ops_Sub_FloatFloat( deref_opt(_math_Value_mathmacd(self.x)), deref_opt( _math_Signal_mathmacdFloatFloat(self.x, self.timeframe, self.step))))
def getImpl(self): from marketsim.gen._out.ops._sub import Sub_FloatFloat as _ops_Sub_FloatFloat from marketsim.gen._out.math._value import Value_mathmacd as _math_Value_mathmacd from marketsim import deref_opt from marketsim.gen._out.math._signal import Signal_mathmacdFloatFloat as _math_Signal_mathmacdFloatFloat return deref_opt( _ops_Sub_FloatFloat( deref_opt(_math_Value_mathmacd(self.x)), deref_opt(_math_Signal_mathmacdFloatFloat(self.x, self.timeframe, self.step)), ) )
def getImpl(self): from marketsim.gen._out.math._value import Value_mathmacd as _math_Value_mathmacd from marketsim.gen._out.math._avg import Avg_mathEW as _math_Avg_mathEW from marketsim.gen._out.observable._oneverydt import OnEveryDt_FloatFloat as _observable_OnEveryDt_FloatFloat from marketsim.gen._out.math._ew import EW_IObservableFloatFloat as _math_EW_IObservableFloatFloat from marketsim import deref_opt return deref_opt( _math_Avg_mathEW( deref_opt( _math_EW_IObservableFloatFloat( deref_opt( _observable_OnEveryDt_FloatFloat( deref_opt(_math_Value_mathmacd(self.x)), self.step)), (2 / ((self.timeframe + 1)))))))
def getImpl(self): from marketsim.gen._out.math._value import Value_mathmacd as _math_Value_mathmacd from marketsim.gen._out.math._avg import Avg_mathEW as _math_Avg_mathEW from marketsim.gen._out.observable._oneverydt import OnEveryDt_FloatFloat as _observable_OnEveryDt_FloatFloat from marketsim.gen._out.math._ew import EW_IObservableFloatFloat as _math_EW_IObservableFloatFloat from marketsim import deref_opt return deref_opt(_math_Avg_mathEW(deref_opt(_math_EW_IObservableFloatFloat(deref_opt(_observable_OnEveryDt_FloatFloat(deref_opt(_math_Value_mathmacd(self.x)),self.step)),(2/((self.timeframe+1)))))))