以下是同花顺慧眼公式

同花顺慧眼公式

注:老鼠仓即是庄家买入

 

 

DRAWGBK(OPEN>0,RGB(08,20,08),RGB(18,28,38),0,’02’,0);

强弱分界:MA(CLOSE,20),colormagenta,LINETHICK2;

STICKLINE(C>=强弱分界 AND C>=O,H,L,0,1),colormagenta;

STICKLINE(C>=强弱分界 AND C>=O,C,O,2.5,0),colormagenta;

DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100 ;

强:EMA(C,1.5),colorwhite;

弱:EMA(C,5),coloryellow;

趋势线:EMA(弱,5),colorgreen;

VARF1:=COUNT(CROSS(强,趋势线),2)=1;

VARF2:=COUNT(CROSS(弱,趋势线),2)=1;

ZAI:=FILTER(VARF1 AND VARF2,2);

DRAWTEXT(ZAI,趋势线*0.98,’↖老鼠仓’),COLOR00FF00;

MTM:=CLOSE-REF(CLOSE,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

ZDF:=(C-REF(C,1))/REF(C,1)*100;

STICKLINE(ZDF>9.8,O,C,2.5,0),colorred;

STICKLINE(ZDF<-9.8,O,C,2.5,0),colorblue;

白买进:DRAWNULL,NODRAW,colorwhite;

黄加仓:DRAWNULL,NODRAW,coloryellow;

蓝跌:DRAWNULL,NODRAW,colorblue;

绿见顶:DRAWNULL,NODRAW,colorgreen;

红强势:DRAWNULL,NODRAW,colorred;

红蓝调整:DRAWNULL,NODRAW,colorgray;

VAR1:=(100 – ((90 * (HHV(HIGH,21) – CLOSE)) / (HHV(HIGH,21) – LLV(LOW,21))));VAR2:=(100 – ((90 * (HHV(HIGH,21) – CLOSE)) / (HHV(HIGH,21) – LLV(LOW,21))));VAR3:=(100 – MA(((100 * (HHV(HIGH,6) – CLOSE)) / (HHV(HIGH,6) – LLV(LOW,6))),34));

DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);

DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);

DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),’↖买 ‘),colorred;

DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),’卖 ‘),COLORFFFF34;

VARE1:=EMA(C,3);VARE2:=EMA(C,5);VARE3:=EMA(C,10);VAR4:=EMA(C,20);VAR5:=EMA(C,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;

VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;VAR9:=EMA(VAR7,8);

STICKLINE(VAR7<1*REF(VAR7,1),H,L,0,1),colorblue;

STICKLINE(VAR7<1*REF(VAR7,1),O,C,2.5,1),colorblue;

STICKLINE(VAR7<1*REF(VAR7,1) AND C<O,O,C,2.5,0),colorblack;

STICKLINE(VAR7<1*REF(VAR7,1) AND C<O,O,C,2.3,0),colorblue;

STICKLINE(VAR7>1*REF(VAR7,1),H,L,0,1),colorred;

STICKLINE(VAR7>1*REF(VAR7,1),O,C,2.5,1),colorred;

STICKLINE(VAR7>1*REF(VAR7,1) AND C<O,O,C,2.5,0),COLOR0000DD;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0,1),colorgreen;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,2.5,1),colorgreen;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1) AND C<O,O,C,2.5,0),colorgreen;

买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;

买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);

STICKLINE(买进条件,H,L,0,1),colorwhite,LINETHICK1;

STICKLINE(买进条件,O,C,2.5,0),colorwhite,LINETHICK2;

加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;

加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);

STICKLINE(加码条件,H,L,0,1),coloryellow,LINETHICK2;

STICKLINE(加码条件,O,C,2.5,0),coloryellow,LINETHICK2;
 

 

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