您的位置:爱股网 > 查股公式 > 通达信涨停先锋Ⅲ主图指标公式源码[查股公式]
股票行情消息数据:

通达信涨停先锋Ⅲ主图指标公式源码[查股公式]

2022/9/9 8:48:46

ma5:MA(CLOSE,5),LINETHICK1,COLORFFFFFF;
MA10:MA(CLOSE,10),LINETHICK1,COLOR00FFFF;
MA30:MA(CLOSE,30),LINETHICK1,COLORFF00FF;
MA60:MA(CLOSE,60),LINETHICK1,COLOR0000FF;
MA120:MA(CLOSE,120),LINETHICK1,COLORFFFF00;
DRAWTEXT(crOSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW*0.99),'Ψ'),LINETHICK3,COLORF00FF0;
DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH* 1.01),'◎'),LINETHICK3,COLORFFFFFF;
多空:=(MA(LOW,6)+MA(LOW,13)+MA(LOW,26))/3;
{stICKLINE(CLOSE<多空,OPEN,CLOSE,1,0),COLORBLUE;
STICKLINE(CLOSE>=多空 AND CLOSE>=MA(CLOSE,3),OPEN,CLOSE,1,0),COLORYELLOW;}
VAR22:=(100 - ((90 * (HHV(HIGH,30) - CLOSE)) / (HHV(HIGH,30) - LLV(LOW,30))));
VAR33:=(100 - ((90 * (HHV(HIGH,120) - CLOSE)) / (HHV(HIGH,120) - LLV(LOW,120))));
VAR11:=(100 - ((90 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))));
短顶预警:=CROSS(VAR11,95);
短底预报:=CROSS(15,VAR11);
TJ1:=短底预报;
TJ2:=REF(TJ1,1) AND CLOSE>MA(CLOSE,3);
TJ4:=VAR11>15 AND REF(CLOSE,1)<REF(MA(CLOSE,3),1) AND CLOSE>MA(CLOSE,3) AND CLOSE<MA(CLOSE,13);
TJ5:=短顶预警;
相对高位:=IF(HIGH=HHV(HIGH,5),HIGH=HHV(HIGH,5),CLOSE=HHV(CLOSE,5));
相对低位:=IF(LOW=LLV(LOW,5),LOW=LLV(LOW,5),CLOSE=LLV(CLOSE,5));
TJ6:=(REF(相对低位,1) OR REF(相对低位,2));
TJ7:=(REF(相对高位,1) OR REF(相对高位,2));
DRAWTEXT(TJ6 AND REF(CLOSE,1)<REF(MA(CLOSE,3),1) AND CLOSE>MA(CLOSE,3) AND CLOSE>=多空,LOW-0.4,'全仓买入'),COLORRED;
DRAWTEXT(TJ7 AND REF(CLOSE,1)>REF(MA(CLOSE,3),1) AND CLOSE<MA(CLOSE,3) AND CLOSE>=多空 AND CLOSE<OPEN,HIGH+0.4,'减仓2/3'),COLORGREEN;
DRAWTEXT(TJ1,LOW-0.6,'准备'),COLORYELLOW;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
MacD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
kdj1:=CROSS(K,D) AND CROSS(J,D);
均线:=CROSS(MA(C,5),MA(C,10));
量线:=CROSS(MA(V,5),MA(V,10));
SCC:=MACD1 AND kdJ1 AND 均线 AND 量线;
SC1:=MACD1 AND KDJ1;
SC2:=均线 AND 量线;
SC3:=均线 AND MACD1;
SC4:=量线 AND KDJ1;
SC5:=均线 AND KDJ1;
SC6:=MACD1 AND 量线;
DRAWICON(SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6,L-0.20,9);{两个以上指标同时金叉显示9号图标}
DRAWICON(SCC,L-0.20,1);{四个指标同时金叉显示3号图标,便于区别};

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29