From 20955ad7dab32ab5fce6528d549f545eb6fdf202 Mon Sep 17 00:00:00 2001 From: Andy Cheng Date: Wed, 6 Jul 2022 14:27:50 +0800 Subject: [PATCH] strategy/supertrend: update doc --- config/supertrend.yaml | 8 +++----- doc/strategy/supertrend.md | 9 +++------ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/config/supertrend.yaml b/config/supertrend.yaml index 91f0a5b4f..d0cd94042 100644 --- a/config/supertrend.yaml +++ b/config/supertrend.yaml @@ -73,8 +73,6 @@ exchangeStrategies: stopByReversedLinGre: false exits: - # Protective stop loss - - protectiveStopLoss: - activationRatio: 0.6% - stopLossRatio: -2% - placeStopOrder: false + # roiStopLoss is the stop loss percentage of the position ROI (currently the price change) + - roiStopLoss: + percentage: 5% diff --git a/doc/strategy/supertrend.md b/doc/strategy/supertrend.md index f67ccae31..76fd08fd8 100644 --- a/doc/strategy/supertrend.md +++ b/doc/strategy/supertrend.md @@ -41,12 +41,9 @@ Supertrend strategy needs margin enabled in order to submit short orders, and yo - 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) + - `roiStopLoss` + - The stop loss percentage of the position ROI (currently the price change) + - `percentage` #### Examples