通达信合成短线指标源码
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- 源码
- P1:=5;
- P2:=4;
-
- SSRCJL:=EMA(VOL,13);
- SSRCJE:=EMA(AMOUNT,13);
- SSRCBJX:=((SSRCJE / SSRCJL) / 100);
- SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
-
-
- 高卖:80, POINTDOT,COLORRED;
- 低吸:20, POINTDOT,COLORGREEN;
- VAR1:=LLV(LOW,P1);
- VAR2:=HHV(HIGH,P1);
- 牛线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;
- 马线: EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;
- BIAS:(C-MA(C,5))/MA(C,5)*100;
- 超跌:BIAS<-5,LINETHICK0;
- DRAWICON(超跌,BIAS-0.15,1);
-
- LC:=REF(CLOSE,1);
- RSI5:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;
- 【逃顶至尊2】:IF(CROSS(80,RSI5),-3,0),STICK,COLORGREEN;
- XSH:=MA(HIGH,5)*(1+5/100);
- XSL:=MA(LOW,5)*(1-5/100);
- VV:=(O+H+L+C)/4;
-
- A:CROSS(C,XSL) AND C/REF(MA(VV,8),1)<=0.9 AND C>REF(L,1),LINETHICK0 ;
- DRAWTEXT(A,C*0.9,'★买'),COLORCYAN;
-
- B:CROSS(XSH,C),LINETHICK0;
- DRAWTEXT(B,C*1.1,'◆逃'),COLORCYAN;
750277045.jpg
|