)))))))))))))))))))))))))))))))),PRECIS0,COLOR00FF00,LINETHICK0;
BBC:=EMA(板塊指數,1000)/EMA(C,2500);
BKC:=板塊指數/BBC;
POLYLINE(M=0 OR M=1,BKC),COLOR00FF00,LAYER0;
DDC:=EMA(INDEXC,1000)/EMA(C,2500);
DPC:=INDEXC/DDC;
POLYLINE(M=0 OR M=2,DPC),COLORMAGENTA,LAYER0;
POLYLINE(C,C),LINETHICK2,COLORBLACK;
板塊:=IFS(INBLOCK('工程建筑'),'工程建筑',
IFS(INBLOCK('電力'),'電力',
IFS(INBLOCK('計算機'),'計算機',
IFS(INBLOCK('電子信息'),'電子信息',
IFS(INBLOCK('房地產'),'房地產',
IFS(INBLOCK('紡織服裝'),'紡織服裝',
IFS(INBLOCK('鋼鐵'),'鋼鐵',
IFS(INBLOCK('供水供氣'),'供水供氣',
IFS(INBLOCK('化工化纖'),'化工化纖',
IFS(INBLOCK('電器'),'電器',
IFS(INBLOCK('交通設施'),'交通設施',
IFS(INBLOCK('銀行類'),'銀行類',
IFS(INBLOCK('旅游酒店'),'旅游酒店',
IFS(INBLOCK('煤炭石油'),'煤炭石油',
IFS(INBLOCK('釀酒食品'),'釀酒食品',
IFS(INBLOCK('農林牧漁'),'農林牧漁',
IFS(INBLOCK('商業(yè)連鎖'),'商業(yè)連鎖',
IFS(INBLOCK('建材'),'建材',
IFS(INBLOCK('其他行業(yè)'),'其他行業(yè)',
IFS(INBLOCK('交通工具'),'交通工具',
IFS(INBLOCK('機械'),'機械',
IFS(INBLOCK('醫(yī)藥'),'醫(yī)藥',
IFS(INBLOCK('外貿'),'外貿',
IFS(INBLOCK('教育傳媒'),'教育傳媒',
IFS(INBLOCK('儀電儀表'),'儀電儀表',
IFS(INBLOCK('有色金屬'),'有色金屬',
IFS(INBLOCK('造紙印刷'),'造紙印刷',
IFS(INBLOCK('券商'),'券商',
IFS(INBLOCK('電力設備'),'電力設備',
IFS(INBLOCK('通信'),'通信',
IFS(INBLOCK('運輸物流'),'運輸物流',
IFS(INBLOCK('海峽西岸'),'海峽西岸',
IFS(INBLOCK('保險'),'保險','')
))))))))))))))))))))))))))))))));
DRAWTEXTABS(25,5,'所屬: '+板塊);
VAR1:=EMA(EMA(C,13),13);
控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
無莊控盤:=控盤<0;
有莊控盤:=控盤>REF(控盤,1) AND 控盤>0;
VAR2:=100*WINNER(C*0.95);
主力出貨:=控盤<REF(控盤,1) AND 控盤>0;
高度控盤:= VAR2>50 AND COST(85)<C AND 控盤>0;
A10:=CROSS(控盤,0);
控盤B:=FILTER(IF(A10,1,0),5);
JJ:=DYNAINFO(11);
P:=55;S:=8;M1:=3;
能量:=(EMA(C,S)-EMA(C,P))*10;
空頭:=EMA(能量,M1);
BTJ1:=(C-JJ)/JJ<-0.005;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=ref(LAST(JJ>=REF(JJ,1)),1)>=4 AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盤<REF(控盤,1) AND 控盤>0.5;
STJ02:=控盤>0;
BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2;
BTJ22:=控盤>REF(控盤,1) AND 控盤<0 ;
{波段買賣條件}
BTJ3:=CROSS(能量,空頭) AND 能量<-0.3;
BTJ32:=CROSS(能量,空頭) AND 能量<-0.1;
STJ31:=CROSS(空頭,能量);
STJ32:=CROSS(空頭,能量) AND 能量>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
有莊:=BTJ811;
DRAWTEXT(BTJ811,價,'莊'),COLORff00ff,LINETHICK7;
DRAWTEXTABS(25,22,'㊣鷹眼㊣'),linethick1,COLOR00EEff;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
STICKLINE(C>=O,C,O,9,1),COLORRED;
STICKLINE(C>=O,L,O,0.1,0),COLORRED;
STICKLINE(C>=O,C,H,0.1,0),COLORRED;
STICKLINE(C<O,C,O,9,0),COLORFFFF00;
STICKLINE(C<O,H,L,0.1,0),COLORFFFF00;
強弱:EMA(CLOSE,900);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撐:L1+P1*0.5/8,COLOR00DD00;
現價:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撐,現價),支撐,阻力,2,0),LINETHICK2,Coloryellow;
DRAWTEXT(LONGCROSS(支撐,現價,2),支撐
*0.997,'★←買點'),LINETHICK2,Coloryellow;{吸}
DRAWTEXT(LONGCROSS(現價,阻力,2),現價*1.003,'☆←賣點'),LINETHICK2,COLORMAGENTA;
STICKLINE(CROSS(現價,阻力),支撐,阻力,2,0),LINETHICK2,ColorMAGENTA;
T:=BARSCOUNT(C);
TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600 ,240) ;
DRAWTEXT(TP,L,'★突破'),LINETHICK3,COLORred;
VERTLINE( tp,1),COLORWHITE,LINETHICK2;
HHV(h,T),DOTLINE,Color00FFFF;
(南方財富網SOUTHMONEY.COM)