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
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
Rename
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:
"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:
Very good, thanks for your quick answer, Eugene.
Your Response
Post
Edit Post
Login is required