九毛八公式指标
RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100; K:SMA(RSV,14,1),COLOR009900,LINETHICK2; D:SMA (K,10,1),COLORFF00FF,LINETHICK3; MA6:=MA(C,6); MA34:=MA(C,34); STICKLINE(CROSS(MA6,MA34) AND K>D,K+9,D,8,0),LINETHICK3,COLOR0000FF; DRAWTEXT(CROSS(MA6,MA34) AND K>D,K+11,' ★起爆'),COLOR0000FF; SCD:IF(CROSS(MA34,MA6), K,D),COLORFF00FF,LINETHICK2; DRAWTEXT(CROSS(MA34,MA6),K,' ★死叉'),COLOR00FFFF; STICKLINE(CROSS(K,D) AND K<30 and d<30,k+5,d,8,0),linethick3,colorcyan; diff:=EMA(CLOSE,12) - ema(close,26); dea:=EMA(DIFF,9); 中轴:=0; tj:=DIFF>=中轴 AND DEA>=中轴; XG:=(CROSS(DEA,DIFF) AND TJ); 上:=(SMA(HIGH,21,2) * 1.05); 下轨道:=(SMA(LOW,21,2) * 0.969),POINTDOT,COLORFFFF00; 阻挡:=(SMA(HIGH,21,2) * 1.05); RSVA:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); KA:=SMA(RSVA,3,1); DA:=SMA(KA,3,1); J:=((3 * KA) - (2 * DA)); RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100); K12:=SMA(RSV12,3,1); D12:=SMA(K12,3,1); J12:=((3 * K12) - (2 * D12)); RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=((3 * K24) - (2 * D24)); 支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24)))); 压力位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),COLORFF00FF; U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50); L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20); RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1))))); RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1)))); RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1)))); RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24))))); RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1))))); RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1)))); RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1)))); RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J > J24)),LOW,REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J > J24))))); 黑马趋势:=MA(CLOSE,3); AA5:=MA(CLOSE,21); AA10:=MA(CLOSE,8),COLORFF0000; 黑马启动:FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3)*30,LINETHICK1; STICKLINE(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),30,0,2,0),COLORRED;
公式模块:
RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
K:=SMA(RSV,14,1); D:=SMA (K,10,1); MA6:=MA(C,6); MA34:=MA(C,34); crOSS(MA6,MA34) AND K>D;
30>