VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,38); VAR6:=HHV(VAR4,38); VAR7:=IF(LLV(LOW,90),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; DD:=VAR8>5; 涔板叆:=IF((COUNT(DD,2)=2),-20,0); VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1); VAR3S:=EMA(VAR2S,10); VAR4S:=LLV(LOW,33); VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3); 第二个公式: RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); JJ:=9*(3*D-2*K); J:=((3 * K) - (2 * D)); MAIRU:= CROSS(K,D) AND K<20; MAICHU:= CROSS(D,K) AND D>80; 蹇嚎:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLORRED; 鎱㈢嚎:SMA(蹇嚎,3,1),COLORCYAN; 绌?SMA(鎱㈢嚎,3,1),COLOR00FF00; 鐗涜偂:IF(BARSLAST(CROSS(鎱㈢嚎,绌?)<9 AND CROSS(鎱㈢嚎,绌? AND 鎱㈢嚎<20,90,0),STICK,COLORFF937F; STICKLINE(鐗涜偂,0,90,1,0),COLORFF937F; BB:=IF(BARSLAST(CROSS(鎱㈢嚎,蹇嚎))>=3 AND CROSS(蹇嚎,鎱㈢嚎) AND 鎱㈢嚎<30,20,0); STICKLINE(BB,0,-20,3,0),COLORYELLOW; 浣庝拱:IF(BB,-20,-40),COLORYELLOW; DRAWICON(BB>0,-35,7); AA:=IF(BARSLAST(CROSS(蹇嚎,鎱㈢嚎))>=4 AND CROSS(鎱㈢嚎,蹇嚎) AND 蹇嚎>50,20,0); STICKLINE(AA,100,120,3,0),COLOR00FF00; 楂樺崠:IF(AA,120,140),COLOR00FF00; DRAWICON(AA>0,150,8); |
