以下是通达信最佳买入点式副图源码(无源码的请下载附件导入)
X_1:=REF(LOW,1);
X_2:=SMA(ABS(LOW-X_1),3,1)/SMA(MAX(LOW-X_1,0),3,1)*100;
X_3:=EMA(IF(CLOSE*1.3,X_2*10,X_2/10),3);
X_4:=LLV(LOW,30);
X_5:=HHV(X_3,30);
X_6:=IF(MA(CLOSE,58),1,0);
X_7:=EMA(IF(LOW<=X_4,(X_3+X_5*2)/2,0),3)/618*X_6;
X_8:=IF(X_7>28,28,X_7);
吸筹:STICKLINE(X_8>(-120),0,X_8,6,1),COLORBLUE;
X_9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_10:=SMA(X_9,3,1);
X_11:=SMA(X_10,3,1);
X_12:=3*X_10-2*X_11;
买入时机:IF(CROSS(X_12,3),60,0),COLORYELLOW;
X_13:=(2*CLOSE+HIGH+LOW)/4;
X_14:=LLV(LOW,5);
X_15:=HHV(HIGH,5);
红线上穿买:EMA((X_13-X_14)/(X_15-X_14)*100,5),COLORRED;
红线下穿卖:EMA(红线上穿买,3),COLORCYAN;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR42426F;
秘密买点:IF(趋势<=3,20,0),COLORMAGENTA,LINETHICK2;
机构建仓:IF(趋势<5,45,0),COLOR426F42;
|