- ago
Using Wealth Lab's drag and drop interface, how can I add a constraint to only buy if the close is within X pct of the lowest of the past N bars?

I think my question may easily be misunderstood so let me give an example:
- Buy only if the close is within 30% of the lowest of the past 80 bars.
- In this case, the lowest of the past 80 bars is $10.00, so we would only buy if the price is below $13.

Is there an easy way to add this constraint?
0
721
Solved
2 Replies

Reply

Bookmark

Sort
Glitch8
 ( 11.64% )
- ago
#1
You'd use Indicator Compare to Indicator, Close compared to a MathIndOpValue composed like this:

0
Best Answer
- ago
#2
Great. Thanks for your help!
0

Reply

Bookmark

Sort