以下是通达信牛股现形幅图公式 源码

牛股现形幅图公式 源码

HZ:=HHV((HIGH+LOW)/2,120);

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

VAR1:=IF(DATE=10301201,0,1);

VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);

VAR3:=EMA(CLOSE,3);

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

VAR5:=VAR2-VAR3;

VAR6:=CLOSE*VOL;

VAR7:=EMA((EMA(VAR6,3)/EMA(VOL,3)+EMA(VAR6,6)/EMA(VOL,6)+EMA(VAR6,12)/EMA(VOL,12)+EMA(VAR6,24)/EMA(VOL,24))/4,13);

VAR8:=EMA(CLOSE,9);

VAR9:=(CLOSE+OPEN)/2;

HH:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210;

A_1:=EMA(VAR8*1.14,15);

B_:=(EMA(VAR9,3)+EMA(VAR9,6)+EMA(VAR9,12)+EMA(VAR9,24))/4;

A_2:=EMA(HH,90);

A_3:=A_2-((CLOSE-A_2)*CLOSE-A_2)/A_2;

TP1:=CROSS(A_2,A_3);

TP2:=6*HHV(A_2,3)-5*A_2;

牛股现形:CROSS(A_2,A_3),COLORRED;

牛股现形幅图公式 源码

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