mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy/supertrend: update doc
This commit is contained in:
parent
2de16ac7d1
commit
1489759cf0
|
@ -76,5 +76,5 @@ exchangeStrategies:
|
||||||
# Protective stop loss
|
# Protective stop loss
|
||||||
- protectiveStopLoss:
|
- protectiveStopLoss:
|
||||||
activationRatio: 0.6%
|
activationRatio: 0.6%
|
||||||
stopLossRatio: 1%
|
stopLossRatio: -2%
|
||||||
placeStopOrder: false
|
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.
|
- The MA window of the ATR indicator used by Supertrend.
|
||||||
- `averageTrueRangeMultiplier`
|
- `averageTrueRangeMultiplier`
|
||||||
- Multiplier for calculating upper and lower bond prices, the higher, the stronger the trends are, but also makes it less sensitive.
|
- 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.
|
- TP according to ATR multiple, 0 to disable this.
|
||||||
- `stopLossByTriggeringK`
|
- `stopLossByTriggeringK`
|
||||||
- Set SL price to the low of the triggering Kline.
|
- Set SL price to the low/high of the triggering Kline.
|
||||||
- `tpslBySignal`
|
- `stopByReversedSupertrend`
|
||||||
- TP/SL by reversed signals.
|
- 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
|
#### Examples
|
||||||
|
|
Loading…
Reference in New Issue
Block a user