通达信涨停起爆选股指标公式
2021/7/21 18:11:38
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;
RSI1C:=IF(CROSS(RSI1,3) OR CROSS(RSI1,6) OR CROSS(RSI1,15) OR CROSS(RSI1,20) OR CROSS(RSI1,25) OR CROSS(RSI1,28) OR CROSS(RSI1,32) OR CROSS(RSI1,35) OR CROSS(RSI1,40) OR CROSS(RSI1,45) OR CROSS(RSI1,50) OR CROSS(RSI1,55) OR CROSS(RSI1,60) OR CROSS(RSI1,65),85,0);
RSI1Z:=IF(REF(RSI1,0)-REF(RSI1,1)>5 AND RSI1>20,65,0);
WR1:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))COLORGREEN;
XG:RSI1>95.5 AND RSI1Z=65 AND WR2=0;
看 股吧公式 w ww.kanguba.com
[源码翻译]通达信公式动态翻译显示
LC赋值:1日前的收盘价
RSI1赋值:收盘价-LC和0的较大值的2日[1日权重]移动平均/收盘价-LC的绝对值的2日[1日权重]移动平均*100,画红色,线宽为2
RSI1C赋值:如果RSI1上穿3ORCROSS(RSI1,6)ORCROSS(RSI1,15)ORCROSS(RSI1,20)ORCROSS(RSI1,25)ORCROSS(RSI1,28)ORCROSS(RSI1,32)ORCROSS(RSI1,35)ORCROSS(RSI1,40)ORCROSS(RSI1,45)ORC,返回OSS(RSI1,50)ORCROSS(RSI1,55)ORCROSS(RSI1,60)ORCROSS(RSI1,65),否则返回85
RSI1Z赋值:如果0日前的RSI1-1日前的RSI1>5ANDRSI1>20,返回65,否则返回0
WR1赋值:100*(10日内最高价的最高值-收盘价)/(10日内最高价的最高值-10日内最低价的最低值)
WR2赋值:100*(6日内最高价的最高值-收盘价)/(6日内最高价的最高值-6日内最低价的最低值)画绿色
输出XG:RSI1>95.5 AND RSI1Z=65 AND WR2=0
其它股票公式列表