九毛八公式指标
要求AA同时上穿A1 A2 A3 A4 A5 A6 Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; Q3:=SMA(Q2, 9, 1); Q4:=SMA(Q3, 3, 1); AA:3*Q3-2*Q4, ,COLOR7FFF00; Q5:=AA>1*REF(AA, 1); Q6:=LLVBARS(LOW, 50); Q7:=SUM(VOL, Q6); Q8:=HHVBARS(HIGH, 50); Q9:=SUM(VOL, Q8); Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100; Q11:=HHV(AA,5); A1:EMA(Q3, 3) , COLORFFDDCC; A2:EMA(A1, 3) , COLORFFBBCC; A3:EMA(A2, 3) , COLORFF99CC; A4:EMA(A3, 3) , COLORFF55CC; A5:EMA(A4, 3) , COLORFF33CC; A6:EMA(A5, 3) , COLORFF11CC; A:EMA(A4, 3), , COLORFF00CC; DRAWTEXT(CROSS(AA, 20) AND Q10<-13,10,'☆底'), COLOR00FF00; DRAWTEXT(CROSS(AA, A5) AND REF(AA,1)<34,REF(AA,1),'☆发财'), COLORRED ; DRAWTEXT(CROSS(A1, AA) AND REF(AA,1)>80, REF(AA,3), '☆闪'), COLORCFB53B ; DRAWTEXT(CROSS(AA, A1) AND Q5 AND A1<20 and q1>9 OR A1>1*REF(A1, 1) AND Q1>4 AND A1<60, 30, ''), COLORFFFFCC;R1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; R2:=SMA(R1,9,1)+100; R3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; R4:=SMA(R3,3,1); R5:=SMA(R4,3,1)+100; R6:=R5-R2;
公式模块:
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1); Q4:=SMA(Q3, 3, 1); AA:=3*Q3-2*Q4; A1:=EMA(Q3, 3); A2:=EMA(A1, 3); A3:=EMA(A2, 3); A4:=EMA(A3, 3); A5:=EMA(A4, 3); A6:=EMA(A5, 3); XG:crOSS(AA,A1) AND CROSS(AA,A2) AND CROSS(AA,A3) AND CROSS(AA,A4) AND CROSS(AA,A5) AND CROSS(AA,A6);
20>