手机端
当前位置:爱约股 > 公式技巧 > 把TDX指标改成大智慧的,预警公式

把TDX指标改成大智慧的,预警公式

RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100; VARR1:=(SUM(H,8)-SUM(L,8))/2; RSVC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 白马:=SMA(RSVC,3,1); DC:=SMA(白马,3,1),LINETHICK1; 主升线:3*白马-2*DC,COLORYELLOW,LINETHICK2; 短K:=SMA(RSV,3,1),COLORBLUE; 支撑线:=SMA(短K,3,1),COLORBLUE; 主升确认线:WINNER(C)*100,COLORMAGENTA,LINETHICK2; RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100; 多方趋势线1:=SMA(RSV1,5,1),COLORRED,LINETHICK2; 空方趋势线1:=SMA(多方趋势线1,10,1),

爱约股解答:

RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;

VARR1:=(SUM(H,8)-SUM(L,8))/2;

RSVC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

白马:=SMA(RSVC,3,1);

DC:=SMA(白马,3,1);

主升线:3*白马-2*DC,COLORYELLOW,LINETHICK2;

短K:=SMA(RSV,3,1);

支撑线:=SMA(短K,3,1);

主升确认线:WINNER(C)*100,COLORMAGENTA,LINETHICK2;

RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;

多方趋势线1:=SMA(RSV1,5,1);

空方趋势线1:=SMA(多方趋势线1,10,1);

多方趋势线:IF(多方趋势线1>空方趋势线1,多方趋势线1,0), COLORRED, LINETHICK2;

IF(多方趋势线1<=空方趋势线1,多方趋势线1,0), COLOR669933, LINETHICK1;

空方趋势线:IF(空方趋势线1>多方趋势线1,空方趋势线1,0),COLOR669933, LINETHICK2;

IF(空方趋势线1<=多方趋势线1,空方趋势线1,0),COLORRED, LINETHICK1;

DIFF:=EMA(CLOSE,8) - EMA(CLOSE,17);

DEA:=EMA(DIFF,9);

MACD:= 2*(DIFF-DEA); 

STICKLINE(多方趋势线1>空方趋势线1,多方趋势线1,空方趋势线1,1,1),COLORRED;

STICKLINE(多方趋势线1<=空方趋势线1,多方趋势线1,空方趋势线1,1,1),COLOR669933;

主升区:80,COLORWHITE,LINETHICK1;

平衡:=50;

主跌区:20,COLORGREEN,LINETHICK1;

STICKLINE(主升线>=80,80,(主升线*0.98),0.5,0),COLORYELLOW; 

STICKLINE(主升线<20,20,主升线+1,0.5,0),COLORGREEN; 

主力线:=WINNER(C)*100;

HM:=SMA(RSV,3,1);

D1:=SMA(HM,3,1);

K1:=SMA(RSV,10,1);

D:=SMA(K1,10,1);

TT:=3*HM-2*D1;

压力线:=REF(HHV(HM,20),20);

资金超:=(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100;

AA:=CROSS(主升线,主升区) AND CROSS(主升线,平衡) AND C>EMA(C,12) AND C/REF(C,1)>1.04;

BB:=CROSS(主升线,平衡) AND CROSS(主升线,20);

CC:=主升线-REF(主升线,1)>30 AND C/REF(C,1)>1.05;

DD:=CROSS(TT,HM) AND TT>压力线 AND 主升线>REF(主升线,1) AND COUNT(C/REF(C,1)>=1.045,1)=1;

DRAWICON(CROSS(主升线,主升区) AND C>EMA(CLOSE,12) AND CC OR AA{ OR DD}

OR 资金超=100 AND CROSS(主升线,主升区) OR CROSS(主升线,主升区)

AND EMA(CLOSE,12)>EMA(CLOSE,50) AND "MACD.MACD">REF("MACD.MACD",1),75,7);

DRAWICON(BB,40,1);

工作线:=EMA(CLOSE,12);

生命线:=EMA(CLOSE,50);

走出短线主升区:=CROSS(78,"KDJ.J") AND 工作线>生命线 AND "MACD.DIFF">"MACD.DEA" AND MA(C,5)>MA(C,30) AND 多方趋势线1/空方趋势线1<=1.09;

强势低吸:=工作线>生命线 AND CROSS("KDJ.J",20) AND 多方趋势线1>=空方趋势线1 AND 多方趋势线1/空方趋势线1>REF(多方趋势线1,1)/REF(空方趋势线1,1)  AND (多方趋势线1/空方趋势线1)/(REF(多方趋势线1,2)/REF(空方趋势线1,2))>=0.995;

DRAWICON(走出短线主升区,85,2);

抬头:="KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2)

AND REF("KDJ.J",1)>REF("KDJ.D",1) AND "MACD.MACD">0;

金叉:=CROSS("KDJ.J","KDJ.D") AND MA(C,10)>MA(C,25) AND MA(C,25)>REF(MA(C,25),1) AND "MACD.MACD">0; 

DRAWICON( 强势低吸,15,1);

{DRAWICON(AA OR BB,50,1);}

DRAWICON(CC OR AA,25,7);

DRAWTEXT(强势低吸,15,'低吸'),COLORRED;

DRAWTEXT(走出短线主升区,95,'  '),COLORGREEN;

DRAWTEXT(DD OR 资金超=100 AND CROSS(主升线,80) AND COUNT(REF(主升确认线,1)>95 AND CROSS(REF(主升线,1),74),1)<1 AND 主升确认线>80 AND 多方趋势线1/空方趋势线1>0.93 AND (MACD-REF(MACD,1))>0 AND 多方趋势线1/空方趋势线1>REF(多方趋势线1,1)/REF(空方趋势线1,1) AND (多方趋势线1/空方趋势线1)/(REF(多方趋势线1,2)/REF(空方趋势线1,2))>=0.975 AND COUNT(C/REF(C,1)>=1.043,1)=1 OR CROSS(主升线,74)

AND EMA(CLOSE,12)>EMA(CLOSE,50) AND 主升确认线>95 AND 多方趋势线1/空方趋势线1>0.93 AND (MACD-REF(MACD,1))>0 AND (MACD-REF(MACD,2))>0 AND 多方趋势线1/空方趋势线1>REF(多方趋势线1,1)/REF(空方趋势线1,1) AND (多方趋势线1/空方趋势线1)/(REF(多方趋势线1,2)/REF(空方趋势线1,2))>=0.975 AND COUNT(C/REF(C,1)>=1.043,1)=1,45,'买 '),COLORRED;

第一吻线:=(LOW-MA(CLOSE,13))/MA(CLOSE,13)*100;

心跳线:=(CLOSE-LOW)/REF(CLOSE,1)*100-3;

涨停敢死队:-5,COLORYELLOW;

AAA:=C/REF(C,1)>1.05;

BBB:=STICKLINE(AAA  AND 心跳线>4 ,20,涨停敢死队,1,0);

STICKLINE(AAA AND COUNT(BBB,3)=1 AND 心跳线>4 ,20,涨停敢死队,1,0),COLORYELLOW;

TAG:
分享至:

相关推荐