您的位置 首页 通达信公式

通达信济安线战法主图指标公式

N:=30;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
涨停龙:=EVERY(涨停,2);
DRAWTEXT(涨停龙,L*1.02,'龙再现'),COLORYELLOW;
STICKLINE(涨停龙,OPEN,CLOSE,1,0),COLORYELLOW;
次新:=(BARSCOUNT(C)+1)<120;
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
VAR1:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;
VAR2:=(H-MAX(C,O))/MAX(C,O)*100;
VAR3:=MA(REF(LLV(C,30),1),2);
VAR4:=MA(REF(HHV(C,30),1),2);
VAR5:=MAX(MA30,MAX(MA60,MA120));
VAR6:=MIN(MA30,MIN(MA60,MA120));
VAR71:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR72:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR73:=REF(VAR72,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR74:=REF(VAR72 OR VAR73,1) AND VAR71;
VAR7:=VAR74 AND CLOSE>OPEN;
VAR81:=IF(C>MA(C,4),1,0);
VAR82:=IF(C<MA(C,4),-1,0);
VAR83:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
VAR84:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR85:=VAR81+VAR82+VAR83+VAR84;
VAR8:=VAR85=2 AND C<O;
VAR91:= EMA((CLOSE*2+HIGH+LOW)/4,13)-EMA((CLOSE*2+HIGH+LOW)/4,73);
VAR92:=(crOSS(VAR91,EMA(VAR91,2)) AND VAR91<=0.05 AND (C/REF(C,1)>0.035));
VAR9:=VAR92 AND NOT(VAR8);
VAR10:=(C<VAR6 OR (C<VAR6*1.01 AND 次新)) AND C<VAR4 AND VAR6<VAR4 AND VAR6<=REF(VAR6,1);
VAR11:=VAR1>3.9 AND VAR1<8 AND C>OPEN AND VAR2<1 AND VAR9=0 AND REF(MAX(C,OPEN),1)>C AND VAR9=0 AND REF(VAR7=0,2) AND (REF(VAR9=0 AND VAR7=0,1) OR REF(MAX(C,O),1)>C);
XG:=VAR11 AND VAR3=REF(VAR3,1) AND VAR10;
DRAWTEXT(XG,L*0.97,'↖阳穿地底'),LINETHICK1,COLORBROWN;
现价线:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORFF00FF,LINETHICK2;
确认线:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORGREEN,LINETHICK2;
短底:=12,COLORBLUE,LINETHICK2;
穿越线:=CROSS(现价线,短底);
预警线:=IF(现价线<=10,30,0),COLORFFCC00,LINETHICK1;
穿值:=FINANCE(7)<500000000;
先锋:=IF(CROSS(现价线,短底),50,0),COLORRED,LINETHICK2;
穿值先锋:=先锋 AND 穿值;
DRAWICON(穿值先锋, LOW, 1);
AA:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
济安线:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
CC:=(CLOSE/济安线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-济安线)/济安线)/3;
TMP:=MA1-MAAA*MA1;
J:IF(TMP<=济安线,济安线,DRAWNULL),LINETHICK3,COLORCYAN;
A:TMP,LINETHICK2,COLORBROWN;
X:IF(TMP<=济安线,TMP,DRAWNULL),LINETHICK2,COLORGREEN;
VAA0:=CROSS(TMP,济安线);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
macd := 2*(DIFF-DEA);
LC := REF(CLOSE,1);
rsi := SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MID := MA(CLOSE,20);
TMP2 := STD(CLOSE,20);
TOP := MID + 2*TMP2;
BOTTOM := MID - 2*TMP2;
VR := SUM(vol,N)/REF(SUM(VOL,N),1);
VAA1 := VAA0;
VAA2 := MACD > 0;
VAA3 := RSI > 50;
VAA4 := CLOSE > BOTTOM AND CLOSE < TOP;
VAA5 := vr > 1;
济安线战法:= VAA1 AND VAA2 AND VAA3 AND VAA4 AND VAA5;
DRAWICON(济安线战法, LOW, 38);
DRAWTEXT(济安线战法,L*0.97,'↖济安线买点'),LINETHICK1,COLORYELLOW;

通达信济安线战法主图指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/108848.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部