以下是通达信买点指标公式源码

通达信买点指标公式源码:

   DRAWLINE(C=HHV(C,60),HHV(H,3),C=HHV(C,30)ANDC<HHV(C,45),HHV(HIGH,3),1),COLORYELLOW;

   DRAWLINE(HIGH>=HHV(HIGH,30),HIGH,LOW<=LLV(LOW,10),HHV(HIGH,6),1),COLORFFCCCC;

   AB:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;

   DRAWLINE(LOW<=LLV(LOW,120),LOW,HHV(H,6)<=HHV(H,10),LLV(LOW,6),1),COLORBLUE;

   VA11:=HIGH>=HHV(HIGH,60);

   V1:=(REF(VA11,1)>0ANDVA11<1);

   VA12:=LOW<=LLV(LOW,60);

   V2:=REF(VA12,1)>0ANDVA12<1;

   DRAWLINE(V2,LOW,V1,LLV(LOW,6),1),COLOR0099FF;

   DRAWTEXT(CROSS(C,AB),L*0.98,’B’),COLORGRAY;

   DRAWGBK(CURRBARSCOUNT=1,RGB(110,108,108),RGB(88,30,0),0,”,0),COLORYELLOW,LINETHICK2;

   {获利盘比例}

   0,COLORYELLOW,LINETHICK2;

   M2:=EMA(C,2);

   M18:=EMA(C,18);

   买点:=IF(CROSS(M18,M2),5,10*10000),COLORFF00FF,LINETHICK2;

   RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;

   VARB2:=(RSVV/2+22)*1;

   Q:=EMA(VOL,13);

   Y:=EMA(AMOUNT,13);

   S:=((Y/Q)/100);

   X:=(((CLOSE-S)/S)*100);

   F:=((X<(0))ANDZXNH);

   XQ:=FANDRSVV<VARB2-2;

   无未来XG:买点ANDXQCOLORYELLOW,LINETHICK3;

   VA1:=HHV(HIGH,9)-LLV(LOW,9);

   VA2:=HHV(HIGH,9)-CLOSE;

   VA3:=CLOSE-LLV(LOW,9);

   VA4:=VA2/VA1*100-70;

   VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

   VA6:=(CLOSE+HIGH+LOW)/3;

   VA7:=SMA(VA3/VA1*100,3,1);

   VA8:=LLV(LOW,34);

   VA9:=Sma(VA7,3,1)-SMA(VA4,9,1);

   VARA:=IF(VA9>100,VA9-100,0);

   VARB:=HHV(HIGH,34);

   VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);

   VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);

   VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(Abs(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;

   VARF:=MA(VARE,3);

   VAR1:=HHV(HIGH,9)-LLV(LOW,9);

   VAR2:=HHV(HIGH,9)-CLOSE;

   VAR3:=CLOSE-LLV(LOW,9);

   VAR4:=((VAR2)/(VAR1))*(100)-70;

   VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);

   VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);

   VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);

   VAR8:=LLV(LOW,34);

   VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);

   VAR10:=IF((VAR9>100),VAR9-100,0);

   VAR11:=HHV(HIGH,34);

   B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);

   DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);

   领先:EMA(B1,5),COLORCYAN;

   生命线:EMA(VARD,1),COLORYELLOW;

   V1:=MA(C,5)=HHV(MA(C,5),20);

   V2:=MA(C,5)>MA(C,10);

   V3:=MA(V,5)>MA(V,40)*1.01;

   V4:=COUNT(MA(C,1)>REF(C,1),2)=2;

   VV:=V1ANDV2ANDV3ANDV4;

   A1:=EMA(CLOSE,8);

   A2:=EMA(A1,20);

   A3:=crOSS(A1,A2);

   A4:=A1<EMA(CLOSE,120);

   stICKLINE((A3ANDA4)OR(V1ANDV2ANDV3ANDV4),B1*1.03,B1*1.120,1,0),COLORYELLOW;

   A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*

   SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,COLORFF9900;

   安全位:=20;

   低位转强:IF(CROSS(A5,安全位),50,0),STICK,COLORMAGENTA,LINETHICK2;

   开始拉升:IF(CROSS(VARC,生命线)ANDVARC>VARDANDVARC<55ANDC>O,50,0),

   COLORLIRED,POINTDOT;

   A6:=LLV(C,500)=LLV(C,5)ANDC/REF(C,1)>(1+9.8/100);

   极地上涨:IF(A6,领先,0),COLORGREEN,LINETHICK2;

   STICKLINE(开始拉升>0,15,开始拉升*1.01,1,0),COLORBLUE;

   STICKLINE((开始拉升>0AND开始拉升<400)OR(极地上涨>0AND极地上涨<400)

   OR(低位转强>0AND低位转强<400)OR(低位转强>0),30,开始拉升,1,0),COLORRED;

   STICKLINE(开始拉升>0,15,开始拉升*0.6,3,0),COLORBLUE;

   STICKLINE(开始拉升>0,15,开始拉升*0.4,3,0),COLOR00FF00;

   STICKLINE(开始拉升>0,15,开始拉升*0.2,3,0),COLOR0099CC;

   STICKLINE(低位转强>0,15,低位转强*1.01,1,0),COLORMAGENTA;

   STICKLINE((低位转强>0)OR(极地上涨>0),15,低位转强*0.4,3,0),COLORYELLOW;

   STICKLINE(低位转强>0,15,低位转强*0.2,3,0),COLORFFCC66;

   STICKLINE(极地上涨>0,15,极地上涨*1.01,1,0),COLORYELLOW;

通达信买点指标公式截图

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