九毛八公式指标
请老师帮忙在两个公式‘重叠出现’时做一个预警公式,谢谢!!!! RG1:=MA(CLOSE,27); RG2:=((CLOSE - RG1)/(RG1))*(100); RG3:=MA(RG2,2); RG4:=BARSLAST((CROSS((-10),RG3) = 1)); RG5:=(RG3 < (-10)) AND (RG4 > 3); V1:=C/REF(MA(C,36),6)*10; RF1:=EMA(CLOSE,3); RF2:=((SMA(MAX((CLOSE - RF1),0),9,1) / SMA(ABS((CLOSE - RF1)),9,1)) * 100); RF5:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10); RF6:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100); RF7:=SMA(SMA(RF6,16,8),25,8)-SMA(RF5,30,8); K0:=IF((RF2< 14) AND L3 AND RG5=0,80,0),STICK,COLOR10FFFF,LINETHICK3; RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; K:=SMA(RSV,9,1); D:=SMA(K,3,1); 趋势J1:=3*K-2*D; 趋势J2:=EMA(K,3); VAR09:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1); 极品底:=(MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04; STICKLINE(极品底,0,50,2,0)COLORCYAN; XG:VAR09<=8; 公式模块:
RG1:=MA(CLOSE,27);
RG2:=((CLOSE - RG1)/(RG1))*(100); RG3:=MA(RG2,2); RG4:=BArslAST((crOSS((-10),RG3) = 1)); RG5:=(RG3 < (-10)) AND (RG4 > 3); V1:=C/REF(MA(C,36),6)*10; RF1:=EMA(CLOSE,3); RF2:=((SMA(MAX((CLOSE - RF1),0),9,1) / SMA(ABS((CLOSE - RF1)),9,1)) * 100); RF5:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10); RF6:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100); RF7:=SMA(SMA(RF6,16,8),25,8)-SMA(RF5,30,8); K0:=IF((RF2< 14) AND L<REF(L,1) AND V1<8.8 AND RF7<-65,50,0); XG1:=K0>3 AND RG5=0; RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; K:=SMA(RSV,9,1); D:=SMA(K,3,1); 趋势J1:=3*K-2*D; 趋势J2:=EMA(K,3); VAR09:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1); XG2:=VAR09<=8; XG:XG1 AND XG2;