mrsic8
 ( 9.54% )
- ago
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.
0
418
Solved
8 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.41% )
- ago
#1
That's exactly what ConsecUp/ConsecDown provides, why is it not what you're looking for?
0
mrsic8
 ( 9.54% )
- ago
#2
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.
0
Glitch8
 ( 10.41% )
- ago
#3
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.
0
- ago
#4
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
0
mrsic8
 ( 9.54% )
- ago
#5
@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.





0
Glitch8
 ( 10.41% )
- ago
#7
Use Indicator Compare to Value and set Value to 3 with ConsecUp:

0
Best Answer
mrsic8
 ( 9.54% )
- ago
#8
Thanks Glitch, works fine.
0

Reply

Bookmark

Sort