J Li
1 min readAug 30, 2018

--

if (self.rsi[0] > 70):
self.log('SELL CREATE, %.2f' % self.dataclose[0])
self.order = self.sell(size=500)

Like this. It sells when RSI is greater than 70. Of course, you can have more technical indicators combined with your own logic for your exit criteria.

--

--

Responses (1)