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

同花顺源码:多空变色主图,主力筹码集中度,魔力高低组合涨升波

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

1、多空变色主图

VAR1:=(EMA(CLOSE,4)+MA(CLOSE,4*2)+MA(CLOSE,4*4))/3;
VAR2:=(EMA(CLOSE,6)+MA(CLOSE,6*2)+MA(CLOSE,6*4))/3;
VAR3:=(EMA(CLOSE,9)+MA(CLOSE,9*2)+MA(CLOSE,9*4))/3;
VAR4:=(EMA(CLOSE,13)+MA(CLOSE,13*2)+MA(CLOSE,13*4))/3;
VAR5:=LLV(LOW,27);
VAR6:=HHV(HIGH,34);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*4,4)*25;
VAR8:=HHV(H,30);
VAR9:=LLV(L,30);
VAR10:=HHV(H,60);
VAR11:=LLV(L,60);
VAR12:=100*EMA(C,50);
VAR13:=100*C;
F:=VAR8-VAR9;
F1:=VAR10-VAR11;
A1:=(C-VAR9)/F*10000;
B1:=(VAR8-C)/F*10000;
A2:=(C-VAR11)/F1*10000;
B2:=(VAR10-C)/F1*10000;
A:=EMA(A1,2);
B:=EMA(B1,250);
STICKLINE(A<B OR VAR13<VAR12,C,O,8,0),colorgreen;
STICKLINE(A>=B AND VAR13>=VAR12,C,O,8,0),colorred;
STICKLINE(A<B OR VAR13<VAR12,L,H,0,0),colorgreen;
STICKLINE(A>=B AND VAR13>=VAR12,L,H,0,0),colorred;


2、主力筹码集中度

//#@Fname=主力筹码集中度

//#@comment= 《最牛指标赚机构》使用说明:
//#|1.本指标是集数个优秀指标的买入点提示,发出信号均作为买入点参考。
//#|2.刻苦学习技术指标,助你终身受益!
//#|  真诚欢迎股友们把使用心得·体会和经验,发表在“股友评论”中!以便下次在指标优化中综合载入,供大家分享使用!!
//#|( 顶尖 财经 股票学院: http://www.58188.com )
//#@control=
//#@FuncType=
//#@style=主力持仓:Line0,技术指标,2,0,1,5,16711935;指数趋势:Line0,技术指标,3,0,1,5,16755302;强弱分界:Line0,技术指标,1,0,1,5,65535;主力筹码集中度:Line0,技术指标,2,0,1,5,255;
//#@availperiod=2147430400
//#@param=
//#@isDrawCurve=1
//#@Fdesc=主力筹码集中度
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;
指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;
强弱分界: 80,coloryellow;
主力筹码集中度:WINNER(C)*100 ,colorred,linethick2;



3、魔力高低组合涨升波

M3:=7;

CC:=VOL*100/CAPITAL;
AA:=(CC-LLV(CC,89))/(HHV(CC,89)-LLV(CC,89))*100;
BB:=(CC-LLV(CC,144))/(HHV(CC,144)-LLV(CC,144))*100;
板:=REF(C,3)*1.1-REF(C,2)<0.01 AND REF(V,2)<REF(V,1)*0.7;
板天数:IF(板,2,BARSLAST((REF(C,1)*1.1-C)<0.01)),NODRAW;
VARQS4:=IF(REF(AA,1)=100 AND AA<100,1,0);
VARQS5:=IF(REF(BB,1)=100 AND BB<100,1,0);
昨日百高:REF(V,板天数-1)=HHV(V,100),NODRAW;
高低: 板天数=2 AND 昨日百高 AND V<REF(V,1) AND REF(V,1)>REF(V,2) AND O<REF(MIN(O,C),1) AND C>REF(MAX(O,C),1);
//( 顶尖 财经 股票学院: http://www.58188.com )
VARQS6:=IF(REF(AA,1)=0 AND AA>0,-1,0);
VARQS7:=IF(REF(BB,1)=0 AND BB>0,-1,0);
高低天数:BARSLAST(高低),NODRAW;
高低价:REF(C,高低天数),NODRAW;
 
.............
 

上一篇:同花顺源码:财务因子,自带判断出五色五角星 F10财务数据

下一篇:同花顺源码:超准指标,ZYLB,自用小买卖