stopLossAmount method

C stopLossAmount(
  1. double stopLossAmount
)

Implementation

C stopLossAmount(double stopLossAmount) {
  return patchState(MatexBaseCoreState(
    stopLossPrice: 0.0,
    stopLossPips: 0.0,
    stopLossAmount: sanitizeDouble(stopLossAmount),
  ));
}