Gekko Forum
TSI + Stop loss - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Strategy Development (https://forum.gekko.wizb.it/forum-12.html)
+--- Thread: TSI + Stop loss (/thread-57794.html)



TSI + Stop loss - andyH0r - 12-17-2018

Hi! 
Could you please tell me how I can add function Stop Loss into TSI strategy.
Thanks!


RE: TSI + Stop loss - askmike - 12-18-2018

When you trigger the the advice to buy, you can specify a trailing stop loss. If you do Gekko will make sure it triggers in time. See here for example code: https://gekko.wizb.it/docs/strategies/creating_a_strategy.html#check-function