photo

Alex Regner


Last seen: 3 years ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
111,130
of 297,503

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 20,449

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 159,017

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer