資源描述:
《通達信指標公式源碼軟件優(yōu)化BS決策主圖指標公式》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、通達信優(yōu)化BS決策主圖指標公式MA2:=MA(C,2);MA5:=MA(C,5)丄INETHICK2;MA10:MA(C,10)zLINETHICK2;MA20:=MA(C,20),COLORGREEN,LINETHICK2;MA30:=MA(C,30),COLORRED,LINETHICK2;MA60:MA(CLOSE,60)ZCOLORGREEN,DOTLINE;MA120:MA(CLOSE,120),COLORMAGENTA,DOTLINE;MA250:MA(CLOSE,250),COLORYELLOWZDOTLINE;A:=(3*C+H
2、+L+O)/6;XJ:=(A+0.618*REF(Azl)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(M))/2.382;YCZXH:=(MA(HHV(A,2),5)4-MA(HHV(A/2)z13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;YCZXL:=(MA(LLV(A,2)z5)+MA(LLV(Az2),13)+MA(LLV(A,2),21)+MA(LLV(Az2),32))/4;SMH:EMA(YCZXH,21),COLORBROWN;SML:EMA(YCZXL,21)
3、,COLORBROWN;SMJ:(SML+SMH)/2,COLORBROWN;PJ:=(10*A+9*REF(Az1)+8*REF(A,2)+7*REF(A,3)+6*REF(Aa4)+5*REF(A,5)+4*REF(AZ6)+3*REF(A,7)+2*REF(Az8)+REF(A,9))/55;Al:EMA(PJZ3)ZCOLOR004000;A2:EMA(PJZ5)ZCOLOR004000;A3:EMA(PJ,7),COLOR004000;A4:EMA(PJZ9),COLOR004000;A5:EMA(PJZ11),COLOR004000
4、;IF(A5[REF(A5,1),A5,DRAWNULL),COLOR00009B,LINETHICK4;IF(A4][REF(A4,1),A4,DRAWNULL),COLOR000055丄INETHICK1;IF(A3][REF(A3,1)]
5、ZA3ZDRAWNULL),COLOR00006C,LINETHICK2;IF(A2[REF(A2,1),A2,DRAWNULL),COLOR00006C/LINETHICK1;IF(AlvREF(Al,l),Al,DRAWNULL),COLOROO66OO丄INETHICK2;IF(A1>REF(A1,1)ZA1ZDRAWNULL),COLOR00005BZLINETHICK2;DRAWICON((A3>REF(A3,1)ANDREF(A3]
6、,l)vREF(A3,2))丄OW*0?96,刀;Q2:=REF(CLOSEZ4)>REF(CLOSE,3);Q3:=REF(CLOSE,3)>REF(CLOSE,2);Q4:=REF(CLOSE,2)>REF(CLOSE,1);Q5:=CLOSE>REF(HIGH,1)ANDV>REF(V,1)*1.3;Q:=Q2ANDQ3ANDQ4ANDQ5;DRAWICON(Q=1,H*1.03,3);STICKLINE(C>=O,HzL,0,0),COLORRED;STICKLINE(C7、(C>=OZCZO,3.5,1),COLORRED;STICKLINE(C8、T_FIX(l,0.33,OzOzGNBLOCK),COLORFFOOFF;DRAWTEXT_FIX(1Q5,1O‘要買5日線上的股!'),COLOR