RSV:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
GVV:=EMA(CLOSE,12) - EMA(CLOSE,15);
AA1:=CROSS(K,D);
AA2:=CROSS(DIFF,DEA);
AA3:=CROSS(DIFF,0);
AA4:=CROSS(GVV,(-0.01));
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
OK1:=(CLOSE > MA5) and (CLOSE > MA10) and (CLOSE > MA20) and (CLOSE > MA30) and ((LOW)*(0.9) < MA5) and ((LOW)*(0.9) < MA10) and ((LOW)*(0.9) < MA20) and ((LOW)*(0.9) < MA30);
OK2:=(CLOSE > MA5) and (CLOSE > MA10) and (CLOSE > MA20) and (CLOSE > MA30) and (CLOSE > MA30) and ((LOW)*(0.9) < MA5) and ((LOW)*(0.9) < MA10) and ((LOW)*(0.9) < MA20) and ((LOW)*(0.9) < MA30) and ((LOW)*(0.9) < MA60);
银疙瘩1:=AA1 and (BARSLAST(AA2) < 6) and OK1;
银疙瘩2:=AA2 and (BARSLAST(AA1) < 6) and OK1;
银疙瘩3:=AA3 and (BARSLAST(AA1) < 6) and OK1;
银疙瘩4:=AA4 and (BARSLAST(AA1) < 6) and OK1;
银疙瘩5:=AA1 and (BARSLAST(AA2) < 6) and OK2;
银疙瘩6:=AA2 and (BARSLAST(AA1) < 6) and OK2;
银疙瘩7:=AA3 and (BARSLAST(AA1) < 6) and OK2;
银疙瘩8:=AA4 and (BARSLAST(AA1) < 6) and OK2;
重点判研点:银疙瘩5 or 银疙瘩6 or 银疙瘩7 or 银疙瘩8;
九毛八公式解读
RSV赋值:((收盘价 - 9日内最低价的最低值)/(9日内最高价的最高值 - 9日内最低价的最低值))*(100) K赋值:RSV的3日[1日权重]移动平均 D赋值:K的3日[1日权重]移动平均 DIFF赋值:收盘价的12日指数移动平均 - 收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 GVV赋值:收盘价的12日指数移动平均 - 收盘价的15日指数移动平均 AA1赋值:K上穿D AA2赋值:DIFF上穿DEA AA3赋值:DIFF上穿0 AA4赋值:GVV上穿(-0.01) MA5赋值:收盘价的5日简单移动平均 MA10赋值:收盘价的10日简单移动平均 MA20赋值:收盘价的20日简单移动平均 MA30赋值:收盘价的30日简单移动平均 MA60赋值:收盘价的60日简单移动平均 OK1赋值:(收盘价 > MA5) AND (收盘价 > MA10) AND (收盘价 > MA20) AND (收盘价 > MA30) AND ((最低价)*(0.9) < MA5) AND ((最低价)*(0.9) < MA10) AND ((最低价)*(0.9) < MA20) AND ((最低价)*(0.9) < MA30) OK2赋值:(收盘价 > MA5) AND (收盘价 > MA10) AND (收盘价 > MA20) AND (收盘价 > MA30) AND (收盘价 > MA30) AND ((最低价)*(0.9) < MA5) AND ((最低价)*(0.9) < MA10) AND ((最低价)*(0.9) < MA20) AND ((最低价)*(0.9) < MA30) AND ((最低价)*(0.9) < MA60) 银疙瘩1赋值:AA1 AND (上次AA2距今天数 < 6) AND OK1 银疙瘩2赋值:AA2 AND (上次AA1距今天数 < 6) AND OK1 银疙瘩3赋值:AA3 AND (上次AA1距今天数 < 6) AND OK1 银疙瘩4赋值:AA4 AND (上次AA1距今天数 < 6) AND OK1 银疙瘩5赋值:AA1 AND (上次AA2距今天数 < 6) AND OK2 银疙瘩6赋值:AA2 AND (上次AA1距今天数 < 6) AND OK2 银疙瘩7赋值:AA3 AND (上次AA1距今天数 < 6) AND OK2 银疙瘩8赋值:AA4 AND (上次AA1距今天数 < 6) AND OK2 输出重点判研点:银疙瘩5 OR 银疙瘩6 OR 银疙瘩7 OR 银疙瘩8