您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

黑马王主力控盘指标公式源码[同花顺公式]

相关标签: 真正主力控盘指标源码 、 主力控盘指标 、 主力控盘度指标源码 、 主力高度控盘指标 、 主力控盘程度指标 、 经传主力控盘指标源码 、 经传主力控盘程度指标 、 主力控盘资金指标公式 、 航海家主力控盘指标 、

 

 

黑马王主力控盘指标公式源码

 

//黑马王//
DRAWGBK(v>=0,COLORRGB(18,19,51),COLORRGB(1,155,155),0);
//彩色K线//
STICKLINE(C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=O,H,L,0,0),COLOR00ffff;
STICKLINE(C<=O,C,O,5,0),COLORGREEN;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
N:=20;
N1:=7;
N2:=69;
T1:=1;//IF((DATE<=1090314),1,0);//
M3:=EMA(CLOSE,3);
M8:EMA(CLOSE,8),CoLor008000;
M13:EMA(M8,13),CoLor0000FF;
M62:EMA(M8,55),CoLorF0F000;
VAR1:=EMA(M13,62);
M81:EMA(M62,81),CoLor00FFFF;
M144:EMA(VAR1,144),Linethick2,CoLor0000FF;
M250:EMA(VAR1,250),POINTDOT,Linethick2,CoLorF00FF0;
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(ref(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),CoLor00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;
VAR5:=((ref(HIGH,1)+ref(LOW,1))/(2))*(T1);
VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF; //内容来至程序化交易网 CXH99.COM//
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),CoLor008000;
VAR7:=ref(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);
VAR9:=CROSS(N2,VAR8);//程序化交易 www.cxh99.com //
VARA:=(FILTER(VAR9,4))*(T1);
DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF;
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);
VARF:=(EMA((0.667)*(ref(VARE,1))+(0.333)*(VARE),5))*(T1);
DRAWTEXT(IF(((COUNT((CLOSE0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (ref(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF;
DRAWTEXT(IF(((COUNT((CLOSE0.6) AND COUNT((VARE>VARF),6) AND (ref(LOW,5)=LLV(LOW,120)) AND ref((CLOSE>=OPEN),4) AND ref((CLOSE>OPEN),3) AND ref((CLOSE>OPEN),2) AND ref((OPEN>CLOSE),1) AND (OPEN>ref(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);
DRAWTEXT(IF((CLOSE(MA(VOL,5))/(240)) AND (CLOSE>(ref(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;

////
Var1:=CLOSE-LOW;
Var2:=HIGH-LOW;
Var3:=CLOSE-HIGH;
Var4:=IF(CLOSE>=0,(Var1/Var2+Var3/Var2)*VOL,(Var3/Var2+Var1/Var2)*VOL);
CYW: SUM(Var4,10)/10000, COLORSTICK;


 

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容