仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
--- General ---
Lots Entry: 0.05 (default)
Lots Recall: 0.01 default
(apply from the 2 ndorder, and the next order’s lot will base on the last order kind, with two way:
Lots Basis: 0.02 (default): All of the order have to consider about lots basis, if the lot be deducted less than the lot basis, then the lot basis will be appllied
Take Profit: --- (default 500, if =0 == > no setting), by points
Stop Loss: --- (default 250, if =0 == >no setting), by points
Close On Reverse Signal: True/False (this item activates onlywhen opposite trade happen, for example: when buy position is running, only close when sell position happen)
Wait for Bar Close: True/False (True: order place only when price open, false: order place whenever the price meet the requirement)
Max Trade: 10 (0 means no limit, >0 means limit maximum trade)
Allow trailing stop: True/false
Trailing activate: 500 points, (means if price hits 500 points profit for example, trailing stop activates)
Trailing distance: 400 points, (means if price hits 500 points profit, trailing stop activates, and distance for trailing is 400 points etc. == > profit keeps at least 100 points)
--- Entry Activation ---
--- Long Position ---
Allow for Buy: True/false: If true: place BUY order immediately or wait for bar close depend on the setting of “Wait for Bar Close” above. No need any condition for the first order
--- Short Position ---
Allow for Sell: True/false: If true: place SELL order immediately or wait for bar close depend on the setting of “Wait for Bar Close” above. No need any condition for the first order
Do not allow order if “Allow for Buy” and “Allow for Sell” both set “True”, or both set “False”
So,
- if Allow for Buyset “True”, then always put Buy for the first order and the following order, don’t allow for Sell order
- if Allow for Sell set “True”, then always put Sell for the first order and the following order, don’t allow for Buy order
Means: always allow 1 way, Buy or Sell
Magic number: 2020
Comment in the trade: “SW-Candle Break Single Way”, can revise the content