当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:八卦线,红涨绿跌(同花顺指标 副图 源码 测试图)
软件名称:[B]八卦线,红涨绿跌(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2024-02-01 00:03:54
软件简介:
八卦线,红涨绿跌
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;
[url=http://www.70822.com/soft/sort013/sort036/down-171317.html]八卦线,红涨绿跌(同花顺指标 副图 源码 测试图)[/url]