以下是通达信房价下跌源码

通达信房价下跌源码

BIAS1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
 BIAS2:=(CLOSE-MA(CLOSE,15))/MA(CLOSE,15)*100;
 BIAS3:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
 aa1:=((MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100))<-0.273;
 aa2:=(close-ma(close,30))/ma(close,30)<-0.125;
 aa3:=aa1 and aa2;
 aa4:=BIAS1>=-45 AND BIAS1<=-7 AND BIAS2<=-11 AND BIAS3<=-14;
 a:=((MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/
 MA(VOL,5)/100))<-0.4;
 RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 W1:=-100*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
 Var1:=1/WINNER(c);A0:=MA(c,13);
 Var3:=100-ABS((C-A0)/A0*100);
 A1:=LLV(L,75);A2:=HHV(H,75);A3:=(A2-A1)/100;A4:=SMA((C-A1)/A3,20,1);A5:=SMA((O-A1)/A3,20,1);
 Var4:=3*A4-2*SMA(A4,15,1);Var5:=3*A5-2*SMA(A5,15,1);
 Var6:=100-Var5;Var7:=100-Var4;
 Var8:=MA(WINNER(C*0.95)*100,3);
 Var9:=100-IF(Var1>5,IF(Var1<100,Var1,Var3-10),0);
 Var2:=Var8>Var3;
 VarA:=REF(L,1)*0.9;VarB:=L*0.9;
 VarC:=(VarB*V+VarA*(CAPITAL-V))/CAPITAL;
 VarD:=EMA(VarC,30);
 A6:=C-REF(C,1);A7:=MAX(A6,0);A8:=ABS(A6);
 VarF:=SMA(A7,7,1)/SMA(A8,7,1)*100;
 Var10:=SMA(A7,13,1)/SMA(A8,13,1)*100;
 Var11:=BARSCOUNT(C);
 Var12:=SMA(MAX(A6,0),6,1)/SMA(ABS(A6),6,1)*100;
 Var13:=-200*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+100;
 Var14:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
 Var16:=SMA((SMA(Var14,4,1)-50)*2,3,1);
 Var17:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
 Var18:=SMA(Var17,4,1);
 Var19:=SMA(Var18,3,1);
 Var1A:=(HHV(H,30)-C)/C*100;
 Var1B:=Var12<=25 AND Var13<-95 AND Var1A>20 AND Var16<-30 AND Var19<30 AND VarD-C>=-0.25
 AND VarF<22 AND Var10<28 AND Var11>50 and count(a,5)>=1 AND (W1<-99.9 or (D<15 AND K<12)) and aa3 and aa4;
 stickline(Var1B,0,80,5,0),COLOR0000ff,linethick3;
 DRAWTEXT(cross(Var1B,0.5) and count(Var1B=1,10)=1,20,’房价下跌’),colorffffff;
 

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