以下是通达信济安线公式源码和截图
通达信济安线选股公式源码:
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
济安线:=DMA((2*CLOSE+LOW+HIGH)/4,AA);
CC:=(CLOSE/济安线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-济安线)/济安线)/3;
TMP:=MA1-MAAA*MA1;
A:=TMP;
CROSS(A,济安线);
小阳小阴:=Abs((C-REF(C,1))/REF(C,1))*100
阳:=C
XG:COUNT(小阳小阴,N)=NANDCOUNT(阳,N) N/2ANDREF(C,N)
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
SK:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
SD:=EMA(SK,3),COLORGREEN,LINETHICK2;
A:=SK
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=CROSS(操盘,VAR300)ANDVAR300 2.1ANDC
QC:=IF(A1=1,40,0);
个股线:=MA(C,1)/MA(REF(C,18),18)*100;
资金生命线:=MA(FORCAST(个股资金线,20),6);
个股A:=EXPMEMA(个股资金线,1);
个股趋势:=EXPMEMA(个股趋势A,5);
B:=个股资金线 =个股趋势AND个股趋势 =资金生命线;
XG:AANDQCANDB;
通达信济安线选股公式截图