当前位置:→ 股海网同花顺公式 → 正文
  • 同花顺主力资金公式

  • 相关简介:同花顺主力资金公式 源码 大机构仓位:100*(1-WINNER(CLOSE)),colorred,LINETHICK3; VAR2:=1/WINNER(CLOSE); VAR3:=MA(CLOSE,13); VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100); VAR5:=LLV(LOW,120); VAR6:=HHV(HIGH,120); VAR7:=(VAR6-VAR5)/100; VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SM

  • 文章来源:股海网作者:股海网发布时间:2015-11-18浏览次数:下载次数:5

同花顺主力资金公式

源码

大机构仓位:100*(1-WINNER(CLOSE)),colorred,LINETHICK3;

VAR2:=1/WINNER(CLOSE);

VAR3:=MA(CLOSE,13);

VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);

VAR5:=LLV(LOW,120);

VAR6:=HHV(HIGH,120);

VAR7:=(VAR6-VAR5)/100;

VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);

VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);

VARA:=3*VAR8-2*SMA(VAR8,10,1);

VARB:=3*VAR9-2*SMA(VAR9,10,1);

VARC:=100-VARB;

短线主力仓位: (100-VARA),coloryellow,LINETHICK2;

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,34);

V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;

V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

V6:=EMA(3*V5-2*SMA(V5,18,1),5);

V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB:=(V9-VA)/2;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;

准备现金: STICKLINE(EMA(V11,3)<=13,0,20,5,0),colorred;

AA:=(EMA(V11,3)<=13) AND FILTER((EMA(V11,3)<=13),15);

DRAWTEXT (AA,-10,'准备现金'),colorgray;

买入股票: STICKLINE(EMA(V11,3)<=13 AND V12>13,0,30,5,0),colorlimagenta;

BB:= (EMA(V11,3)<=13 AND V12>13) AND FILTER((EMA(V11,3)<=13 AND V12>13),10) ;

DRAWTEXT (BB,35,'主力进'),colorlimagenta;

卖临界: STICKLINE(EMA(V11,3)>60 AND EMA(V11,3)>REF(EMA(V11,3),1),100,95,15,1),colorgreen;

CC:=(EMA(V11,3)>=90 AND V12) AND FILTER((EMA(V11,3)>=90 AND V12),10);

DD:=(EMA(V11,3)>=120 AND V12) AND FILTER((EMA(V11,3)>=120 AND V12),10);

STICKLINE(IF(VB>=0,VB,0)  AND EMA(V11,3)<13,0,20,10,0),colorlimagenta;

STICKLINE(IF(VB<=0,VB,0)  AND EMA(V11,3)>90,0,20,10,0),colorgreen;

STICKLINE( IF(V4>=0,V4,1) AND EMA(V11,3)<13,0,20,10,0),COLORFF00FF;

STICKLINE(IF(V4<=0,V4,1) AND EMA(V11,3)>90,0,20,10,0),colorliblue;

DRAWTEXT (CC,33,'主力拉升减仓'),colorliblue;

Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

Var2:=LLV(LOW,34);

Var3:=HHV(HIGH,34);

多: EMA((Var1-Var2)/(Var3-Var2)*100,13),colorwhite,LINETHICK1;

空: EMA(多,3),colorgreen,LINETHICK1;

VARE:=REF(LOW,1)*0.9;

VARF:=LOW*0.9;

VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;

VAR11:=EMA(VAR10,30);

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

VAR13:=MAX(VAR12,0);

VAR14:=ABS(VAR12);

VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;

VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;

VAR17:=BARSCOUNT(CLOSE);

VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;

VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);

VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

VAR1D:=SMA(VAR1C,4,1);

VAR1E:=SMA(VAR1D,3,1);

VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;

VAR21:=(HIGH+LOW+CLOSE)/3;

VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));

VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));

VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);

VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);

STICKLINE(VAR20,0,80,5,0),LINETHICK3,colorred;

DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'超级主力建仓!') , colorred;

