通达信波段趋势操盘指标公式
- 指标类别: 通达信指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 超买超卖
- 画线方法: 副图
- 日期:2019-05-22 来源:互联网
通达信波段趋势操盘指标公式:含有未来函数
N:=18;M:=10;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;
VAR9Q:=IF(VAR8Q>100,100,VAR8Q);
黄金坑:IF(VAR9Q>-100,VAR9Q-10,0),COLORFF00FF,LINETHICK2;
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
F1:=ZIG(3,8);
F3:=IF(F1>REF(F1,1),0,100);
STICKLINE(F3=0,-42,-52,2.2,0 ),COLORFF00FF;
STICKLINE(F3=100,-42,-52,2.2,0 ),COLORGREEN;
STICKLINE(F3=0,100 ,110,2.2,0 ),COLORFF00FF;
STICKLINE(F3=100,100 ,110,2.2,0 ),COLORGREEN;
VARC1:=CLOSE/REF(LLV(LOW,35),5)< 1;
决策:IF(VARC1,90,100),COLORBLUE,LINETHICK2;
必买:IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,45,100),COLORYELLOW ,LINETHICK2;
必卖:IF(PEAKBARS(3,15,1)=1,85,100),COLORWHITE,LINETHICK2;
绝对底:=SSRGL<(0-18),COLORRED,LINETHICK0;
大底:=SSRGL<(0-14),COLORBLUE,LINETHICK0;
中底:=SSRGL<(0-10),COLORYELLOW,LINETHICK0;
短底:=SSRGL<(0-6),COLORWHITE,LINETHICK0;
VAR1:=LLV(LOW,N);
VAR2:=HHV(HIGH,N);
牛线:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,4),COLORRED,LINETHICK1;
马线:=EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;
VARJ1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VARJ2:=LLV(LOW,M);
VARJ3:=HHV(HIGH,M);
SK:=EMA((VARJ1-VARJ2)/(VARJ3-VARJ2)*100,13),COLORRED;
SD:=EMA(SK,3),COLORYELLOW;
STICKLINE(SK>REF(SK,1),SK,SD,2.8,0),COLORRED;
STICKLINE(SK<=REF(SK,1),SK,SD,2.8,0),COLORGREEN;
VARD1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
VARD2:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
AA1:=VARD1*(1+VARD2);
BL:=VOL/CAPITAL*100;
资金进:=SUM(IF(CLOSE>OPEN,BL,0),20),LINETHICK0;
资金出:=SUM(IF(CLOSE<=OPEN,BL,0),20),LINETHICK0;
资金流:=SUM(资金进-资金出,3);
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*40;
STICKLINE(REF(资金流,1)<资金流 AND REF(V4,1)<V4,110,120,2.2,0),COLORRED;
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,5);
WY1003:=EMA(WY1002,5);
WY1004:=EMA(WY1003,5);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS1:=MA(XYS0,2),LINETHICK1;
XYS2:=MA(XYS0,1),LINETHICK1;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),9),COLORWHITE;
MAZL:=EMA(ZLGJ,3),COLORYELLOW;
MAZM:=(ZLGJ-MAZL)*2,COLORSTICK;
EXP1:=EXPMA(CLOSE,13);
EXP2:=EXPMA(CLOSE,24);
AAA:=(EXP1-EXP2);
STICKLINE(AAA>=REF(AAA,1),-34,-42,2.2,0),COLORRED;
STICKLINE(AAA<REF(AAA,1),-34,-42,2.2,0),COLORGREEN;
STICKLINE(MAZM>0,-34,-26,2.2,0),COLORRED;
STICKLINE(MAZM<0,-34,-26,2.2,0),COLORGREEN;
STICKLINE(XYS2>=XYS1,-18,-26,2.2,0),COLORRED;
STICKLINE(XYS2<XYS1,-18,-26,2.2,0),COLORGREEN;
STICKLINE(牛线>=马线,-10,-18,2.2,0),COLORRED;
STICKLINE(牛线<马线,-10,-18,2.2,0),COLORGREEN;
DIFF:=EMA(C,10)-EMA(C,21);
DEA:=EMA(DIFF,13),COLORYELLOW;
MACD:=2*(DIFF-DEA);
STICKLINE(MACD>REF(MACD,1),0,-10,2.2,0),COLORRED;
STICKLINE(MACD<=REF(MACD,1),0,-10,2.2,0),COLORGREEN;
AA:=WINNER(CLOSE+CLOSE*15/100)*100;
BB:=WINNER(CLOSE+CLOSE*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
EE:=CC<3 AND DD<0.5 AND OPEN>LOW;
A1:=DYNAINFO(6);
A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));
A3:=VOL/WINNER(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=100*(CLOSE-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3),5,0);
A12:=IF(FILTER(A10,3) OR EE,10,0);
DRAWTEXT(A11=5,70,'进'),COLORFF7700;
DRAWTEXT(A12=10,70,'加'),COLORRED;
反向:MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,4)+100,LINETHICK1,COLORLIBLUE;
VARP1:=(CLOSE+LOW+HIGH)/3;
VARP2:=SUM(((VARP1-REF(LOW,1))-(HIGH-VARP1))*VOL/100000/(HIGH-LOW),0);
VARP3:=EMA(VARP2,1);
JCS:=VARP3;
JCM:=MA(VARP3,10);
DRAWICON(CROSS(JCS,JCM),10,7);
DRAWICON(CROSS(JCM,JCS),10,8);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击流量,3);
资金流量:=LLJX,COLORRED,LINETHICK2;
DRAWICON( CROSS(资金流量 , 0),10 ,1);
XXX:=F3=0 AND(CROSS(资金流量,0) AND CROSS(JCS,JCM));
YYY:=(F3=0 AND CROSS(REF(资金流量,1),0) AND CROSS(JCS,JCM));
ZZZ:=(F3=0 AND CROSS(资金流量,0) AND CROSS(REF(JCS,1),REF(JCM,1)));
DRAWTEXT(XXX OR YYY OR ZZZ,20,'买入'),COLORYELLOW;
通达信波段趋势操盘指标公式实例图解:
通达信波段趋势操盘指标公式