I'm starting with Blocks on WL8 and I'm a total noob and just trying to get a toehold, so I know this is a VERY basic question... If I am trading weekly bars and I want to buy on Monday morning on the open if the previous week's high is the highest high in 20 weeks, how would I state that?
I tried Buy Market, but it seems to just execute a trade every week. I don't want to buy stop if the high is breached, I want to buy on the next bar's open if the high is breached.
I'm sure its patently obvious how to do this, but not to me. Yet.
Thanks, Jeff
I tried Buy Market, but it seems to just execute a trade every week. I don't want to buy stop if the high is breached, I want to buy on the next bar's open if the high is breached.
I'm sure its patently obvious how to do this, but not to me. Yet.
Thanks, Jeff
Rename
Click on the Condition Blocks and add a Indicator Compare to Indicator block and change the parameters like below and make sure to run it on Weekly bars (Strategy Settings tab) -
Note that this will just sell at Market the next week unless you add another condition to the Sell at Market signal block.
Soon I'll get the next WealthLab U. video done which will explain this.
https://www.youtube.com/playlist?list=PLcYQ6caO-N5yiSXsCqbDoAHDIdxTgFOEQ
Note that this will just sell at Market the next week unless you add another condition to the Sell at Market signal block.
Soon I'll get the next WealthLab U. video done which will explain this.
https://www.youtube.com/playlist?list=PLcYQ6caO-N5yiSXsCqbDoAHDIdxTgFOEQ
To stay in the Position on consecutive Highest Higs, add another rule like this to only sell when the high is less than the Highest High.
Thank you. So, should I leave the "How Many Bars Ago" set to 0 or 1?
Basically, I only want to buy or sell on Monday morning depending upon the previous week's action.
Basically, I only want to buy or sell on Monday morning depending upon the previous week's action.
Got it figured out... I made it greater than 1 bar ago for the buys and less than 1 bar ago for the sells and the chart matches what I expected.
Nope... take that back. Really having trouble getting it to meet expectations. If I put it to 0 bars ago per your example, no trades.
If I put it to 1 bar ago, I don't get the executions when I imagine I should.
Not sure what I'm not understanding.
If I put it to 1 bar ago, I don't get the executions when I imagine I should.
Not sure what I'm not understanding.
These are my settings.
But I expected it to buy here:
I am baffled. Tried a bunch of different combos that I could think of. I am guessing there is something going on that I don't understand.
Why not try what Cone posted in Post #1? It's correct.
Here it is with the exit, with things you need to set annotated in red.
I guess because I ended up with big stretches where there were trades that weren't triggered that should have been. That's why I tried some other configurations. Sorry, wasn't clear on that...
Let’s see your position size settings. It’s likely you need to add a little margin so you have enough simulated capital for all the trades.
Only one symbol and one trade per:
You’re at 100% of equity like I suspected. Give it a little margin like 1.1 to 1 because otherwise if prices gap up overnight you won’t have enough simulated capital to take all the trades.
Ok. Thank you. I will give it a try.
Looks like that did it! Thank you.
Your Response
Post
Edit Post
Login is required