STICKLINE(J 一品操盘 STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED; STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED; STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED; STICKLINE(C STICKLINE((C ZZ:=EMA(SMA(RG,3,1),2); XX:=SMA(ZZ,3,1); DRAWICON(CROSS(VA1,VA2) AND CROSS(ZZ,XX),L,1); DRAWICON(CROSS(VA2,VA1) AND CROSS(XX,ZZ),H,2); 天机均线 均:=(3*C+H+L+O)/6; 短线:(8*均 +7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5)+2*REF(均,6)+REF(均,7))/36,COLORWHITE,PRECIS0; 中线:(LLV(短线,3)+LLV(短线,5)+LLV(短线,8))/3,COLORYELLOW,PRECIS0; 无双多空 VAR1A:=LLV(LOW,21); VAR2A:=HHV(HIGH,21); AK1:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 100),5); AK:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 50),13); AB:=CROSS(AK1,AK); DRAWTEXT((AB=1),L,'建多'),COLORYELLOW; VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED; STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED; STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED; STICKLINE(C STICKLINE((C STICKLINE((C VAR5:=CROSS(SMA(VAR2,3,1),SMA(VAR3,3,1)) AND SMA(VAR2,3,1)<20; DRAWTEXT(FILTER(VAR5,10)=1,LOW,'抄底'),COLORYELLOW; VARA:=LLV(LOW,35); VARB:=HHV(HIGH,30); VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25; DRAWTEXT(IF(CROSS(87.5,VARC),87,0),H,'空'),COLOR00FF00; 金山银山 DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); STICKLINE(DIFF>DEA,CLOSE,OPEN,3,0),COLORRED; STICKLINE(DIFF>DEA,HIGH,LOW,3,0),COLORRED; STICKLINE(DIFF<=DEA,CLOSE,OPEN,3,0),COLORGREEN; STICKLINE(DIFF<=DEA,HIGH,LOW,3,0),COLORGREEN; 量能指标 VAR1:=(HHV(HIGH,13)-LLV(LOW,13)); VAR2:=(HHV(HIGH,13)-CLOSE); VAR3:=(CLOSE-LLV(LOW,13)); VAR4:=(((VAR2/VAR1)*100)-70); VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100); VAR6:=((((2*CLOSE)+HIGH)+LOW)/4); VAR7:=SMA(((VAR3/VAR1)*100),3,1); VAR8:=LLV(LOW,34); VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1)); VAR10:=IF((VAR9>100),(VAR9-100),0); VAR11:=HHV(HIGH,34); VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),N); VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2); STICKLINE(((VAR12-VAR13)>0),VAR12,VAR13,4,0),COLOR0000FF; STICKLINE(((VAR12-VAR13)<0),VAR12,VAR13,4,0),COLORFF0000; MA11:EMA(VAR13,5); (N 1 100 15 ) 即时趋势 副图 R1:3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1),2,1); ZP:IF(R1<7,20,0),COLORGREEN; XG:IF(CROSS(R1,7),38,0),COLORRED; A:95,COLORGREEN; 快慢多空 主图叠加 AA10:=MA(C,10); BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416; STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED; STICKLINE(BB10<1 AND AA10 BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416; STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW; STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC; 彩色K线 HH:=HHV(HIGH,3); LL:=LLV(LOW,3); HH1:=BARSLAST((HH > REF(HH,1))); LL1:=BARSLAST((LL < REF(LL,1))); IF((HH1 < LL1),LL,HH),LINETHICK2,COLORBB0066; IF((HH1 > LL1),HH,LL),LINETHICK2,COLOR1B8800; STICKLINE((HH1 < LL1),CLOSE,OPEN,3,0),COLORRED; STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED; STICKLINE((HH1 > LL1),CLOSE,OPEN,3,0),COLORFF0000; STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000; DRAWTEXT(CROSS(HH1,LL1),HH,'开空'),COLORYELLOW; DRAWTEXT(CROSS(LL1,HH1),LL,'开多'),COLORFF00FF; 量能多空 DKX:=(EMA(C,18)),POINTDOT; STICKLINE(((C >=DKX) AND (C >= O)),H,L,0,1),COLORRED; STICKLINE(((C >=DKX) AND (C >= O)),O,C,2,1),COLORRED; STICKLINE(((C >=DKX) AND (C <= O)),H,L,0,0),COLORRED; STICKLINE(((C >=DKX) AND (C <= O)),O,C,2,0),COLORRED; STICKLINE(((C VAR1:=(HHV(HIGH,15)-LLV(LOW,15)); VAR2:=(HHV(HIGH,15)-CLOSE); VAR3:=(CLOSE-LLV(LOW,15)); VAR4:=(((VAR2/VAR1)*100)-70); VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100); VAR6:=((((2*CLOSE)+HIGH)+LOW)/4); VAR7:=SMA(((VAR3/VAR1)*100),3,1); VAR8:=LLV(LOW,34); VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1)); VAR10:=IF((VAR9>100),(VAR9-100),0); VAR11:=HHV(HIGH,34); VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15); VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2); MA11:=EMA(VAR13,5); DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多'); DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空'); 鳄鱼分形 主图叠加 Y:=(HIGH+LOW)/2; 上唇:SMA(Y,5,1),COLORGREEN; 牙齿:SMA(Y,8,1),COLORRED; 下鄂:SMA(Y,13,1),COLORFF6600; {分形- 没有未来函数} KU1:=IF(HIGH=HHV(HIGH,3),1,0); KD1:=IF( LOW=LLV( LOW,3),1,0); UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0))); DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2), REF(LOW,2+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0))); 上分 形:IF(HIGH>=MA(CLOSE,3),UL,REF(UL,BARSLAST(HIGH>MA(CLOSE,3)))),LINETHICK0,COLORMAGENTA;{分形数字} 下分 形:IF( LOW<=MA(CLOSE,3),DL,REF(DL,BARSLAST(LOW<=MA(CLOSE,3)))),LINETHICK0,COLORYELLOW; STICKLINE(BARSLAST(ABS(上分形-REF(上分形,1))) STICKLINE(BARSLAST(ABS(下分形-REF(下分形,1)))