- ago
Using Building Blocks to quick test something.

Assumptions (for discussion purposes):
- Single position
- Long only
- Only 1 exit rule: Sell at Stop

I want to exit the long position using a Stop of, say, 0.05 points below the Low of (n) bars ago; n may be 1, 2, 5, whatever.
Using the Lowest method doesn't cut it as I specifically want to use the value of the series (n) bars ago e.g. Low[idx - 4] - 0.05.

Please advise how to make that happen as I have not been able to figure it out.
0
247
Solved
6 Replies

Reply

Bookmark

Sort
- ago
#1
What about the PowerPack > "Sell/Cover at Limit/Stop at Entry Lookback", parameter "Bars before entry bar"?
0
Cone8
 ( 26.65% )
- ago
#2
The Power Pack rule will only work for a static stop price, but if this is supposed to be the only exit rule, surely it needs to follow price.

"Sell at Limit or Stop" is the right rule, but it needs a "Bars ago" parameter.

I'm afraid that for now, the closest you can come with the blocks is Sell At Stop at the Lowest(Low, 4).
0
- ago
#3
A "Bars ago" parameter would be helpful, hope it gets implemented soon.

And to kick it up a notch...
If the lookback period can be incrementally shortened with each passing bar that would be very useful, too.

P.S. Currently, one can only specify Percentage above/below the level for Stop, perhaps it can be modified to specify Point/Tick as well?
0
Glitch8
 ( 8.38% )
- ago
#4
This should do it ... but it's Percentage and not Point based.

2
Best Answer
- ago
#5
Thanks.
*Do* consider expanding the Percentage field to include Point values also. TIA.
0
Glitch8
 ( 8.38% )
- ago
#6
We will, sounds like a good enhancement.
1

Reply

Bookmark

Sort