V6:=CLOSE/REF(CLOSE,3)>=1.1;

V7:=BACKSET(V6,3);

买:IF((V7 AND COUNT(V7,3)=1),50,0),colormagenta,LINETHICK1;

V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);

头部:= IF(V12=50,100,0);

卖:IF(头部>REF(头部,1),50,0),colorgreen,LINETHICK3;

DRAWTEXT(卖,60,'主力清仓'),colorgreen;

V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0);

底部:= IF(V11=50,50,0);

买:IF( 底部>REF(底部,1),50,0),colorred,LINETHICK3;

DRAWTEXT(买,60,'主力抄底买!'),colorred;

V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);

B:=ZIG(3,50/5)*1;

G:=MA(B,2);

D:=CROSS(B,G)*10;

W:=CROSS(G,B)*10;

DRAWTEXT(W=10,-10,'↓跌势确立' ),colorgreen,LINETHICK3;

DRAWTEXT(D=10,-10,'↑涨势确立'),colorred,LINETHICK3;

爆发线: 80,colorred;

强弱分界线:50,colorgreen;

AA:=(O+H+L+C)/4;

BB:=MA(AA,3);

CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);

DD:=REF(100-(100/(1+CC)),1);

a1:=HHV(AA,10);

a2:=LLV(AA,30);

a3:=a1-a2;

a4:=EMA((AA-a2)/a3,1)*100;

b1:=HHV(AA,16);

b2:=LLV(AA,90);

b3:=b1-b2;

b4:=EMA((AA-b2)/b3,1)*100;

C1:=HHV(AA,30);

C2:=LLV(AA,240);

C3:=C1-C2;

C4:=EMA((AA-C2)/C3,1)*100;

中线趋势:b4,colormagenta,LINETHICK2;

STICKLINE(a4>90 AND b4>70,86,94,6,0),coloryellow;

STICKLINE(a4<5 AND b4<30,0,8,6,0),colorwhite;

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

即将爆发线: 65,COLOR00FF00;

起爆线:80,colorwhite,LINETHICK1;

DRAWTEXT(CROSS(主力资金,起爆线),主力资金,'★爆发!') ,coloryellow; TMD:=C-REF(C,1);

金线:100*EMA(EMA(TMD,5),5)/EMA(EMA(ABS(TMD),5),5),colorwhite,LINETHICK1;

银线:MA(金线,10),COLOR00FF00,LINETHICK1;

STICKLINE(金线>银线 , 金线,银线 ,2.5,0),colorred,LINETHICK2;

STICKLINE(银线>金线,金线,银线,2.5,0),colorgreen,LINETHICK2;

爆发线:30,COLORFF00FF,LINETHICK1;

起步线:0,colorwhite,LINETHICK1;

DRAWTEXT(CROSS(起爆线,主力资金),起爆线,'★空仓!') ,coloryellow;

抄底线:-25,colorwhite,LINETHICK1;

DRAWTEXT(CROSS(金线,爆发线),金线,'★爆发!') ,colorwhite;

DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加仓') ,colorwhite;

DRAWTEXT(CROSS(金线,起步线),金线,'★加仓!') ,colorwhite;

DRAWTEXT(CROSS(金线,抄底线),金线,'★半仓!') ,colorwhite;

LC:= REF(C,1);

F1:=ZIG(3,10);

方向:IF((F1> REF(F1,1)),-40,105),COLOR00FF00,LINETHICK2;

DRAWTEXT(CROSS(抄底线,方向),抄底线,'★逢低进场!') ,colorred;

DRAWTEXT(CROSS(方向,抄底线),方向+20,'★逢高出场!') ,colorwhite;

DRAWTEXT(CROSS(金线,起爆线),金线,'★爆发!') ,colorwhite;
 

 

同花顺主力资金公式

下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
本地下载 (免费下载)
上一篇:同花顺S点公式  下一篇:同花顺鬼变脸公式
 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

同花顺主力资金公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2015-11-18
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.