以下是同花顺预警系统副图指标

同花顺预警系统副图指标

源码

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
KSMA:=SMA(RSV,3,1);
DSMA:=SMA(KSMA,3,1);
M1:=n-1;
F:=HHV(HIGH,m1)-LLV(LOW,m1);
K:=KSMA/3*2+(CLOSE-LLV(LOW,m1))/F*100/3;
D:=DSMA/3*2+K/3;
J:=3*K-2*D;
X1:=(J*9+DSMA*12-KSMA*14)*F/700+LLV(LOW,m1);
X3:=IF(CLOSE>500,100,1);
X4:=IF(CLOSE>500,1,10);
a=SMA(RSV,N1,1);
b=SMA(a,N2,1);
e=3*a-2*b;
IF(e<0) e=0;
IF(e>100) e=100;
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
KSMA:=SMA(RSV,3,1);
DSMA:=SMA(KSMA,3,1);
M1:=n-1;
F:=HHV(HIGH,m1)-LLV(LOW,m1);
K:=KSMA/3*2+(CLOSE-LLV(LOW,m1))/F*100/3;
D:=DSMA/3*2+K/3;
J:=3*K-2*D;
X1:=(J*9+DSMA*12-KSMA*14)*F/700+LLV(LOW,m1);
X3:=IF(CLOSE>500,100,1);
X4:=IF(CLOSE>500,1,10);
a=SMA(RSV,N1,1);
b=SMA(a,N2,1);
e=3*a-2*b;
IF(e<0) e=0;
IF(e>100) e=100;
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
多方: IF(V1>0,V1,0)/10;
上位:(F*80/100+LLV(LOW,m1));
TSX:X1;
KD:((DSMA*3-KSMA*2)*F/100+LLV(LOW,m1));
下位:(F*20/100+LLV(LOW,m1));
Q:e/10;
预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(6.5,多方),15,IF(V7<=-200 AND V6<=-150,-15,V9))+65)/10;

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