takeProfitAmount method
Implementation
C takeProfitAmount(double takeProfitAmount) {
return patchState(MatexBaseCoreState(
takeProfitPrice: 0.0,
takeProfitPips: 0.0,
takeProfitAmount: sanitizeDouble(takeProfitAmount),
));
}
C takeProfitAmount(double takeProfitAmount) {
return patchState(MatexBaseCoreState(
takeProfitPrice: 0.0,
takeProfitPips: 0.0,
takeProfitAmount: sanitizeDouble(takeProfitAmount),
));
}