主图精准买卖指标公式
MA5:MA(CLOSE,5),LINETHICK0,COLOR00FFFF;
MA10:MA(CLOSE,10),LINETHICK0,COLORFF0000;
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
测:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;
VAR11:=0.618/3;
VAR12:=2*HIGH-LOW/3;
VAR13:=IF(CLOSE>60,618,61.8)/3;
庄:=LOG(VAR11)*DMA(EMA(CLOSE,60),SUM(VOL,60)/CAPITAL)*EXP(VAR12)/POW(VAR13,6)/2;
VAR17:=HHV(HIGH,13);
VAR18:=LLV(LOW,7);
卖价线:=SMA((CLOSE-VAR18)/(VAR17-VAR18),8,1)*30;
中间线:=IF(卖价线>REF(卖价线,1),卖价线,卖价线-3);
买价线:=EMA(HHV(卖价线,3),1);
买:=卖价线=中间线AND中间线=买价线AND((REF(卖价线,1)<>REF(中间线,1)ORREF(买价线,1)<>REF(中
间线,1))ORREF(买价线,1)<>REF(卖价线,1));
卖:=(卖价线<>中间线OR中间线<>买价线OR卖价线<>买价线)AND(REF(卖价线,1)=REF(中间线,1)AND
REF(买价线,1)=REF(中间线,1)ANDREF(买价线,1)=REF(卖价线,1));
持股:=卖价线=中间线AND中间线=买价线;
持币:=(卖价线<>中间线OR中间线<>买价线OR卖价线<>买价线);
VA1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
VA2:=SMA(VA1,4,1);
VA3:=SMA(VA2,2,1);
主力建仓:=IF(VA3<8.5ANDVA2<11,15,-15);
MAV:=(CLOSE*2+HIGH+LOW)/4*10;
SK:=EMA(MAV,13)-EMA(MAV,34);
SD:=EMA(SK,5);
B:=2*(SK-SD)*5.5;
拉升资金:=IF(IF(B>=0,B,-18)>150,15,IF(B>=0,B,-150)/10);
选潜力股:=买=0ANDCOUNT(卖,BARSLAST(买))=0ANDCLOSE/REF(CLOSE,BARSLAST(买))<=1.08AND
(主力建仓=15OR拉升资金>0);
选暴涨股:=买=1ANDCOUNT(主力建仓=15,BARSLAST(卖))>=3;
暴涨潜力:=CLOSE/REF(CLOSE,BARSLAST(选暴涨股))<=1.15ANDCOUNT(卖,BARSLAST(选暴涨股))<=2;
坚决买进:=((买AND暴涨潜力)OR选暴涨股);
选暴涨潜力股:=(坚决买进OR(CLOSE/REF(CLOSE,BARSLAST(坚决买进))<=1.15AND
COUNT(卖,BARSLAST(坚决买进))<=2));
STICKLINE(持股,CLOSE,OPEN,7*0.8,0),COLOR102099;
STICKLINE(持股,CLOSE,OPEN,6*0.8,0),COLOR1020AA;
STICKLINE(持股,CLOSE,OPEN,5*0.8,0),COLOR1020BB;
STICKLINE(持股,CLOSE,OPEN,4*0.8,0),COLOR1020CC;
STICKLINE(持股,CLOSE,OPEN,3*0.8,0),COLOR1020DD;
STICKLINE(持股,CLOSE,OPEN,2*0.8,0),COLOR1020EE;
STICKLINE(持股,CLOSE,OPEN,1*0.8,0),COLOR1020FF;
STICKLINE(持股,HIGH,LOW,0.5,0),COLOR1020FF;
STICKLINE(持币,CLOSE,OPEN,7*0.8,0),COLORFF7700;
STICKLINE(持币,CLOSE,OPEN,6*0.8,0),COLORFF8800;
STICKLINE(持币,CLOSE,OPEN,5*0.8,0),COLORFF9900;
STICKLINE(持币,CLOSE,OPEN,4*0.8,0),COLORFFAA00;
STICKLINE(持币,CLOSE,OPEN,3*0.8,0),COLORFFBB00;
STICKLINE(持币,CLOSE,OPEN,2*0.8,0),COLORFFCC00;
STICKLINE(持币,CLOSE,OPEN,1*0.8,0),COLORFFDD00;
STICKLINE(持币,HIGH,LOW,0.5,0),COLORFFDD00;
DRAWTEXT(坚决买进,LOW*0.94,'坚决买'),COLOR00FFFF;
DRAWTEXT(买,LOW*0.99,'▲'),COLOR0000FF;
DRAWTEXT(卖,HIGH*1.035,'▼'),COLOR00FFFF;
通达信精准买卖主图指标
MA5:MA(CLOSE,5),COLORWHITE;
MA18:MA(CLOSE,18),COLORRED;
MA1:=MA(CLOSE,7);
MA2:=MA(CLOSE,13);
MA3:=MA(CLOSE,34);
MA4:=MA(CLOSE,50);
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*1
00;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*
100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND
REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1 :=VAR10;
买2 :=(VAR11+VAR13+VAR15+VAR17);
卖1 :=(VAR12+VAR14+VAR16+VAR18);
B:=IF( 买 1 >0 OR 买
2 >0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
DRAWTEXT(买1 >0 OR 买2 >0,LOW*0.99,'买入'),COLORRED;
S:=IF(卖1 >0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
DRAWTEXT(卖1 >0,HIGH*1.02,'卖出'),COLORGREEN;
VAR100:=(100 – ((90 * (HHV(HIGH,20) – CLOSE)) / (HHV(HIGH,20) – LLV(LOW,20))));
VAR200:=(100 – ((90 * (HHV(HIGH,20) – CLOSE)) / (HHV(HIGH,20) – LLV(LOW,20))));
VAR300:=(100 – MA(((100 * (HHV(HIGH,5) – CLOSE)) / (HHV(HIGH,5) –
LLV(LOW,5))),34));
BOLL:MA(CLOSE,N),LINETHICK1,COLORBROWN;
UB:BOLL+2*STD(CLOSE,N),LINETHICK1,COLORYELLOW;
LB:BOLL-2*STD(CLOSE,N),LINETHICK1,COLORMAGENTA;
评论(0)