公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

同花顺主流资金公式

2014-12-1 05:09| 发布者: admin| 查看: 104| 评论: 0

同花顺主流资金公式

主力资金和散户资金动向指标,根据主力资金趋势准去把握买入机会,气死庄家。

源码

主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),colorred,LINETHICK2;

非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorgreen,LINETHICK2;

A:15,COLORF00FF0;

B:50,colorgreen;

D:90,colorwhite;

BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

MM:=(BIAS1+2*BIAS2+3*BIAS3)/6;

股价趋势:=MA(MM,3),colorred;

买入信号:=EMA(股价趋势,2);

底部区域:IF(股价趋势<-6,20,0),LINETHICK2,coloryellow;

DRAWTEXT(CROSS(股价趋势,买入信号) AND COUNT(买入信号<-6,2)>1,50,"↑"),colorred,LINETHICK3;

STICKLINE((股价趋势<-9),0,0,4,0 ),COLORCC0033;

STICKLINE((股价趋势<-9),0,5,4,0 ),COLORFF9966;

底部预警信号:=

STICKLINE( (股价趋势<-9),0,2,4,0),LINETHICK2 ,colorwhite;

STICKLINE( (股价趋势<-9),0,8,4,0 ),LINETHICK2,COLORFFFF66;

MN:=MA(MM,3);

AA:=LLV(LOW,36);

BB:=HHV(HIGH,30);

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

股票下载:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);

跟踪:10,COLOR0000FF,LINETHICK1;

神偷出现:IF((COUNT((DD>REF(DD,1)),1)=1) AND (REF(DD,1)

N1:=17;N2:=34;

RSV3:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;

短K:=SMA(RSV3,3,1),colorred,LINETHICK2;

短D:=SMA(短K,3,1),coloryellow,LINETHICK2;

RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;

中K:=SMA(RSV1,5,1),colormagenta,LINETHICK2;

中D:=SMA(中K,10,1),colorgreen,LINETHICK2;

短:=3*短K-2*短D,colorred,LINETHICK2;

中:=3*中K-2*中D,colorred,LINETHICK2;

趋势线:=(短+中)/2,COLORFF9900,LINETHICK2;

BBB:=IF(BARSLAST(CROSS(短K,RSV3))>=3 AND CROSS(RSV3,短K) AND 短K<30,20,0);

STICKLINE(BBB,0,50,2.8,1),COLOR0000BB;

STICKLINE(BBB,0,50,1.4,1),COLOR0000DD;

STICKLINE(BBB,0,50,0.7,1),COLOR0000FF;

AAA:=IF(BARSLAST(CROSS(RSV3,短K))>=4 AND CROSS(短K,RSV3) AND RSV3>50,20,0);

STICKLINE(AAA,80,100,2.8,1),COLORD8D8D8;

STICKLINE(AAA,80,100,1.4,1),COLORE8E8E8;

STICKLINE(AAA,80,100,0.7,1),COLORFFFFFF;

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),4,1)/

SMA(ABS(CLOSE-LC),4,1)*100;

顶部:CROSS(RSI,95)*100,LINETHICK2, COLORF0F000;

DRAWTEXT(CROSS(85,RSI), 100,"见顶"),colorgreen;

RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);

K:=SMA(RSV,3,1);

D1:=SMA(K,3,1);

J:=3*K-2*D;

X:=LLV(J,2)=LLV(J,8);

RE:=CROSS(J,REF(J+0.01,1)) AND X AND J<19;

STICKLINE(RE,0,20,3,0),coloryellow;

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

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

YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);

加仓:IF(FILTER(YXF=1,5),40,-10),STICK,colorblue,LINETHICK3;

CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);

HH:=CROSS(20,EMA(CSS,3));

CE:=REF(HH,1);

AAB:=REF(CLOSE,1);

BBA:=SMA(MAX(CLOSE-AAB,0),5,1)/SMA(ABS(CLOSE-AAB),5,1)*1000;

HHH:=BBA-LLV(BBA,10);

SS:=(MA(HHH,2)*3+HHH*13)/16;

短线买点:=IF(SS>13,MA(SS,2),SS)/6;

短线出击:=IF(CROSS(短线买点,1) AND (短线买点<30),30,1);

II:=短线出击=30;

合成:CE AND II;


鲜花

握手

雷人

路过

鸡蛋
返回顶部