Hello!!! i need formula for exploration of 4 inside day bar....
Thanks in advance
it is a little confusing.
so i will make a few combinations.
here inside() function can be used with reference time line, but i prefer using high and low values to using the inside bar definition by metastock.
1. if this '4 inside day bar....' is to be understood as 'FOR inside day', then the formula will be
H<Ref(H,-1) AND L>Ref(L,-1)
2. if it is for inside day 4 bars BEFORE, then the formula will be
Ref(H,-4)<Ref(H,-5) AND Ref(L,-4)>Ref(L,-5)
3. if ALL 4 bars should be inside, then it will be like a closed triangle.
H<Ref(H,-1) AND Ref(H,-1)<Ref(H,-2) AND Ref(H,-2)<Ref(H,-3) AND Ref(H,-3)<Ref(H,-4) AND L>Ref(L,-1) AND Ref(L,-1)>Ref(L,-2) AND Ref(L,-2)>Ref(L,-3) AND Ref(L,-3)>Ref(L,-4)
regards
purush