hey everyone
as you see in the picture
i need an indicator that give a signal when the following happen
let's say we have a day (( day 1 )) and it finished
--- then the next day ( day 2 ) made a high ( point number 2 ) higher than day 1 high ( point number 1 ) and day 2 close ( point number 3 ) was lower than day 1 high
---- then when day 2 finished day 3 made a high ( point 4 ) higher than day 2 high ( point 2 ) and day 3 close ( point 5 ) was lower than day 2 high ( point 2 )
--- then when day 3 finished day 4 made a high ( point 6 ) higher than day 2 high ( point 4) and day 4 close ( point 7 ) was lower than day 3 high ( point 4 )
**** the case is : That a day make a high higher than yesterday high but it close lower than yesterday high
and i want to see when this happen in a sequential order
i want the indicator with one parameter called (( number of days ))
if i make the parameter 1 then the signal will appear above day 2 after it closes
if i make the parameter 2 then the signal will appear above day 3 after it closes ( 2 mean that the case happen in 2 constitutive days )
if i make the parameter 3 then the signal will appear above day 4 after it closes (3 mean that the case happen in 3 constitutive days )
waiting your help
as you see in the picture
i need an indicator that give a signal when the following happen
let's say we have a day (( day 1 )) and it finished
--- then the next day ( day 2 ) made a high ( point number 2 ) higher than day 1 high ( point number 1 ) and day 2 close ( point number 3 ) was lower than day 1 high
---- then when day 2 finished day 3 made a high ( point 4 ) higher than day 2 high ( point 2 ) and day 3 close ( point 5 ) was lower than day 2 high ( point 2 )
--- then when day 3 finished day 4 made a high ( point 6 ) higher than day 2 high ( point 4) and day 4 close ( point 7 ) was lower than day 3 high ( point 4 )
**** the case is : That a day make a high higher than yesterday high but it close lower than yesterday high
and i want to see when this happen in a sequential order
i want the indicator with one parameter called (( number of days ))
if i make the parameter 1 then the signal will appear above day 2 after it closes
if i make the parameter 2 then the signal will appear above day 3 after it closes ( 2 mean that the case happen in 2 constitutive days )
if i make the parameter 3 then the signal will appear above day 4 after it closes (3 mean that the case happen in 3 constitutive days )
waiting your help