九毛八公式指标
A:=DRAWLINE(LOW<=LLV(LOW,120),LOW,HHV(H,6)<=HHV(H,10),LLV(LOW,6),1), COLORBLUE ,LINETHICK2; TY:=C; VAR0:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4; 界点:=MA(CLOSE,43),COLORFFFFFF,LINETHICK2; 突破买入:REF(EMA(C,14),1),NODRAW; 持股操盘区:IF(VAR0>REF(VAR0,2),VAR0,DRAWNULL), COLORRED, LINETHICK2; 持币观望区:IF(VAR0D AND D0,O ,C ,0.5,0 ),COLORRED; STICKLINE(角度<0,O ,C,0.5 ,0 ),COLORCYAN; STICKLINE(角度<0,O,C,3,0),COLORFF6600;{蓝K线持币} STICKLINE(角度<0,O,C,2,0),COLORFF9900; STICKLINE(角度<0,O,C,1.2,0),COLORFFCC00; STICKLINE(角度<0,O,C,0.2,0),COLORCYAN; STICKLINE(角度>0,O,C,3,0),COLOR000099; STICKLINE(角度>0,O,C,2,0),COLOR0000CC;{红K线持股} STICKLINE(角度>0,O,C,1.3,0),COLOR0000FF; STICKLINE(角度>0,O,C,0.3,0),COLORCC66FF; 高位线:EMA(CLOSE,7),LINETHICK1,COLORGREEN; 低位线:EMA(CLOSE,14),LINETHICK1,COLORRED ; AC1:=MA(CLOSE,N); AC2:=MA(CLOSE,N1); AC3:=MA(CLOSE,N2); AC4:=MA(CLOSE,N3); 换手:=V*100/CAPITAL; 主力:=MA(换手,4); 大户:=MA(换手,9); 中户:=MA(换手,17); 散户:=MA(换手,34); 均量:=(主力+大户+中户+散户)/4; 散户能量:=(散户-均量); VAR1:=EMA(EMA(CLOSE,9),9); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; 有庄控盘:=控盘>REF(控盘,1) AND 控盘>0; 主升浪:=CLOSE>AC1 AND AC1>AC2 AND AC2>AC3 AND AC3>AC4 AND CLOSE>OPEN AND 散户能量<0 and 有庄控盘 vol =HHV(VOL,4)AND dynainfo(4)>0 AND (ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>45; 攻击迫线:=OPEN>REF(HIGH,1) AND CLOSE>REF(HIGH,1) AND LOW>REF(HIGH,1) AND HIGH>CLOSE AND REF(CLOSE,1)/REF(CLOSE,2)>=1.09 AND V>REF(V,1); 第五天:=REF((C-REF(C,1))/REF(C,1)>0.09,4) AND COUNT((C-REF(C,1))/REF(C,1)>0.09,4+1)=1 AND C>EMA(C,14); 六潜伏:=REF((C-REF(C,1))/REF(C,1)>0.09,5) AND COUNT((C-REF(C,1))/REF(C,1)>0.09,5+1)=1 AND C>EMA(C,14); 七攻拳:=REF((C-REF(C,1))/REF(C,1)>0.09,6) AND COUNT((C-REF(C,1))/REF(C,1)>0.09,6+1)=1 AND C>EMA(C,14); 牛熊不败:=CROSS(C,MA(C,250)) AND V>1.5*REF(MA(V,5),1) AND C/(REF(C,1)-1)>1.3 AND CLOSE/REF(CLOSE,1)>=1.9; 搓揉线:=REF(O,1)=REF(L,1) AND REF(H,1)/REF(C,1)>1.03 AND REF(C,1)>REF(C,2) AND H=C AND C/L>1.03 AND H>REF(C,1); 绝地反击:=OO AND CREF(V,1) AND REF(C,1)/REF(C,2)<0.95 AND REF(V,1)=1.05 AND CLOSE/REF(LOW,1)>=1.05 AND CLOSE>REF(HIGH,1); 抱星长阳:=O<=REF(L,1) AND C>1.083*REF(C,1) AND H>REF(H,1); DRAWTEXT((主升浪 = 1),LOW-0.05,'主升!'),LINETHICK2,COLORF00FF0; DRAWTEXT((攻击迫线 = 1),LOW-0.05,'攻!'),LINETHICK2,COLORRED; DRAWTEXT((第五天 = 1),LOW-0.05,'五!'),LINETHICK2,COLORGREEN; DRAWTEXT((六潜伏 = 1),LOW-0.05,'六!'),LINETHICK2,COLORGREEN; DRAWTEXT((七攻拳 = 1),LOW-0.05,'七!'),LINETHICK2,COLORGREEN; DRAWTEXT((牛熊不败 = 1),LOW-0.05,'牛!'),LINETHICK2,COLORFF00CC; DRAWTEXT((搓揉线 = 1),LOW-0.05,'搓!'),LINETHICK2,COLORBLUE; DRAWTEXT((绝地反击 = 1),LOW-0.05,'绝!'),LINETHICK2,COLORDB9370; DRAWTEXT((吞并反转 = 1),LOW-0.05,'吞!'),LINETHICK2,COLORYELLOW; DRAWTEXT((抱星长阳 = 1),LOW-0.05,'抱!'),LINETHICK2,COLORBLUE; AA:=VAR1>=REF(VAR1,1); BB:=VAR1REF(Q_B,1); 买进:=(X1 AND X2 AND X3) AND X4 AND X5; DRAWKLINE(H,O,L,C); DRAWICON(买进,L,26); K1:=(C+L+H)/3; BB5:=ATAN(EMA(K1,7)-REF(EMA(K1,7),1))*3.1416*10; EMA3:=EMA(C,3); DRAWTEXT(FILTER(BB5>1 AND EMA(K1,7)>REF(EMA(K1,7),1),10), LOW*0.99,'∠45'),COLORFFFFFF; A1:=CONST(BARSCOUNT(C>O))-BARSCOUNT(C>O)<20; 箱顶:DRAWLINE(CONST(HHV(H,20))=H AND A1,CONST(HHV(H,20)),ISLASTBAR,CONST(HHV(H,20)),0),COLORRED; 箱底:DRAWLINE(CONST(LLV(L,20))=L AND A1,CONST(LLV(L,20)),ISLASTBAR,CONST(LLV(L,20)),0),COLORGREEN; N:=10; T1:=CONST(HHVBARS(V,N)); T0:IF(CURRBARSCOUNT<=N+8,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL); IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT; DRAWTEXT(ISLASTBAR,T0,' 量能平台'); MA2:=EMA(C,2),LINETHICK1,COLORBLACK ; MA5:EMA(C,5),LINETHICK1,COLORBLACK ; MA13:EMA(C,13),LINETHICK1,COLORBLACK ; MA34:EMA(C,34),LINETHICK1,COLORBLACK ; YCX:=MA5>=REF(MA5,1); H1:=MAX(MAX(MA5,MA13),MA34); L1:=MIN(MIN(MA5,MA13),MA34); 一阳穿三线:= H1公式模块:
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6); Q_3:=crOSS(EMA(C,19),EMA(C,7)); Q_4:=CROSS(EMA(C,7),EMA(C,19)); Z1:=L=LLV(L,BArslAST(Q_3)+1); Z2:=LLV(L,BARSLAST(Q_3)+1); Z3:=H=HHV(H,BARSLAST(Q_4)+1); Z4:=HHV(H,BARSLAST(Q_4)+1); Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0); Y1:=H=HHV(H,BARSLAST(Q_4)+1); Y2:=HHV(H,BARSLAST(Q_4)+1); Y3:=L=LLV(L,BARSLAST(Q_3)+1); Y4:=LLV(L,BARSLAST(Q_3)+1); Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0); X1:=LLV(Q_2,2)=LLV(Q_2,7) ; X2:=COUNT(Q_2<0,2); X3:=CROSS(Q_2,MA(Q_2,2)); X4:=REF(Q_B,1)<REF(Q_B,2); X5:=Q_A>REF(Q_B,1); 买进:(X1 AND X2 AND X3) AND X4 AND X5;