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

同花顺源码:买卖指导,独门资金流向,雷神主力散户

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

买卖指导:

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW,'买'),ALIGN1,VALIGN0,colorwhite,linethick3;
DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3;
DRAWTEXT(sel,HIGH,'卖'),ALIGN1,VALIGN2,colorgreen,linethick3;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorred;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),color00ff00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6,0),colorffff00;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(CROSS(指导线,界),界,'↑★'),ALIGN1,VALIGN0,colorred;
DRAWTEXT(CROSS(界,指导线),界,'↓★'),ALIGN1,colorcyn;




独门资金流向:

流通:=AMOUNT/VOL;

PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),0-QJJ*(HIGH-CLOSE+OPEN-LOW));
ZLL:=VOL/CAPITAL;
HSL1:=IF(ZLL>10,10,ZLL);
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,1,0),COLOR808080;
STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,1,0),COLOR808080;
GJJ:=EMA(攻击,8);
LLJX:=EMA(攻击,3);
流向:LLJX,LINETHICK0,COLOR0000FF;
STICKLINE(流向>0,流向,0,4,0),COLOR0000FF;
STICKLINE(流向<0,流向,0,4,0),COLORFF0000;
基线:GJJ,COLOR00FFFF;
ZJLL:=REF(LLJX,1);
QZJJ:=((LLJX-ZJLL)/ZJLL)*100;
增幅比:=IF(LLJX>0 AND ZJLL<0,ABS(QZJJ),qzjj);
力度:=HSL/1000;
周流向:SUM(LLJX,5),LINETHICK1;
BB:REF(周流向,1);
ZQZJJ:=((周流向-BB)/BB)*100;
周增幅比:IF(周流向>0 AND BB<0,ABS(ZQZJJ),ZQZJJ),color808080;
三十:SUM(LLJX,30),coloryellow,LINETHICK4;
四十:SUM(LLJX,40),colorblue,LINETHICK5;
五十:SUM(LLJX,50),COLOR008800,LINETHICK5;
六十:SUM(LLJX,60),colorred,LINETHICK5;
 



LS主力散户 雷神主力散户(顶尖财经 股票学院: www.58188.com):

N:=30;N1:=5;N2:=10;LLC:=REF(CLOSE,1);VAR21:=C-REF(C,1);

VAR22:=100*EMA(EMA(VAR21,6),6)/EMA(EMA(ABS(VAR21),6),6);
MA5:=EMA(C,5);MA13:=EMA(C,13);
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);
D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),colorred,LINETHICK2;

上一篇:同花顺源码:抓涨停,短线买卖趋势,中枢底线

下一篇:同花顺源码:爆金,MACD牛逼顶底背离,机构活跃程度