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?
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?
Rename
You'd use Indicator Compare to Indicator, Close compared to a MathIndOpValue composed like this:
Great. Thanks for your help!
Your Response
Post
Edit Post
Login is required