PureBytes Links
Trading Reference Links
|
and a few more....do you put your buy setup in col1 and the intersection in
colb and do =1 for both....sorry for the ignorance....
>
> -- Seq *Setup, Intersection for Buys & Sells, ALERT
>--
>
>{Holds Buy OR Sell Setup TRUE for 5 days, in order to catch Intersections
>which occur AFTER Setup day #9}
>
> {--BUY Setup, Intersection--}
>
>If(
> {BUY SETUP}
>
>Alert(
>If((C < Ref(C,-4) AND
>Ref(C,-1) < Ref(C,-5) AND
>Ref(C,-2) < Ref(C,-6) AND
>Ref(C,-3) < Ref(C,-7) AND
>Ref(C,-4) < Ref(C,-8) AND
>Ref(C,-5) < Ref(C,-9) AND
>Ref(C,-6) < Ref(C,-10) AND
>Ref(C,-7) < Ref(C,-11) AND
>Ref(C,-8) < Ref(C,-12) AND
>{Validation Day}
>Ref(C,-9) > Ref(C,-13) ),1,0) = 1 ,5 {hold true for 5 days} )
>
>AND
>
>If(
> {BUY Intersection, Part A}
>
>H >= Ref(L,-3) OR
>H >= Ref(L,-4) OR
>H >= Ref(L,-5) OR
>H >= Ref(L,-6) OR
>H >= Ref(L,-7) OR
>H >= Ref(L,-8) ,1,0) = 1 ,1,0)
>
> OR
>
>If(
> {BUY SETUP}
>
>Alert(
>If((C < Ref(C,-4) AND
>Ref(C,-1) < Ref(C,-5) AND
>Ref(C,-2) < Ref(C,-6) AND
>Ref(C,-3) < Ref(C,-7) AND
>Ref(C,-4) < Ref(C,-8) AND
>Ref(C,-5) < Ref(C,-9) AND
>Ref(C,-6) < Ref(C,-10) AND
>Ref(C,-7) < Ref(C,-11) AND
>Ref(C,-8) < Ref(C,-12) AND
>{Validation Day}
>Ref(C,-9) > Ref(C,-13) ) ,1,0) = 1 ,5 {hold true for 5 days} )
>
>AND
>If(
> {BUY Intersection, Part B- Yesterday's high}
>
>Ref(H,-1) >= Ref(L,-4) OR
>Ref(H,-1) >= Ref(L,-5) OR
>Ref(H,-1) >= Ref(L,-6) OR
>Ref(H,-1) >= Ref(L,-7) OR
>Ref(H,-1) >= Ref(L,-8) ,1,0) = 1 ,1,0) ;
>
> {----------------------}
>
> {--SELL Setup, Intersection--}
>If(
> {SELL SETUP}
>
>Alert(
>If((C > Ref(C,-4) AND
>Ref(C,-1) > Ref(C,-5) AND
>Ref(C,-2) > Ref(C,-6) AND
>Ref(C,-3) > Ref(C,-7) AND
>Ref(C,-4) > Ref(C,-8) AND
>Ref(C,-5) > Ref(C,-9) AND
>Ref(C,-6) > Ref(C,-10) AND
>Ref(C,-7) > Ref(C,-11) AND
>Ref(C,-8) > Ref(C,-12) AND
>{Validation Day}
>Ref(C,-9) < Ref(C,-13) ),1,0) = 1 ,5 {hold true for 5 days} )
>
>AND
>If(
> {SELL Intersection, PART A}
>
>L <= Ref(H,-3) OR
>L <= Ref(H,-4) OR
>L <= Ref(H,-5) OR
>L <= Ref(H,-6) OR
>L <= Ref(H,-7) OR
>L <= Ref(H,-8) ,1,0) = 1 ,1,0)
>
>OR
>
>If(
> {SELL SETUP}
>
>Alert(
>If((C > Ref(C,-4) AND
>Ref(C,-1) > Ref(C,-5) AND
>Ref(C,-2) > Ref(C,-6) AND
>Ref(C,-3) > Ref(C,-7) AND
>Ref(C,-4) > Ref(C,-8) AND
>Ref(C,-5) > Ref(C,-9) AND
>Ref(C,-6) > Ref(C,-10) AND
>Ref(C,-7) > Ref(C,-11) AND
>Ref(C,-8) > Ref(C,-12) AND
>{Validation Day}
>Ref(C,-9) < Ref(C,-13) ),1,0) = 1 ,5 {hold true for 5 days} )
>
>AND
>If(
> {SELL Intersection, PART B}
>
>Ref(L,-1) <= Ref(H,-4) OR
>Ref(L,-1) <= Ref(H,-5) OR
>Ref(L,-1) <= Ref(H,-6) OR
>Ref(L,-1) <= Ref(H,-7) OR
>Ref(L,-1) <= Ref(H,-8) ,1,0) = 1 ,1,0)
>
*********************************************
Have a nice day
Jim Kerwin
Atlanta, Georgia U.S.A.
*********************************************
|