去评论
彩虹桥投资充电站

通达信——精选指标《牛熊持股》指标源码

A股小妖女
2023/11/24 13:50:47

指标源码:

VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /
(HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /
(HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) /
(HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),8);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),'●买'),
COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),'▼减仓'),
COLORYELLOW,LINETHICK1;
牛熊线:EMA(MA(CLOSE,3),34),COLORFF00FF,LINETHICK2;
STICKLINE(C>=牛熊线 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=牛熊线 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=牛熊线 AND CSTICKLINE(C>=牛熊线 AND CSTICKLINE(C>=牛熊线 AND CSTICKLINE(C<牛熊线 AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C<=O,C,O,5,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C>O,O,L,0,1),COLORFFFF00;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD));
Z:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波段头:=IF(T1,A,A),COLORYELLOW,LINETHICK2,POINTDOT;
波段底:=IF(T2,Z,Z),COLORWHITE,LINETHICK2,POINTDOT;

欢迎大家自行尝试! 关于指标大家可以私信找我免费领取!

  • 破解源码(年卡、至尊会员专享区)通达信【波浪理论多空辅助】副图指标公式
  • 破解源码(年卡、至尊会员专享区)清北游资 2022清北游资竞价绝杀4.0最新极速
  • 破解源码(年卡、至尊会员专享区)小兔子竞价排序系统首板策略系统首板连板竞
  • 破解源码(年卡、至尊会员专享区)【底部强牛】无未来函数副选指标 开启底部
  • 破解源码(年卡、至尊会员专享区)通达信【跟庄王】副图+强庄选股指标
  • 破解源码(年卡、至尊会员专享区)通达信【强牛回头】强牛回头低吸机会,无未