公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 同花顺公式 > 正文 → 正文

同花顺八卦线副图指标红涨绿跌源码

发布时间:2024/2/25 10:30:39  浏览次数:
VAR1K:=(CLOSE*2+HIGH+LOW)/4;
VAR2K:=EMA(VAR1K,8)-EMA(VAR1K,15);
VAR3K:=EMA(VAR2K,3);
VAR4K:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1K-REF(VAR4K,1))/REF(VAR4K,1)*30000;
A10:=CROSS(控盘,0);
STICKLINE(控盘<0,控盘,0,1.8,0),COLOR00AAFF,colorwhite;
STICKLINE(控盘<0,控盘,0,1.1,0),COLOR00CCFF,colorwhite;
STICKLINE(控盘<0,控盘,0,0.5,0),COLOR00FFFF,colorwhite;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2.8,0),COLOR000055;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLOR000088;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1.5,0),COLOR0000AA;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR0000CC;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,0.5,0),COLOR0000EE;
VAR5:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盘>0,控盘,0,2.8,0),COLOR550055;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盘>0,控盘,0,2,0),COLOR880088;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盘>0,控盘,0,1.5,0),COLORAA00AA;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盘>0,控盘,0,1.0,0),COLORCC00CC;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盘>0,控盘,0,0.5,0),COLOREE00EE;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,2.8,0),COLOR555500;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLOR888800;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1.5,0),COLORAAAA00;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORCCCC00;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,0.5,0),COLOREEEE00,colorwhite;
OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0))/20000,0),1);
OBVE:=EMA(OBV,3);
DIFF : EMA(OBVE,2) - EMA(OBVE,26);
BBDIFF:=DIFF-REF(DIFF,1);
DEA : EMA(DIFF,14);
BBDEA:=DEA-REF(DEA,1);
MACD : 300*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0),colorgreen;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,1),COLORFFCC33;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,1),COLOR0099FF;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,1),coloryellow;
IF(BBDEA>0,DEA,DRAWNULL),COLOR9966CC,LINETHICK1;
IF(BBDEA<0,DEA,DRAWNULL),COLOR00FF33,LINETHICK1;
IF(BBDIFF>0,DIFF,DRAWNULL),colorred,LINETHICK1;
IF(BBDIFF<0,DIFF,DRAWNULL),colorcyan,LINETHICK1;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIFF),DEA,2);
GJ:=MAX(C,O);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF00FF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR00FF00;
PJJ:=DMA((H+L+C * 2)/4,0.9);
JJ:=REF(EMA(PJJ,66),1);
QJJ:=VOL/((H-L)*2-ABS(C-O));
XVL:=IF(C>O,QJJ*(H-L),IF(C<O,QJJ*(H-O+(C-L)),VOL/2))+IF(C>O,0-QJJ*(H-C+(O-L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2));
ZLL:=VOL / CAPITAL;
HSL1:=IF(ZLL > 10,10,ZLL);
HSL:=XVL / 20 / 1.15;
攻击流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22;
GJJ:=EMA(攻击流量,4);
LLJX:=EMA(攻击流量,5);
DIFFK:EMA(CLOSE,4)-EMA(CLOSE,14)*1,NODRAW;
DEAK:EMA(DIFFK,5),NODRAW;
MACDK:=40*(DIFFK-DEAK);
流量:MACDK,COLORC875B7,NODRAW;
STICKLINE(流量>0,流量,0,0,0)*200,COLOR0000FF;
STICKLINE(流量<0,流量,0,0,0)*200,COLORFF4242;
STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,0,0)*100,coloryellow,LINETHICK1;
STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,0,0)*100,colorgreen,LINETHICK1;
RSV1:=(C-MA(C,3))/MA(C,2)*100;
CDMA:EMA(EMA(RSV1,7),3)*2568,colorwhite,COLORFF00FF,LINETHICK3;
VAR1EP:=(CLOSE*2+HIGH+LOW)/4;
VAR2EP:=EMA(VAR1EP,2)-EMA(VAR1EP,10);
VAR3EP:=EMA(VAR2EP,5);
SHZJXP:=(-2)*(VAR2EP-VAR3EP)*1.8;
ZLZJXP:=2*(VAR2EP-VAR3EP)*1.8;
散户线1:SHZJXP*5750,LINETHICK1,COLORFF5500,,colorgreen;
主力线1:ZLZJXP*5050,coloryellow,colorred,LINETHICK2;

 

同花顺八卦线副图指标红涨绿跌源码

资源下载链接   资源大小:unknow
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识