takeProfitPrice method

C takeProfitPrice(
  1. double takeProfitPrice
)

Implementation

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