Hello,
What I want to achieve: The day the stocks are bought, if the price closes above a certain profit target, they are sold at close. I created this building block:
SELL NEXT BAR AT MARKET CLOSE (SAME BAR = CHECKED)
Condition block:
CLOSE IS 2% ABOVE OPEN OF 0 BARS AGO
Does this do the trick? Or is it peeking into the future?
Thank you,
Werner
What I want to achieve: The day the stocks are bought, if the price closes above a certain profit target, they are sold at close. I created this building block:
SELL NEXT BAR AT MARKET CLOSE (SAME BAR = CHECKED)
Condition block:
CLOSE IS 2% ABOVE OPEN OF 0 BARS AGO
Does this do the trick? Or is it peeking into the future?
Thank you,
Werner
Rename
Did you add the "1 Bar in Future" (Qualifiers > PowerPack) to that condition?
If so, you only need to backtest it and check that it did what you expected.
If so, you only need to backtest it and check that it did what you expected.
Ok, thanks!
Your Response
Post
Edit Post
Login is required