stopLossPips method

C stopLossPips(
  1. double stopLossPips
)

Implementation

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