通达信公式 财神之吻 TYP:= (H+L+2*C)/4; SVAR4:=LLV(L,34) ; SVAR5:=HHV(H,34) ; 五阳1号:=EMA((TYP- SVAR4)/(SVAR5 - SVAR4) * 100,8); SVAR6:=EMA(五阳1号,5); 价量:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),COLORYELLOW,LINETHICK2; 五阳2号:=MA(价量,3),LINETHICK2,COLORADDF02; 主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORC0C0C0,LINETHICK1; 快线:=(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF; QS:=EMA(价量,3),COLORMAGENTA; V12:=(QS-REF(QS,1))/REF(QS,1)*100; AA:=(QS<=13) AND FILTER((QS<=13),15); 买入: STICKLINE(QS<=13 AND V12>13,0,20,1,0),COLORFF0080; BB:= (QS<=13 AND V12>13) AND FILTER((QS<=13 AND V12>13),10) ; DRAWTEXT (BB,30,'买'),COLORFF0080; CC:=(QS>=90 AND V12) AND FILTER((QS>=90 AND V12),10); MR:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),10)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),10); DW:=100-(100/(1+MR)),LINETHICK2,COLORFF8000; VAR5:=LLV(L,10); VAR6:=HHV(H,26); 决策线:=EMA((C-VAR5)/(VAR6-VAR5)*100,3),COLORMAGENTA,LINETHICK2; DRAWICON(CROSS(80,决策线),100,2); STICKLINE(五阳1号 - SVAR6 > 0,五阳1号,SVAR6,3.8,1),COLORFF00FF; STICKLINE(五阳1号 - SVAR6 < 0,五阳1号,SVAR6,3.8,1),COLORFD481C; {WWW.fxjgsw.com} P1:=5;P2:=4; VAR1:=LLV(L,P1); VAR2:=HHV(H,P1); K: EMA((C-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK2; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2; 地轨:IF(CROSS(K,D) AND DW<(20),15,0),COLORFFA538,LINETHICK1; 天轨:IF(DW>(80),85,100),COLORFFA538,LINETHICK1; 50,POINTDOT,COLORLIRED; 高卖:80, POINTDOT,COLORRED; 低吸:20, POINTDOT,COLORGREEN; |
