相关简介:通达信雷达公式
通达信指标公式源码概况:
指标类别:通达信指标公式
授权方式:免费版
指标评级:★★★★★
指标分类:策略
画线方法:副图
公式解读:
通达信指标公式源码:
{黄买}
A7:=C-REF(C,1);
A8:=100*Ema(EMA(A7,6),6)/EMA(EMA(Abs(A7),6),6);
AA:=LLV(A8,2)=LLV(A8,7)ANDCOUNT(A8 0,2)ANDcrOSS(A8,MA(A8,2));
{}
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR1,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BB:=CROSS(K,D)ANDCROSS(J,K);
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D1:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
长期线:=A+100;
中期线:=D1+100;
短期线:=B+100;
CC:=短期线 中期线ANDCROSS(中期线,长期线)AND长期线 REF(长期线,1);
{两}
趋势A:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
趋势B:=SMA(趋势A,3,1);
QSA:=趋势A;
QSB:=趋势B;
DD:=CROSS(QSA,QSB);
EE:=CROSS(QSB,QSA);
{N日内满足某条件}
FF:=COUNT(EE,2)
{}
E:=MA(V,5);F:=MA(V,10);G:=MA(V,89);
GG:=F GANDE
AAANDBBANDCCANDDDANDGG;
时间:=TIME2=100000;
N:=BARSLAST(时间);
CS1:CONST(IF(N,MAX(REF(HHV(H,0),N),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLORGREEN;
CS2:CONST(IF(N,MIN(REF(LLV(L,0),N),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLORRED;
CS3:(CS1+CS2)/2,DOTLINE,COLORYELLOW;
均价:=AMOUNT/VOL/100,COLORYELLOW,LINETHICK1;
DRAWNUMBER(CURRBARSCOUNT=2,CS1*1.005,VAR2STR(CS1,3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=2,CS2*0.995,VAR2STR(CS2,3)),COLORYELLOW;
DRAWTEXT(CS1/CS2 1.03ANDCROSS(C,CS1),CS1*1.005,'买入')COLORRED;
DRAWTEXT(CS1/CS2 1.03ANDCROSS(CS2,C),CS2*0.995,'卖出')COLORGREEN;
DRAWICON(CS1/CS2 1.03ANDCROSS(C,CS1),CS1*1.005,9);
DRAWICON(CS1/CS2 1.03ANDCROSS(CS2,C),CS2*0.9955,2);
STICKLINE(CS1/CS2 1.03ANDCROSS(C,CS1),CS1*1.1,CS2*0.9,1,0),COLORRED;
VAR0:=FILTER((((C/REF(C,1)) 1.048)AND(C=HIGH))AND(BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12))),28);
VAR1:=IF(C REF(C,1),88,0);
VAR2:=IF((((C/REF(C,1)) 1.05)AND((HIGH/C) 1.01))AND(VAR1 0),91,0);
VAR3:=FILTER(VAR2 90,45);
VAR4:=LLV(LOW,4)=LLV(LOW,10);
VAR5:=(((C/REF(C,1)) 1.06)AND(HIGH=C))AND(LOW
VAR6:=((C/LLV(LOW,4)) 1.15)AND((C/LLV(LOW,4)) 1.05);
VAR7:=VAR5AND(VAR6ORVAR4);
VAR8:=(LN(C/REF(C,1)))/LN(1.1);
VAR9:=IF(VAR8 =1.2,0,(ABS((VAR8*AMOUNT)/10000))*5);
VAR10:=SMA(IF(VAR8 0,VAR9,0),5,1);
VAR11:=EMA(SMA(IF(VAR8 =0,VAR9,0),5,1),2);
VAR12:=SMA(VAR10,20,1)/SMA(VAR11,20,1);
VAR13:=IF(VAR12 =1,1,VAR12);
VAR14:=((VAR10*VAR13)-VAR11)/10000;
VAR15:=((C-MA(C,20))/MA(C,20))*100;
VAR16:=10;
VAR17:=EMA(C,9)-EMA(C,26);
VAR18:=EMA(VAR17,12);
VAR19:=((((CROSS(VAR15,VAR16)AND(VAR14 0.5))AND(VAR18 -0.25))AND(VAR18 REF(VAR18,1)))ANDVAR3)ANDVAR7;
VAR20:=(((REF(C,1)*1.1)-C) 0.01)AND(HIGH=C);
VAR21:=REF(HIGH,BARSLAST(VOL=HHV(VOL,120)));
霸气99:((((((NOT(REF(VAR21,1)=VAR21))ANDVAR20)ANDVAR0)ANDVAR3)ANDVAR7)ORVAR19)AND(NOT(DYNAINFO(4)=0));
跑道AA:=MA(L,3);跑道BB:=MA(L,26);跑道AF:=CROSS(跑道AA,跑道BB);跑道AF1:=CROSS(跑道BB,跑道AA);上穿天数:=BArslAst(跑道AF);周期涨幅:=(HHV(C,上穿天数+0)-LLV(C,上穿天数+0))/LLV(C,上穿天数+0);加速跑道:=周期涨幅 =0.15AND上穿天数 =6ANDCOUNT(跑道AF1,上穿天数) 上下穿数:=COUNT(跑道AF1,20)+COUNT(跑道AF,20);CC:=EMA(上下穿数,10)*6;YUWEI:=MA(CLOSE,1)-MA(CLOSE,6);线上:=YUWEI 线下:=YUWEI 线下绿柱:=YUWEI 0ANDYUWEI REF(YUWEI,1);线下红柱:=YUWEI 0ANDYUWEI REF(YUWEI,1);资金买:=CROSS(YUWEI,0);线上数:=COUNT(线上,15);主力强度:=EMA(线上数,10);MAVOL:=HHV(REF(VOL,1),3);MDAY:=BARSLAST(MAVOL);条件:=VOL MAVOLANDCLOSE REF(CLOSE,MDAY+1);真突破暴涨:条件ANDCC =1ANDCOUNT(条件,2) =1AND主力强度 REF(主力强度,1);