以下是通达信先胜短底指标公式

KDJ、筹码顶底买卖信号

 

STICKLINE(C>0,0,100,15,0),COLOR781816;Q_1:=C-REF(C,1);
 N1:=5;N2:=10;
 VAR0:=(2*CLOSE+HIGH+LOW)/4;
 VAR311:=(HHV(HIGH,18)-CLOSE)/(HHV(HIGH,18)-LLV(LOW,18))*100;
 VAR322:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
 B0:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
变量00:=5;变量01:=30;
 A02:=(WINNER((CLOSE * 1.100)) * 100.000);
 A03:=(WINNER((CLOSE * 0.9)) * 100.000);
 A04:=MA(A03,变量00);

白色获利:=MA(A03,变量00),COLOR00FF00;
 A06:=( 100.000 – MA(A02,变量00));
 STICKLINE( 1.000, 100.000,MA(A02,变量00), 7.450,0),COLORGREEN;
绿色套牢:( 100.000 – MA(A02,变量00)),;

你:=MA(CLOSE,1);
老:=(((LOW + HIGH) + CLOSE) / 3);
板:=MA(老,5);
好:=HHV(板,10);
老板:=MA(老,5);
买卖点:=LLV(老板,10);
急买奇准:=IF(LLV((你 < 买卖点),5),28,-5)LINETHICK2,;
急卖奇准:=IF(HHV((你 < 好),8),0,60),COLORWHITE LINETHICK2;
 RSV1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*101;
 KK:=SMA(RSV1,3,1);
 DD:=SMA(KK,3,1);
 JJ:=3*KK-2*DD;
买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));
明天买:=IF(买卖=100,80,0) LINETHICK2 COLORRED;
 R:=SUM(MAX(MAX((HIGH – LOW),ABS((HIGH – REF(CLOSE,1)))),ABS((LOW –
 REF(CLOSE,1)))),5);
 HD:=(HIGH – REF(HIGH,1));
 LD:=(REF(LOW,1) – LOW);
 DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
 DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
 XXX:=(MA(((ABS((辅助线 – 神偷线)) / (辅助线 + 神偷线)) * 100),3));
底部关注:IF(((XXX > 88) AND (神偷线 < 5.8)),50,0),LINETHICK3,COLORYELLOW;

VAR29:=(((CLOSE – MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
 VAR39:=(((CLOSE – MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
 VAR49:=(((CLOSE – MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
 VAR59:=(((VAR29 + (2 * VAR39)) + (3 * VAR49)) / 6);
 VAR69:=MA(VAR59,3);
开始控盘:=STICKLINE((VAR69 <= (0 – 10)),0,(0 – 20),3.5,0),COLOR00AAFF;

STICKLINE((VAR69 <= (0 – 10)),0,(0 – 20),3.5,0),COLOR0044FF;
 STICKLINE((VAR69 <= (0 – 10)),0,(0 – 20),2.5,0),COLOR0088FF;
 STICKLINE((VAR69 <= (0 – 10)),0,(0 – 20),3,0),COLOR00AAFF;
明天卖:IF(买卖=0,110,100), COLORRED LINETHICK4;

 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:SMA(RSV,3,1)LINETHICK2;
 D:SMA(K,3,1)LINETHICK2;
 J:3*K-2*D LINETHICK2;
 STICKLINE(J<0,0,-21,5,0),COLOR008888;
 STICKLINE(J<0,0,-21,2,0),COLOR00AAAA;
 STICKLINE(J<0,0,-21,1,0),COLOR00CCCC;
 STICKLINE(J<0,0,-21,0.2,0),COLOR00FFFF;
 DRAWTEXT(J<0,-30,’底’)COLORRED;

 VAR19:=EMA(EMA(CLOSE,3),1);
控盘:=(VAR19-REF(VAR19,1))/REF(VAR19,1)*1000;
底部:-3,COLORYELLOW;
 CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
 YJD:=(EMA(CS,3)-50)*2;

DRAWICON(CROSS(YJD,80),99,4);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。