财务排序
AA:=IF(DATE+19000000<20190803,1,0);
GZ:=FINANCE(21)/FINANCE(1)*18.83*AA;
主营估值:IF(FINANCE(37)=1,GZ*4,IF(FINANCE(37)=2,GZ*2,IF(FINANCE(37)=3,GZ/3*4,GZ))) NODRAW;
估值比率:(主营估值-C)/C*100 NODRAW;
成交买卖比
AA:=IF(DATE+19000000<20190803,1,0);
买入:TRADEINNUM* AA;
卖出:TRADEOUTNUM *AA;
DRAWBAND(卖出,RGB(0,224,224),买入,RGB(255,96,96));
机构资金
AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ;
占盘比‰:机构净买量*1000/CAPITAL;
机构买入换手:LARGEINTRDVOL/CAPITAL*100*AA, NODRAW;
机构换手:(LARGEINTRDVOL+LARGEOUTTRDVOL)/CAPITAL*100*AA, NODRAW;
机构买量:=LARGEINTRDVOL,COLORRED NODRAW;
机构卖量:=LARGEOUTTRDVOL,COLORGREEN NODRAW;
洗盘周期:BARSLAST(HHV(机构净买量,30)=机构净买量) NODRAW;
STICKLINE(机构净买量>0,0,机构净买量,2,0),COLORRED;
STICKLINE(机构净买量<0,0,机构净买量,2,0),COLORGREEN;
九天.4
AA:=IF(DATE+19000000<20190803 ,1,0);
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;
当日成本:=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(当日成本,34)*AA,POINTDOT;
上轨:中轨+1.7*STDP(当日成本,34)*AA,COLORBLUE;
下轨:中轨-1.7*STDP(当日成本,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;
大单笔数比率
AA:=IF(DATE+19000000<20190803,1,0);
大单笔数比率:IF(LARGETRDINNUM>LARGETRDOUTNUM,
(LARGETRDINNUM-LARGETRDOUTNUM)/LARGETRDINNUM*100*AA,
(LARGETRDOUTNUM-LARGETRDINNUM)/LARGETRDOUTNUM*-100*AA) NODRAW ;
STICKLINE(大单笔数比率>0,0,大单笔数比率,2,0) COLORRED;
STICKLINE(大单笔数比率<0,0,大单笔数比率,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);
走势线:=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;
机构当日:(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/CAPITAL*AA NODRAW ;
机构5日:SUM(机构当日,5);
机构8日:SUM(机构当日,8);
机构13日:SUM(机构当日,13);
机构21日:SUM(机构当日,21);
机构34日:SUM(机构当日,34);
资金当日:(ACTINVOL-ACTOUTVOL)*1000/CAPITAL*AA NODRAW;
资金5日:SUM(资金当日,5);
资金8日:SUM(资金当日,8);
资金13日:SUM(资金当日,13);
资金21日:SUM(资金当日,21);
资金34日:SUM(资金当日,34);
资金趋势
AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/CAPITAL*AA ;
中期资金:EMA(机构净买量,8) COLORRED;
长期资金:EMA(机构净买量,21) COLORYELLOW;
机构换手
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);
涨跌动能
AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ;
占盘比:=机构净买量*1000/CAPITAL;
涨跌动能:占盘比*ABS((C-REF(C,1))/REF(C,1)*100) NODRAW;
STICKLINE(涨跌动能>0,0,涨跌动能,2,0),COLORRED;
STICKLINE(涨跌动能<0,0,涨跌动能,2,0),COLORGREEN;
波动率排序
AA:=IF(DATE+19000000<20190803,1,0);
机构净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AA ;
占盘比:=机构净买量*1000/CAPITAL;
波动率:(EMA(C,5)-EMA(C,34))/C*100*AA NODRAW;
换手比率:(LARGEINTRDVOL+LARGEOUTTRDVOL)/V*100*AA NODRAW;
净买比率:机构净买量*100/V*AA NODRAW;
涨跌动能:占盘比*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;
主营估值:IF(FINANCE(37)=1,GZ*4,IF(FINANCE(37)=2,GZ*2,IF(FINANCE(37)=3,GZ/3*4,GZ))) NODRAW;
估值比率:(主营估值-C)/C*100 NODRAW;
心理预期
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) COLORRED;
T0:(T2+T3+T4+T5+T6+T7+T8)/7*AA COLORGREEN;
GZ1:=(T1- |