通达信激光瞄准主图指标公式,通达信攀登金山指标公式
admin888
|通达信激光瞄准主图指标公式,通达信攀登金山指标公式
通达信激光瞄准主图指标公式
P5:=50;
牛熊界:ma(CLOSE,P5),LINETHICK2,COLORWHITE;
KS:=(((CLOSE -ema(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);
AA:= - 100 * (趋势线 - CLOSE) / 趋势线;
ac:=(EMA(AA,5) );
AG:=SUM((vol/ FINANCE(7)),1);
ssl:=EMA(CLOSE,3);
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
{MM:=(IF(((DATATYPE > 5) AND (DATATYPE < 9)),MA(MMV,1),IF((DATATYPE = 5),MA(MMV,4),IF((DATATYPE = 4),MA(MMV,8),IF((DATATYPE = 3),MA(MMV,16),IF((DATATYPE = 2),MA(MMV,32),0))))) );
}MM:=(MA(C,3)+MA(C,5)+MA(C,10)+MA(C,13)+MA(C,20))/5;
SA:=(MM * 0.985);
SS:=(MA(CLOSE,5));
DD:=(MA(CLOSE,13));
GG:=(MA(CLOSE,21));
短趋势:IF(((SSL > MM)),SSL,SA),LINETHICK1,COLORWHITE;
空方:IF(((SSL > MM) ),MM,SA),LINETHICK1,COLORFFFFFF;
多方:IF(((SSL > MM)),MM,SA),LINETHICK2,COLORFF00FF;
DRAWTEXT(多方-短趋势=0 ,多方*1.005 , '◆'),COLORBLUE,LINETHICK3;
VAR2Y:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3Y:=(((CLOSE - REF(OPEN,29)) / REF(OPEN,29)) * 100);
VAR4Y:=REF(CLOSE,1);
VAR5Y:=((SMA(MAX((CLOSE - VAR4Y),0),6,1) / SMA(Abs((CLOSE - VAR4Y)),6,1)) * 100);
VAR6Y:=((SMA(MAX((CLOSE - VAR4Y),0),12,1) / SMA(ABS((CLOSE - VAR4Y)),12,1)) * 100);
VAR7Y:=((SMA(MAX((CLOSE - VAR4Y),0),24,1) / SMA(ABS((CLOSE - VAR4Y)),24,1)) * 100);
VAR8Y:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100);
VAR9Y:=SMA(VAR8Y,3,1);
VARAY:=SMA(VAR9Y,3,1);
VARBY:=((3 * VAR9Y) - (2 * VARAY));
VARCY:=(crOSS(VAR5Y,10) AND (VAR3Y < (0 - (28 * 20))));
VARDY:=((100 - CROSS(76,VAR5Y)) AND (VAR3Y > (5 * 20)));
DRAWICON(((CROSS(76,VAR5Y) AND (VAR3Y > 5)) ),(HIGH * 1.0099),5),COLORFFFFFF;
VAREY:=((((CROSS(VAR9Y,VARAY) AND (VARAY < 10)) AND (VAR3Y < (0 - 30))) AND (VAR2Y > 3)) * 30);
VARFY:= - ((((VARAY < 11) AND (VAR5Y < 15)) AND (VAR3Y < (0 - 26))) * 10);
DRAWICON((CROSS(VARFY,(0 - 9))),(LOW * 0.998),4);
能量线:=dma(((CLOSE + OPEN) / 2),(VOL/ (SMA(VOL,4,1) * 4)));
VAR3C:=EMA(能量线,1);
VAR4C:=REF(能量线,1);
stICKLINE(((VAR3C > VAR4C)),VAR3C,VAR4C,7.5,0),COLOR00FFFF;
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
Y:=EMA(CLOSE,10);
LL:=REF(CLOSE,2);
MM2:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
DB:=IF(((MM2 < REF(MM2,1)) AND (MM2 > 79)),MM2,0);
DRAWICON(CROSS(Y,X),(LOW * 0.985),1),LINETHICK3,COLORRED;
DRAWICON(CROSS(X,Y),(HIGH * 1.02),2),LINETHICK2,COLOR00FF00;
DRAWTEXT(DB,(HIGH * 1.02),'↓顶'),LINETHICK2,COLOR00FF00;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
DD2:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
VAR6:=((AK + VAR5) / 2);
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB) AND (BB < 30));
CD:=(BB1 * 0.6);
DRAWTEXT((CD = 0.6),(LOW * 0.99),'↑底2'),LINETHICK1,COLOR33CC99;
DRAWTEXT((AB = 1),(LOW * 0.99),'↑底1'),LINETHICK1,COLORWHITE;
C1:=(CLOSE+LOW+HIGH)/3;
C2:=EMA(C1,6);
C3:=EMA(C2,5);
C4:=CROSS(C2,C3);
DRAWTEXT(C4,LOW/1.01,'★'),LINETHICK3,COLORRED;
C5:=CROSS(C3,C2);
DRAWTEXT(C5,HIGH*1.03,'★'),LINETHICK3,COLORBLUE;
通达信攀登金山指标公式
N:=13;
盘:CAPITAL/1000000,NODRAW,COLORFF9933;
益:FINANCE(33),NODRAW,COLORFF9933;
资:FINANCE(34),NODRAW,COLORFF9933;
换手率:=vol/CAPITAL;
长阳:=(WINNER(C)-WINNER(O))>=0.15 AND换手率<=0.04;
缩量长阳:IF(长阳,(WINNER(C)-WINNER(O))*100,0),stICK,COLOR6EA4FF;
VAR1:=(C-REF(C,1))/REF(C,1);
VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
个股:=ema(SUM(VAR1,20),5);
大盘:=Ema(SUM(VAR2,20),5);
领涨:=(个股-大盘)>=0;
VAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
VAR4:=SMA(VAR3,72,1);
VAR5:=SMA(VAR4,34,1);
中线趋势:=3*VAR4-2*VAR5;
中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
领涨大盘:IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),COLORFF99FF;
VAR6:=(2*C+H+L)/4;
VAR7:=LLV(L,N);
VAR8:=HHV(H,N);
攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50,LINETHICK0,COLORRED;
金山:EMA(0.618*REF(攀登,1)+0.382*攀登,3),COLORYELLOW,LINETHICK1;
强弱界:0,COLORCYAN;
DRAWICON(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升,金山,1);
运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<0,1,0);
起攀:IF(运动员=1 AND COUNT(运动员=1,5)=1,8,0),COLORCYAN,LINETHICK1;
DRAWTEXT(起攀=8,金山,'←起攀'),COLORWHITE;
bias1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
准备:STICKLINE(乖离<-6 AND 乖离>=-12,-6,0,2,1 ),COLOR33FFCC;
抄底一:IF(乖离<-12 AND 乖离>=-18,-12,0),COLOR33CCCC,STICK;
STICKLINE(乖离<-12 AND 乖离>=-18,-12,0,2,0) ,COLOR33CCCC;
抄底二:IF(乖离<-18,-18,0),COLOR3399CC,STICK;
STICKLINE(乖离<-18,-18,0,2,0) ,COLOR3399CC;
必抄底:IF(起攀=8 AND COUNT(乖离<-12,10)>=1,10,0),NODRAW,COLORRED;
DRAWTEXT(必抄底=10,10,'←必抄底'),COLORRED;
STICKLINE(必抄底=10,10,0,5,1),COLORRED;
IF(均五升 AND 均十升 AND 中线趋势升,0,DRAWNULL),COLORCYAN,LINETHICK3;
IF(攀登>金山 AND 攀登>=REF(攀登,1),攀登,DRAWNULL),COLORRED,LINETHICK2;
IF(攀登>=金山,金山,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(攀登<金山,金山,DRAWNULL),COLORCYAN,LINETHICK1;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。