財(cái)務(wù)排序 AA:=IF(DATE+19000000<20190803,1,0); GZ:=FINANCE(21)/FINANCE(1)*18.83*AA; 主營(yíng)估值:IF(FINANCE(37)=1,GZ*4,IF(FINANCE(37)=2,GZ*2,IF(FINANCE(37)=3,GZ/3*4,GZ))) NODRAW; 估值比率:(主營(yíng)估值-C)/C*100 NODRAW; 成交買賣比 AA:=IF(DATE+19000000<20190803,1,0); 買入:TRADEINNUM* AA; 賣出:TRADEOUTNUM *AA; DRAWBAND(賣出,RGB(0,224,224),買入,RGB(255,96,96)); 機(jī)構(gòu)資金 AA:=IF(DATE+19000000<20190803,1,0); 機(jī)構(gòu)凈買量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ; 占盤比‰:機(jī)構(gòu)凈買量*1000/CAPITAL; 機(jī)構(gòu)買入換手:LARGEINTRDVOL/CAPITAL*100*AA, NODRAW; 機(jī)構(gòu)換手:(LARGEINTRDVOL+LARGEOUTTRDVOL)/CAPITAL*100*AA, NODRAW; 機(jī)構(gòu)買量:=LARGEINTRDVOL,COLORRED NODRAW; 機(jī)構(gòu)賣量:=LARGEOUTTRDVOL,COLORGREEN NODRAW; 洗盤周期:BARSLAST(HHV(機(jī)構(gòu)凈買量,30)=機(jī)構(gòu)凈買量) NODRAW; STICKLINE(機(jī)構(gòu)凈買量>0,0,機(jī)構(gòu)凈買量,2,0),COLORRED; STICKLINE(機(jī)構(gòu)凈買量<0,0,機(jī)構(gòu)凈買量,2,0),COLORGREEN; 九天.4 AA:=IF(DATE+19000000<20190803 P7:=EMA(C,7)*AA; P34:=EMA(C,34)*AA; DIF:=P7-P34*AA; DEA:=EMA(DIF,7)*AA; {DRAWBAND(0,RGB(0,224,224),P7-P34,RGB(255,96,96));} DRAWBAND(0,RGB(0,224,224),DIF,RGB(255,96,96)); 九天.3 AA:=IF(DATE+19000000<20190803,1,0); A1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4*AA; 當(dāng)日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12)*AA; 中軌:EXPMA(當(dāng)日成本,34)*AA,POINTDOT; 上軌:中軌+1.7*STDP(當(dāng)日成本,34)*AA,COLORBLUE; 下軌:中軌-1.7*STDP(當(dāng)日成本,34)*AA,COLORBLUE; 加速線:A1+3*STD(A1,10)*AA,COLORYELLOW ; 下降線:=A1-3*STD(A1,10)*AA,COLORYELLOW; 通1:=EMA(CLOSE,14)*AA,COLORYELLOW; 通2:=EMA(通1,5)*AA,COLORBLUE; DRAWKLINE(H,O,L,C); STICKLINE(通1>通2,通1, 通2,2,0),COLORYELLOW ; STICKLINE(通1<通2,通1, 通2,2,0),COLORGREEN; 資金總量 AA:=IF(DATE+19000000<20190803,1,0); 凈買:=ACTINVOL-ACTOUTVOL*AA ; 占比:凈買/CAPITAL*1000 NODRAW; 賣出:=ACTOUTVOL*AA,NODRAW; {DRAWBAND(賣出,RGB(0,224,224),買入,RGB(255,96,96));}; STICKLINE(凈買>0,0,凈買,2,0),COLORRED; STICKLINE(凈買<0,0,凈買,2,0),COLORGREEN; 大單筆數(shù)比率 AA:=IF(DATE+19000000<20190803,1,0); 大單筆數(shù)比率:IF(LARGETRDINNUM>LARGETRDOUTNUM, (LARGETRDINNUM-LARGETRDOUTNUM)/LARGETRDINNUM*100*AA, (LARGETRDOUTNUM-LARGETRDINNUM)/LARGETRDOUTNUM*-100*AA) NODRAW ; STICKLINE(大單筆數(shù)比率>0,0,大單筆數(shù)比率,2,0) COLORRED; STICKLINE(大單筆數(shù)比率<0,0,大單筆數(shù)比率,2,0) COLORGREEN; 九天.1 AA:=IF(DATE+19000000<20190803 AND "601398$TRADENUM">0,1,0) ; HHV36:=(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55))*100*AA; LLV9:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100*AA; W1:=(C-LLV(L,4))/(HHV(H,4)-LLV(L,4))*100*AA; W2:=EMA(W1,3); W3:=EMA(W2,4); W4:=3*W2-2*W3; W5:=EMA(W4,5); 走勢(shì)線:=EMA(W5,1); 空:=SMA(HHV36,2,1); 多:=100-空*AA; STICKLINE(多<=20,0,多,4,0) COLORGREEN; STICKLINE(多>20,0,20,4,0) COLORGREEN; STICKLINE(多>20 AND 多<80,20,多,4,0) COLORYELLOW; STICKLINE(多>=80,80,多,4,0) COLORRED; STICKLINE(多>=80,20,80,4,0) COLORYELLOW; 資金排序 AA:=IF(DATE+19000000<20190803,1,0); 周漲幅:(C-REF(C,5))/REF(C,5)*100; 月漲幅:(C-REF(C,30))/REF(C,30)*100; 機(jī)構(gòu)當(dāng)日:(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/CAPITAL*AA NODRAW ; 機(jī)構(gòu)5日:SUM(機(jī)構(gòu)當(dāng)日,5); 機(jī)構(gòu)8日:SUM(機(jī)構(gòu)當(dāng)日,8); 機(jī)構(gòu)13日:SUM(機(jī)構(gòu)當(dāng)日,13); 機(jī)構(gòu)21日:SUM(機(jī)構(gòu)當(dāng)日,21); 機(jī)構(gòu)34日:SUM(機(jī)構(gòu)當(dāng)日,34); 資金當(dāng)日:(ACTINVOL-ACTOUTVOL)*1000/CAPITAL*AA NODRAW; 資金5日:SUM(資金當(dāng)日,5); 資金8日:SUM(資金當(dāng)日,8); 資金13日:SUM(資金當(dāng)日,13); 資金21日:SUM(資金當(dāng)日,21); 資金34日:SUM(資金當(dāng)日,34); 資金趨勢(shì) AA:=IF(DATE+19000000<20190803,1,0); 機(jī)構(gòu)凈買量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/CAPITAL*AA ; 中期資金:EMA(機(jī)構(gòu)凈買量,8) COLORRED; 長(zhǎng)期資金:EMA(機(jī)構(gòu)凈買量,21) COLORYELLOW; 機(jī)構(gòu)換手 AA:=IF(DATE+19000000<20110803,1,0); 買入換手比率:LARGEINTRDVOL/V*100*AA,COLORYELLOW; 換手比率:(LARGEINTRDVOL+LARGEOUTTRDVOL)/V*100*AA,COLORMAGENTA; 共振度排序 AA:=IF(DATE+19000000<20190803,1,0); RSV0:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100*AA; T1:=SMA(RSV0,3,1); RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100*AA; T2:=SMA(RSV,3,1); RSV2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100*AA; T3:=SMA(RSV2,3,1); RSV3:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100*AA; T4:=SMA(RSV3,3,1); RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100*AA; T5:=SMA(RSV4,3,1); RSV5:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100*AA; T6:=SMA(RSV5,3,1); RSV6:=(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144))*100*AA; T7:=SMA(RSV6,3,1); RSV7:=(CLOSE-LLV(LOW,233))/(HHV(HIGH,233)-LLV(LOW,233))*100*AA; T8:=SMA(RSV7,3,1); T0:=(T2+T3+T4+T5+T6+T7+T8)/7*AA; GZ1:=(T1-T8)/T8; GZ2:=(T2-T8)/T8; GZ3:=(T3-T8)/T8; GZ4:=(T4-T8)/T8; GZ5:=(T5-T8)/T8; GZ6:=(T6-T8)/T8; GZ7:=(T7-T8)/T8; GZ:=IF( TOTALBARSCOUNT>120,100-(MAX(MAX(T3,T5),T8)-MIN(MIN(T3,T5),T8)),0)COLORWHITE; 共振度:IF(T8>50,GZ,GZ*-1); 漲跌動(dòng)能 AA:=IF(DATE+19000000<20190803,1,0); 機(jī)構(gòu)凈買量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ; 占盤比:=機(jī)構(gòu)凈買量*1000/CAPITAL; 漲跌動(dòng)能:占盤比*ABS((C-REF(C,1))/REF(C,1)*100) NODRAW; STICKLINE(漲跌動(dòng)能>0,0,漲跌動(dòng)能,2,0),COLORRED; STICKLINE(漲跌動(dòng)能<0,0,漲跌動(dòng)能,2,0),COLORGREEN; 波動(dòng)率排序 AA:=IF(DATE+19000000<20190803,1,0); 機(jī)構(gòu)凈買量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ; 占盤比:=機(jī)構(gòu)凈買量*1000/CAPITAL; 波動(dòng)率:(EMA(C,5)-EMA(C,34))/C*100*AA NODRAW; 換手比率:(LARGEINTRDVOL+LARGEOUTTRDVOL)/V*100*AA NODRAW; 凈買比率:機(jī)構(gòu)凈買量*100/V*AA NODRAW; 漲跌動(dòng)能:占盤比*ABS((C-REF(C,1))/REF(C,1)*100) NODRAW; 北斗主圖 AA:=IF(DATE+19000000<20190803,1,0); M1:MA(C,13); M2:MA(C,21); M3:MA(C,34); M4:MA(C,55); M5:MA(C,89); M6:MA(C,144); GZ:=FINANCE(21)/FINANCE(1)*18.83*AA; 主營(yíng)估值:IF(FINANCE(37)=1,GZ*4,IF(FINANCE(37)=2,GZ*2,IF(FINANCE(37)=3,GZ/3*4,GZ))) NODRAW; 估值比率:(主營(yíng)估值-C)/C*100 NODRAW; 心理預(yù)期 AA:=IF(DATE+19000000<20190331,1,0); RSV0:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100*AA; T1:=SMA(RSV0,3,1); RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100*AA; T2:=SMA(RSV,3,1); RSV2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100*AA; T3:SMA(RSV2,3,1) COLORWHITE; RSV3:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100*AA; T4:=SMA(RSV3,3,1); RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100*AA; T5:SMA(RSV4,3,1) COLORYELLOW; RSV5:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100*AA; T6:=SMA(RSV5,3,1); RSV6:=(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144))*100*AA; T7:=SMA(RSV6,3,1); RSV7:=(CLOSE-LLV(LOW,233))/(HHV(HIGH,233)-LLV(LOW,233))*100*AA; T8:SMA(RSV7,3,1) COLORMAGENTA; RSV8:=(CLOSE-LLV(LOW,377))/(HHV(HIGH,377)-LLV(LOW,377))*100*AA; T9:SMA(RSV8,3,1) T0:(T2+T3+T4+T5+T6+T7+T8)/7*AA COLORGREEN; GZ1:=(T1-T8)/T8; GZ2:=(T2-T8)/T8; GZ3:=(T3-T8)/T8; GZ4:=(T4-T8)/T8; GZ5:=(T5-T8)/T8; GZ6:=(T6-T8)/T8; GZ7:=(T7-T8)/T8; GZ:=IF( TOTALBARSCOUNT>30,100-(MAX(MAX(T3,T5),T8)-MIN(MIN(T3,T5),T8)),0)COLORWHITE; 共振度:IF(T8>80,GZ,IF(T8<25,GZ*-1,IF(T8<45,(GZ-20)*-1,GZ-20))) NODRAW; 九天.2 AA:=IF(DATE+19000000<20190331,1,0); P7:=EMA(C,7)*AA; P34:=EMA(C,34)*AA; DIF:=(P7-P34)*AA; DEA:=EMA(DIF,7)*AA; TC:=IF(DIF>DEA,DIF*0.998,DEA*0.998)*AA; 波動(dòng)率:DIF/C*100,NODRAW; 上升周期:IF(DIF 下跌周期:IF(DIF>DEA,0,BARSLAST(CROSS(DEA,DIF))+1 )NODRAW; 當(dāng)日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12); 操盤線:=MA(C,7) COLORYELLOW ; 支撐線:=MA(C,21)COLORMAGENTA LINETHICK2; 生命線:=EXPMA(當(dāng)日成本,89) COLORRED LINETHICK2; 線4:=EMA(C,89)COLORLIBLUE LINETHICK3; 牛熊線:=EXPMA(當(dāng)日成本,248)COLORWHITE LINETHICK3 ; PCYS:=(CLOSE-牛熊線)/牛熊線*100; STICKLINE(PCYS>10,TC,0,2,0)COLORRED; STICKLINE(PCYS<0 AND PCYS>-15,TC,0,2,0)COLORLIGRAY; STICKLINE(PCYS>0 AND PCYS<10,TC,0,2,0)COLORMAGENTA; STICKLINE(PCYS<-15,TC,0,2,0)COLORLICYAN; STICKLINE(DIF>DEA,DIF,DEA,2,0)COLORYELLOW; STICKLINE(DIF |
|