Hello,
does anyone know which conditions or rule has "price decrease/increase a consecutive numbers of bars?"
I have checked ConsecUp or Down, that is not what I am looking for.
does anyone know which conditions or rule has "price decrease/increase a consecutive numbers of bars?"
I have checked ConsecUp or Down, that is not what I am looking for.
Rename
That's exactly what ConsecUp/ConsecDown provides, why is it not what you're looking for?
I checked that again. Value means the number of bars. Correct?
I thought value means he's considering stocks that only have a certain value, e.g. Value = $5. I mixed it up and thought that value should be equated with a price action.
I thought value means he's considering stocks that only have a certain value, e.g. Value = $5. I mixed it up and thought that value should be equated with a price action.
The indicator parameter value is the number of bars ago. So just pass 1 to get the number of consecutive up/down bars (up/down from 1 bar ago.) The Building Block "Value" is the number of consecutive bars, so use 3.
Another possible way is:
* Price increased (decreased) a consecutive number of bars = Indicator Compare to Indicator, choose a Price (e.g. Close, AverageHL) as both "Indicators" + add Qualifier "For N Consecutive Bars"
Make sure you set "How many bars ago" to 1 (i.e. greater than 0).
Source: https://wl6.wealth-lab.com/Forum/Posts/Rules-WL6-gt-Building-Blocks-WL7-40617
* Price increased (decreased) a consecutive number of bars = Indicator Compare to Indicator, choose a Price (e.g. Close, AverageHL) as both "Indicators" + add Qualifier "For N Consecutive Bars"
Make sure you set "How many bars ago" to 1 (i.e. greater than 0).
Source: https://wl6.wealth-lab.com/Forum/Posts/Rules-WL6-gt-Building-Blocks-WL7-40617
@Glitch 1 means a signal appears after each day, to buy on the second day. But I would like to have prices rising three days in a row in order to buy on the fourth day on open.
I did try it with "For N Consecutive Bars". But no Signals appers.
See attachment.
@Eugene. Will test it.
I've tried that, but I also get signals when prices are falling.
I did try it with "For N Consecutive Bars". But no Signals appers.
See attachment.
@Eugene. Will test it.
I've tried that, but I also get signals when prices are falling.
Use Indicator Compare to Value and set Value to 3 with ConsecUp:
Thanks Glitch, works fine.
Your Response
Post
Edit Post
Login is required