九毛八公式指标
公式是通达信的,想改两个选股公式,一个是出现那个“买”字,一个是黄色三角形塔出现。麻烦高手帮我改下,谢谢。 源码如下: VAR1:=XMA(REF((L+OPEN+CLOSE+HIGH)/4,1),2); VAR2:=SMA(ABS(LOW-VAR1),11,1)/SMA(MAX(LOW-VAR1,0),11,1); VAR3:=EMA(VAR2,3); VAR4:=LLV(LOW,11); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5.5); AA:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORMAGENTA,NODRAW; AA1:=IF(VAR5REF(筹码,1)AND 筹码>0,0,筹码,3,0),COLORRED; STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,2,0),COLORRED; STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,1.5,0),COLORRED; STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,0.5,0),COLORRED; STICKLINE(筹码>REF(筹码,1)AND 筹码<0,0,筹码,2,0)COLORYELLOW; STICKLINE(筹码公式模块:
VAR1:=XMA(REF((L+OPEN+CLOSE+HIGH)/4,1),2);
VAR2:=SMA(ABS(LOW-VAR1),11,1)/SMA(MAX(LOW-VAR1,0),11,1); VAR3:=EMA(VAR2,3); VAR4:=LLV(LOW,11); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5.5); AA:=IF(VAR5>REF(VAR5,1),VAR5,0); AA1:=IF(VAR5<REF(VAR5,1),VAR5,0); AA2:=EXPMEMA(AA+AA1,1); AA3:=EXPMEMA(AA-AA1,1); 筹码:=EXPMEMA(AA2*AA3,1); RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; X:=LLV(J,2)=LLV(J,8); 注意: IF(crOSS(J,3),95,0)AND CROSS(0,筹码);