重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
趋势线:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
红升:IF(重心>=趋势线,趋势线,DRAWNULL),COLORRED,LINETHICK2;
蓝降:IF(重心<趋势线,趋势线,DRAWNULL),COLORBLUE,LINETHICK2;
ZF0:=MAX(HIGH,REF(HIGH,1))-MIN(LOW,REF(LOW,1));
ZF:=MA(ZF0,3)*0.8;
QSK:=Abs(CLOSE-REF(OPEN,1))/ZF0>0.50;
SZ1:=HIGH>REF(HIGH,2) AND CLOSE>REF(OPEN,1) AND QSK;
XD1:=LOW<REF(LOW,2) AND CLOSE<REF(OPEN,1) AND QSK;
SZT:=BArslAST(SZ1);
XDT:=BARSLAST(XD1);
DT:=SZT<XDT;
KT:=XDT<SZT;
STICKLINE(DT,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(KT,OPEN,CLOSE,3,0),COLORGREEN;
买买:=EMA(((100 * (CLOSE – LLV(LOW,34))) / (HHV(HIGH,34) – LLV(LOW,34))),3);
卖卖:=SMA((((HHV(HIGH,34) – CLOSE) / (HHV(HIGH,34) – LLV(LOW,34))) * 100),2,1);
大盘:=EMA(((100 * (INDEXC – LLV(INDEXL,34))) / (HHV(INDEXH,34) – LLV(INDEXL,34))),3);
换手:=(((vol /MA(V,5))) >= 2);
涨:=(((CLOSE / REF(CLOSE,1)) – 1) * 100);
A:=(crOSS(买买,卖卖) AND (买买 >= 45));
B:=(CROSS(买买,大盘) AND (买买 >= 45));
D:=(CROSS(买买,75) AND (涨>= 2));
DD:=(CROSS(买买,20) AND (涨>= 2));
DRAWTEXT((A > 0),(LOW * 0.99),’←阻击龙头’),LINETHICK0,COLORFFFF00;
DRAWTEXT((B > 0),(LOW * 1.02),’←决战龙头’),LINETHICK0,COLOR0055FF; DRAWTEXT((D > 0),(LOW * 1.05),’←绝对龙头’),LINETHICK0,COLORRED;
DRAWTEXT((DD > 0),(LOW ),’←短线金股’),LINETHICK0,COLORRED; TJ:=((CLOSE > OPEN) OR ((CLOSE = OPEN) AND (CLOSE > REF(CLOSE,1))));

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。