【通达信】精绝花(现价、顶部、卖出、中轨、筹码集中度)-指标公式源码
检查员现价:=C*3,COLORRED;
顶部:= COST(95) ,COLORFFFF33;
卖出:= COST(75)*3 ,COLORGREEN;
买入:= COST(30) ,COLORRED;
底部:= COST(5) ;
空:=EMA(C,5);
均衡:=EMA(小广播空,5),COLORWHITE;
中轨:=HHV(MA(H,13),13),COLORRED,LINETHICK2;
趋势:=LLV(MA(H,13),1),COLOR00FF00,LINETHICK2;
HHH:=(CROSS(均衡,趋势))*5;
包河
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:= (EMA(CS,3)-50)*2;
筹码集中度:=COST(10)/(COST(80)-COST(10));
筹码1:=EMA(筹码集中度,1)*10,LINETHICK2,COLOR3399FF;
筹码3:=EMA(筹码集中度,3)*10,LINETHICK2,COLORRED;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
{DRAWICON(BU =1,L-0.1,1);}
N:=15;M:=20;
TR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),N);
HD:=H-REF(H,1);
LD:=REF(L,1)-L;
DMP:=EXPMEMA(IF(HD>0 AND HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0 AND LD>HD,LD,0),N);
VAR1:=DMP*100/TR;
VAR2:=DMM*100/TR;
VARR3:=EXPMEMA(VAR1,M);
VARR4:=EXPMEMA(VAR2,M);
{DRAWBAND(VAR3,RGB(150,30,50),VAR4,RGB(30,110,50));}
PDI:=VAR1,COLORYELLOW;
MDI:=VAR2,COLORGREEN;
{STICKLINE(VAR1>VAR3 AND VAR2<VAR3,VAR3,VAR1,0,0.5),COLORWHITE;}
涨:=(VAR1>VARR3) AND (VAR2<VARR3),COLORWHITE;
顶:=85;
中:=50;
底:=20;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VAA:=IF(VA9>100,VA9-100,0);
VAB:=HHV(HIGH,34);
AAA:= VAA*2;
BBB:= EMA((VA6-VA8)/(VAB-VA8)*100,13);
VAC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CCC:=SMA(VA5,20,1),COLORRED;
CCC1:=SMA(CCC,5,1),COLORGREEN;
出:=IF((CROSS(CCC,CCC1) AND (CCC1 < 泰州美食顶) ),80,0)/23,COLORRED;
VOLUME:=VOL,VOLSTICK;
主力启动线:=MA(VOLUME,5),COLORRED,LINETHICK2;
主力洗盘线:=MA(VOLUME,35),COLORYELLOW,LINETHICK2;
资金异动线:=MA(VOLUME,135),COLORBLUE,LINETHICK2;
击:=STICKLINE(CROSS(主力启动线守身如玉是什么意思,资金异动线) OR ((主力洗盘线 > 资金异动线)
AND CROSS(主力启动线,主力洗盘线)),0,VOL,2,0),COLORYELLOW;
动:=STICKLINE(主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线)
AND (REF(VOL,1)<REF(资金异动线,1) AND REF(VOL,2)<REF(资金异动线,2)))
,0,VOL,3,0),COLORGREEN;
V1:=CLOSE/REF(CLOSE,3)>=1.1;
V2:=BACKSET(V1,2);
V3:=REF(CLOSE,3)*1.1;
V4:=CROSS(C,V3);
OK:=STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,3,0),COLORRED;
BOLLL:=MA(CLOSE,20),COLORRED;
UP:=BOLLL+2*STD(CLOSE,20),COLOR808080 ;
LO:=BOLLL-2*STD(CLOSE,20),COLORGREEN;
DSLX:=((CLOSE/INDEXC)*10000),COLORFFFFFF,;
DSLXMA1:=MA(DSLX,5),COLOR0000FF;
DSLXMA2:=MA(DSLX,10),COLOR00FF00;
DSLXMA3:=MA(DSLX,0);DSLXMA4:=MA(DSLX,0);
DI:(EMA(CLOSE,3)-EMA(CLOSE,13))*2,COLORBLUE,LINETHICK2;
D1:=EMA(DI,5),COLORGRAY;
D2:=EMA(DI,10),COLORGRAY;
D3:=EMA(DI,20),COLORGRAY;
D4:=EMA(DI,30),COLORGRAY;
D5:=EMA(DI,60),COLORGRAY;
苹果设置呼叫转移D6:=EMA(DI,90),COLORGRAY;
D7:=EMA(DI,120),COLORGRAY;
D8:=EMA(DI,250),COLORGRAY;生产许可证号
AA:STICKLINE(DI>=REF(DI,1) AND D1>=REF(D1,1) AND D2>=REF(D2,1) AND D3>=REF(D3,1) AND
D4>=REF(D4,1) AND D5>=REF(D5,1) AND D6>=REF(D6,1) AND D7>=REF(D7,1) AND 穿越幻想h游戏
D8>=REF(D8,1) AND C>EMA(C,11) AND DI>-0.8,DI,0,2,0)*2,COLORRED;
0,LINETHICK2;
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
RSVV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSVV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
日均价:=(C*3+H+L+O)/6;
JF1:=SMA(SMA(EMA(日均价,5)*2-MA(日均价,5),3,1),3,1),COLOR999900;
补偿:=FLOOR(((JF1-MA(JF1,5))/MA(JF1,5)*100));
风:=SMA(SMA((EMA(日均价,(5+ABS(补偿)))),2,1),2,1),COLORWHITE,LINETHICK2;
上轨:=风+2*STD(风,10),COLORBLUE;
下轨:=风-2*STD(风,10),COLORBLUE;
无盐:=EMA(日均价,5)*2-MA(日均价,5);
修正:=SMA(SMA(EMA(日均价,5)*2-MA(日均价,5),2,1),2,1),COLOR999900;
夺命:=(MA(C,5)+MA(C,13))/2;
追风:=MA(C,5)-MA(C,13)+MA(C,8),COLORRED,LINETHICK2;
UU:=(3*C+H+2*O)/6;
DSSA:=SMA(XMA(UU,2),2,1),LINETHICK2;
部:=DSSA*1,COLORYELLOW;
BOLL:=(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),13,1))/(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),5,1));
{A1:BOLL+2*STD(CLOSE,1);
B1:BOLL-2*STD(CLOSE,1);}
魔花A2:BOLL+2*STD(CLOSE,3);
B2:BOLL-2*STD(CLOSE,3);
{A3:BOLL+2*STD(CLOSE,5);
B3:BOLL-2*STD(CLOSE,5);}
A4:BOLL+2*STD(CLOSE,7);
B4:BOLL-2*STD(CLOSE,7);
A5:BOLL+2*STD(CLOSE,9);
B5:BOLL-2*STD(CLOSE,9);