当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

同花顺源码精选:机构密码,监控主力操作,跟庄打猎副图

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、机构密码

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),colorred;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),colorgreen;
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),colorgreen;
散户:EMA(CLOSE,5),colorwhite;
操盘:MA(CLOSE,9),colorcyan,LINETHICK2;
界点:MA(CLOSE,20),colormagenta;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),colorred;
一0809:REFDATE(H1,DATE),coloryellow;
二0618:REFDATE(H2,DATE),colormagenta;
三0500:REFDATE(H3,DATE),colorwhite;
四0382:REFDATE(H4,DATE),colorgreen;
五0191:REFDATE(H5,DATE),coloryellow;
低:REFDATE(低1,DATE),colorred;
DRAWICON(C<MA(C,250) AND C>MA(C,10) AND REF(C,1)<REF(O,1)*0.97 AND C/O>1.03
AND V/CAPITAL>0.03,L*0.97,9);



2、监控主力操作

监控主力操作,操作线上穿赚主力( 股民学院: http://www.58188.com )
主力散户操作,观察用,用来判断股票近期主力和散户的资金参与的程度

VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);
VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);
DRAWBAND(VAR3,RGB(155,50,50),50,RGB(0,100,50));
主力:VAR3,colorred,LINETHICK2;
散户:VAR4,colorgreen;
VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
操作:EMA(VAR5,3),coloryellow,LINETHICK3;
STICKLINE(C,90,90,1,0),COLOR3C3CFF;
STICKLINE(C,50,50,1,0),coloryellow;
STICKLINE(C,10,10,1,0),colorcyan;
DRAWTEXT_FIX(1,0.01,0.82,0,'《操作线上穿赚主力》指标–'),colorred;
买点提醒=(CROSS(主力,散户) AND 操作 > 散户 )
OR (CROSS(操作,散户) AND 主力>散户)
OR (CROSS(操作,主力) AND 散户>主力 AND REF(操作,1)<操作);
DRAWICON(买点提醒,主力*0.95,"buy");
//卖点提醒=CROSS(操作,散户);//功能未实现,没找到规律
//DRAWICON(卖点提醒,操作*0.95,"sell");



3、跟庄打猎副图

X_1:=HHV(HIGH,9);

X_2:=LLV(LOW,9);
X_3:=(X_1-X_2)/100;
X_4:=(CLOSE-X_2)/(X_1-X_2)*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=X_5*X_3+X_2;
X_9:=X_6*X_3+X_2;
X_10:=X_7*X_3+X_2;
X_11:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_12:=EMA(X_11,9);
X_13:=2*(X_11-X_12);
X_14:=1.25*X_11-0.25*X_12;
X_15:=(X_14*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
X_16:=(X_11*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
X_17:=(X_12*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
X_18:=(X_15+X_17)/2;
X_19:=ATAN((X_16-REF(X_16,1))/REF(X_16,1)*100)*180/3.14159;
趋向:X_15,COLOR111111;
X_20:=X_16;
X_21:=X_18;
切割线:X_17,colorgreen;
X_22:=EMA(趋向,3);
X_23:=EMA(趋向,2);
STICKLINE(趋向>X_21,趋向,X_21,1,1),colorred;
STICKLINE(趋向>X_21,趋向,X_21,0,1),COLOR99EEEE;
STICKLINE(X_21>趋向,X_21,趋向,1,1),COLORFFAA00;
STICKLINE(X_21>趋向,X_21,趋向,0,1),colorblue;
STICKLINE(趋向>X_22,趋向,X_22,1,0),colorred;
STICKLINE(趋向>X_23,趋向,X_23,1,0),COLOR88EEEE;
分水岭:EMA(X_21,1),colormagenta;
划界点:EMA(切割线,3),DOTLINE,COLORCCCCCC;
X_24:=EMA(趋向,40);
X_25:=EMA(X_24,60);
DRAWTEXT_FIX(C>O,0.01,0.9,0,'分析家公式网'),COLOR99EEEE;
DRAWTEXT_FIX(C>0,0.02,0.03,0,'【所属概念】:'),COLORFFCC00;
DRAWTEXT_FIX(C>0,0.02,0.13,0,'注意: (1).蓝色柱下出现黄点时即可进入 '),COLOR66EEEE;
DRAWTEXT_FIX(C>0,0.02,0.23,0,'注意: (2).绿色线下破红蓝柱时可进入 '),colorgreen;
 

上一篇:同花顺源码精选:芙蓉副图,资金控AA,牛起爆

下一篇:同花顺公式下载:量化小牛顶底预判,狙击手AA,超级CCI