以下是通达信横盘公式源码和截图
通达信突破横盘选股公式源码:
N1:=7;
LC1:=REF(CLOSE,1);
WTC1:=SMA(MAX(CLOSE-LC1,0),N1,1)/SMA(ABS(CLOSE-LC1),N1,1)*100,COLORFFFFFF;
80,COLORGRAY,LINETHICK2;
LC:=REF(CLOSE,1);
方向线:((SMA(MAX((CLOSE-LC),0),4,1)/SMA(ABS((CLOSE-LC)),4,1))*100),COLORMAGENTA,LINETHICK2;
N:=18;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
MAV:=MA(V,3);
横盘:=((HIGHV-LOWV)/N) 0.15;
放量1:=V =1.8*MAV;
今天大阳:=(C-REF(C,1))/REF(C,1) =0.05;
启动买点:横盘AND放量1AND今天大阳;
XG:(HHV(CLOSE,10)-LLV(CLOSE,10))/LLV(CLOSE,10) 0.07AND
COUNT(V ma(V,13),13) 6AND
COUNT(C MA(C,13),13) 6AND
V=LLV(V,34);
N:=9;M:=3;P:=2;
RAV:=(CLOSE-LLV(LOW,N));
RAV1:=(HHV(HIGH,N)-LLV(LOW,N));
RAV2:=RAV/RAV1;
RAV3:=(HIGH+LOW+CLOSE+REF(C,1)+O)/5;
RAV4:=RAV2*100;
RAV5:=SMA(RAV4,M,1);
RAV6:=SMA(RAV5,M,1);
RAV7:=SUM(IF(RAV3 REF(RAV3,1),RAV3*VOL,0),N)/SUM(IF(RAV3 REF(RAV3,1),RAV3*VOL,0),N);
:=100-(100/(1+RAV7)),COLORFFF000;
价格趋势:=(M*RAV5-P*RAV6)*1.1;
XG:CROSS(价格趋势,资金趋势)ANDBETWEEN(资金趋势,20,80);
通达信突破横盘选股公式截图