网站首页 > 飞狐公式 正文
飞狐阴阳河生死指标公式
DRAWGBK(CLOSE>0, COLORRGB(1,0,0), COLORRGB(1,0,0),2);
STICKLINE(MA(CLOSE,60)>MA(CLOSE,5),MA(CLOSE,60),MA(CLOSE,5),0,0),COLOR888877,POINTDOT;
STICKLINE(MA(CLOSE,60)
STICKLINE(MA(CLOSE,60)=MA(CLOSE,5),MA(CLOSE,60),MA(CLOSE,5),0,0),COLORCC11CC,POINTDOT;
hh:=SYSPARAM(4);ll:=SYSPARAM(5);
x:=ll-(hh-ll+MINDIFF)/5;
y:=HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1);
yvb:=y[SYSPARAM(3)]/(ll-x+MINDIFF);
z:=VOL/yvb+x;
a:=SYSPARAM(4)-SYSPARAM(5);//画面高低差幅
ab:=SYSPARAM(4)+a/3;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,9,0) ,colorAA;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,8,0) ,color11BB;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,7,0) ,color22CC;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,6,0) ,color33DD;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,5,0) ,color44EE;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,4,0) ,color55FF;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,2.2,0) ,color66FF;
STICKLINE(CLOSE>REF(CLOSE,1),x,z,1.5,0) ,color77FF;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,9,0),colorAA00;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,8,0),colorBB11;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,7,0),colorCC22;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,6,0),colorDD33;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,5,0),colorEE44;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,4,0),colorFF55;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,2.5,0),colorFF66;
STICKLINE(CLOSE<=REF(CLOSE,1),x,z,1.5,0),colorFF77;
五日:MA(z,5),COLORWHITE;
十日:MA(z,10)COLORGREEN;
DRAWICON(CROSS(五日,十日),十日,12),COLORred;
ab:MA(CLOSE,5),COLORGRAY;
aa:=MA(CLOSE,10),COLORGRAY;
a1:=a=HHV(ab,SYSPARAM(4));
a2:=BARSLAST(a1);
bb:=REF(ab,a2);
gg:=IF(HIGH>ab,ab,ab);
DRAWLINE(HIGH=SYSPARAM(4) ,HIGH,BARPOS=SYSPARAM(1),HHV(ab,10),1),COLORGRAY;
VAR01:=MA(CLOSE,60);
PARTLINE(VAR01>REF(VAR01,1),VAR01), colorcc, LINETHICK3;
PARTLINE(VAR01
PARTLINE(ABS(VAR01-REF(VAR01,1))/VAR01*10000<8,VAR01), COLORBLUE, LINETHICK3;
PARTLINE(ABS(ab-REF(ab,1))/ab*10000<8,ab), COLORBLUE, LINETHICK3;
VAR02:=HHV(VAR01,0);
VAR03:=LLV(VAR01,0);
DRAWSL(VAR01=VAR02[DATACOUNT] ,VAR01,0,0,0),coloryellow,POINTDOT,LINETHICK1;
DRAWSL(VAR01=VAR03[DATACOUNT] ,VAR01,0,0,0),colorred,POINTDOT,LINETHICK1;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(OPEN>CLOSE ,HIGH ,LOW,0.5,0 ),COLOR00FF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color33;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color55;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color77;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color99;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),colorBB;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),colorDD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorFF;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),colorFF;
STICKLINE((CLOSE >= OPEN),LOW,HIGH,0.5,0),colorFF;
DRAWICON(CROSS(ab,aa),LOW*0.998,12);
DRAWICON(CROSS(aa,ab),HIGH*1.005,11);
DRAWTEXT(CROSS(CLOSE,VAR01) and VAR01>=REF(VAR01,1),LOW*0.99,★),COLORYELLOW;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;
MACD2:=CROSS(Dea,Diff) AND COUNT(MACD<0,1)=1;
均线:=CROSS(MA(CLOSE,5),MA(CLOSE,10));
量线:=CROSS(MA(VOL,5),MA(VOL,10));
SCC:=MACD1 AND 均线 AND 量线;
SC2:=均线 AND 量线;
SC3:=均线 AND MACD1;
SC6:=MACD1 AND 量线;
SC7:=CLOSE>MA(CLOSE,120);
sc8:=(SCC OR SC2 OR SC3 OR SC6) AND SC7;
DRAWTEXT(sc8,LOW*0.99,★/n红/n三/n军),COLORred;
DRAWICON(sc8,LOW*0.998,12);
TY:=CLOSE;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(CLOSE,BARSLAST(HD));
B:=REF(CLOSE,BARSLAST(LD));
T1:=BARSLAST(HD)
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;
IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;
大盘上涨家数:=INDEXADV;
平盘家数P:=PINGPAN;
大盘下跌家数:=INDEXDEC;
DRAWTEXTEX(1,0,545,30,上涨:+NUMTOSTR(大盘上涨家数,0)+家),Colorred;
DRAWTEXTEX(1,0,645,30,平盘:+NUMTOSTR(平盘家数P,0)+家),Color00FFFF;
DRAWTEXTEX(1,0,725,30,下跌:+NUMTOSTR(大盘下跌家数,0)+家),Colorred;
DRAWTEXTEX(1,0,630,60, ★天心箭★),COLORGRAY;
AA1:=(STRFIND(STKNAME,ST,0) = 0);
K0:=IF(AA1,10,20);
A1:=((REF(CLOSE,1) / K0) + REF(CLOSE,1));
A2:=(0 - ((REF(CLOSE,1) / K0) - REF(CLOSE,1)));
SZ5:=((涨停价: + NUMTOSTR(A1,2)) + 元);
SZ6:=(( 跌停价: + NUMTOSTR(A2,2)) + 元);
DRAWTEXTEX(CLOSE,1,535,120, sz5),colorFF;
DRAWTEXTEX(CLOSE,1,600,120, sz6),colorFF00;
DRAWTEXTEX(ma(c,60)
DRAWTEXTEX(ma(c,60)>=ref(ma(c,60),1) and c>=ma(c,60),0,545,90,★阴阳河上生 ︻$▅▆▇◤ 开始看多★),COLORMAGENTA; >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
猜你喜欢
- 2023-10-17 屏幕自适应定点均线(飞狐)
- 2023-10-17 主力轨迹+庄家出现+XG(飞狐)
- 2023-10-17 安全投机(飞狐)
- 2023-10-17 共振买卖(飞狐)
- 2023-10-17 江恩轮中轮(新画法)(飞狐)
- 2023-10-17 新版KDJ飞升马(飞狐)
- 2023-10-17 七剑下天山(飞狐)
- 2023-10-17 OSC (艾略特震荡器)(飞狐)
- 2023-10-17 买入安全区远离危险区(飞狐)
- 2023-10-17 熊市好用的选股(飞狐)