photo

Alex Regner


Last seen: 2 years 前 自 2022 起处于活动状态

Followers: 0   Following: 0

统计学

Feeds

排序方式:

提问


How can I add a stop loss and take profit for algorithmic trading in MATLAB?
s = zeros(size(S1Close1)); sl1 = cctbbo20L < BBosline; ss1 = cctbbo20S > BBobline; sl2 = MA2>=DEMA; ss2 = MA2<=DEMA; sl3 = ...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Check if condition happened in previous values
cctbbo = 100.*(Close + 2.*movstd(Close,[BBOlength 0]) - movavg(Close, 'simple', BBOMAlength ))./(4 .*movstd(Close,[BBOlength 0])...

3 years 前 | 1 个回答 | 0

1

个回答