mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
strategy/supertrend: update doc
This commit is contained in:
parent
2de16ac7d1
commit
1489759cf0
|
@ -76,5 +76,5 @@ exchangeStrategies:
|
|||
# Protective stop loss
|
||||
- protectiveStopLoss:
|
||||
activationRatio: 0.6%
|
||||
stopLossRatio: 1%
|
||||
stopLossRatio: -2%
|
||||
placeStopOrder: false
|
||||
|
|
|
@ -23,12 +23,30 @@ Supertrend strategy needs margin enabled in order to submit short orders, and yo
|
|||
- The MA window of the ATR indicator used by Supertrend.
|
||||
- `averageTrueRangeMultiplier`
|
||||
- Multiplier for calculating upper and lower bond prices, the higher, the stronger the trends are, but also makes it less sensitive.
|
||||
- `takeProfitMultiplier`
|
||||
- `linearRegression`
|
||||
- Use linear regression as trend confirmation
|
||||
- `interval`
|
||||
- Time interval of linear regression
|
||||
- `window`
|
||||
- Window of linear regression
|
||||
- `takeProfitAtrMultiplier`
|
||||
- TP according to ATR multiple, 0 to disable this.
|
||||
- `stopLossByTriggeringK`
|
||||
- Set SL price to the low of the triggering Kline.
|
||||
- `tpslBySignal`
|
||||
- TP/SL by reversed signals.
|
||||
- Set SL price to the low/high of the triggering Kline.
|
||||
- `stopByReversedSupertrend`
|
||||
- TP/SL by reversed supertrend signal.
|
||||
- `stopByReversedDema`
|
||||
- TP/SL by reversed DEMA signal.
|
||||
- `stopByReversedLinGre`
|
||||
- TP/SL by reversed linear regression signal.
|
||||
- `exits`
|
||||
- Exit methods to TP/SL
|
||||
- `protectiveStopLoss`
|
||||
- Protective stop loss
|
||||
- `activationRatio`
|
||||
- Ratio to activate the order
|
||||
- `stopLossRatio`
|
||||
- Ratio to stop loss (or take profit)
|
||||
|
||||
|
||||
#### Examples
|
||||
|
|
Loading…
Reference in New Issue
Block a user