- ago
Hello,

I have a question regarding Building Blocks strategies. Let’s assume I trade a simple strategy where I buy when the RSI is below 30 and I sell after 5 days.

Now I want to add another condition – I want to buy only when the Close is not more than 5% below the Close of yesterday. So for example when the Close is 10% below yesterdays Close the strategy should not buy. Is it possible to realize this as Building Block strategy?

Best Regards
Matthias
0
766
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
Hello Matthias,

"Not more than 5% below" can be rephrased as "Greater than or equal" to Close[idx - 1] * 0.95. You can accomplish this with Transformer indicators. In particular, MathIndOpValue can be configured to multiply the Close by 0.95. Finally, set "How many bars ago" to 1 instead of 0 to refer to yesterday's value:

0
Best Answer
- ago
#2
Very good, thanks for your quick answer, Eugene.


0

Reply

Bookmark

Sort