09-03-2018, 04:58 AM
Quote:So you specify your target gain with the trigger, e.g. a target of +1% and the trailing will narrow when the target is reached. So it starts with a trailing of 2% for example and narrows the trailing to 0.2% when the price reaches 1.2% gain. So the price is still able to climb and trails but on a further small price drop it will sell and save the target gain.
Very cool!
Quote:Did pretty much trailing stop loss coding/testing last days. Just adding it into any existing strategy will optimize a couple of percent, at least what I have tested. So I was thinking of a strategy to take real advantage of this feature. @askmike, what are your use cases for this feature?
The biggest one being risk management: Gekko strategies should be trying to ride trends upwards, however after going "all in" riding the trend strategies need some ways to dynamically control risk. People have been asking for stop losses for years, and people have been implementing them inside their strategies up until now. Note that stoplosses aren't new or anything, I just noticed that a lot of people want them so I added them. Having them native and not in a strategy opens a lot of doors, such as using native stop losses on exchanges that support them (currently not done yet, but planned in the future).
That said I am trying to not take part in the debate on what indicators / strategies are good and what is bad. A stop loss is a tool that traders have been using for decades. As such I want people who use Gekko to have the ability to use them. I think that they make sense in a lot of scenarios, but you can always get stopped by a flash crash before the price continues to go up. There are definitely scenarios where they cause more harm than good.