您的位置:查股网 > 查股公式 > 同花顺红色为有效支撑主图源码[查股公式]
股票行情消息查询:

同花顺红色为有效支撑主图源码[查股公式]

2022/6/14 18:05:35

红色为有效支撑,
 绿色为压力点,
 蓝色小虚线为一个交易波段的启动点,

XX1:=EMA(SLOPE(1,1)+C,3),colorred;
 YY1:=EMA(SLOPE(1,1)+C,7),colorblue;
 DRAWTEXT(COUNT (XX1<YY1,5)=4 AND XX1>=YY1,C*0.95,'B'), colorred;
 DRAWTEXT(COUNT (XX1>=YY1,5)=4 AND XX1<YY1,C*1.08,'S'), coloryellow;
操盘线:STRLEFT('★自用★',38),coloryellow;
 ema13:=EMA(C,20),COLORFF8080;
 ema34:=EMA(C,60),colorFFFF00;
 ema55:=EMA(C,80),colorff00ff;
 YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
 YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);
 Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
 YZ:=YZ1 AND YZ2 AND Y>10;
 X11:DRAWTEXT(YZ,HIGH+0.2,'减仓'),COLORF00FF0;
 gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
 gr2:=ema13>ema34 AND ema34>ema55 AND ema13>REF(ema13,1);
 gr3:=COUNT("bias.bias2"(6,13,24)>10 AND H=HHV(H,gr1),gr1);
 gr4:=H=HHV(H,gr1);
 gr5:="macd.macd"(12,26,9)<REF("macd.macd"(12,26,9),1);
 gr6:=gr2 AND gr3 AND gr4;
 gr7:=gr2 AND gr3 AND gr4 AND gr5;
 DRAWTEXT(gr6 AND gr7,H+0.3,'保存利润'),color00ff00;
 XX2:=EMA(SLOPE(1,1)+C,3),colorred;
 YY2:=EMA(SLOPE(1,1)+C,7),colorblue;
 XX3=MA(CLOSE, 5);
 YY3=MA(CLOSE, 60);
 XX4=CROSS(XX2,YY2) AND XX3>YY3;
 YY4=CROSS(YY2,XX2) AND XX3>YY3 AND COUNT(CROSS(XX1,YY1) AND XX3>YY3 ,30);
 DRAWTEXT(XX4,LOW/1.1,'↖买'),colorwhite;
 DRAWTEXT(YY4,HIGH*1.06,'卖'),coloryellow;
 A1:=EMA(C,14),colorwhite,LINETHICK1;
 A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorred,LINETHICK1;
阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorgreen,LINETHICK1;
 DRAWICON(CROSS(XX1,YY1) AND CLOSE/REF(CLOSE,1)>1.03,LOW/1.06,25);
买线:EMA(C,5),color000999;
卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,colorblue,linethick1;
 BUY1:=CROSS(买线,卖线);
SEL1:=CROSS(卖线,买线);
DRAWTEXT(buy1,LOW*0.96,'B '),colorlired;
限制:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV (((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100;
平衡:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1);
 DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1) AND((C+L)/2)>REF((C+L)/2,1),5)AND 限制<88,L*0.98,' ------'),colorcyan;

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

股票公式分类

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