- ago
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
0
297
Solved
17 Replies

Reply

Bookmark

Sort
Cone8
 ( 5.88% )
- ago
#1
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

0
Cone8
 ( 5.88% )
- ago
#2
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.

0
Best Answer
- ago
#3
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.
0
- ago
#4
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.

0
- ago
#5
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.
0
- ago
#6


These are my settings.

But I expected it to buy here:
0
- ago
#7
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.
0
Glitch8
 ( 9.28% )
- ago
#8
Why not try what Cone posted in Post #1? It's correct.
0
Glitch8
 ( 9.28% )
- ago
#9
Here it is with the exit, with things you need to set annotated in red.

0
- ago
#10
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...
0
- ago
#11
0
Glitch8
 ( 9.28% )
- ago
#13
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.
0
- ago
#14
Only one symbol and one trade per:

0
Glitch8
 ( 9.28% )
- ago
#15
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.
0
- ago
#16
Ok. Thank you. I will give it a try.
0
- ago
#17
Looks like that did it! Thank you.
0

Reply

Bookmark

Sort