网站首页 > 通达信公式 > 通达信主副图指标 正文
M1:=5;
M2:=10;
M3:=20;
M4:=30;
M5:=60;
M6:=120;
M7:=200;
M8:=250;
M9:=350;
M10:=500;
{季}
JD:=MONTH=1 OR MONTH=4 OR MONTH=7 OR MONTH=10;
JA:=JD AND DAY
JT:=BARSLAST(JA);
{月}
DAYS:=DATETODAY(DATE)-DAY;
YZ:=((DAYS-REF(DAYS,1))>(MONTH-REF(MONTH,1))) OR BARSCOUNT(C)=1;
YT:=BARSLAST(YZ);
{周}
ZN1:=INTPART(((YEAR-1970)-2)/4);
F:=((YEAR-1970)-2)-ZN1*4;
XX1:=IF(MONTH>=3 AND F>=1,2,IF(MONTH>=3 AND F=0,1,0));
YS2:=IF(MONTH=2 OR MONTH=3,1,IF(MONTH=4 OR MONTH=5,2,IF(MONTH=6 OR MONTH=7,3,IF(MONTH=8,4,IF(MONTH=9 OR MONTH=10,5,IF(MONTH=11 OR MONTH=12,6,0))))))-XX1;
X:=IF(F=0,1,0);
DAYS1970:=(YEAR-1970)*365+ZN1+(MONTH-1)*30+YS2+DAY-X;
ZZ:=((DAYS1970-REF(DAYS1970,1))>(WEEkdAY-REF(WEEKDAY,1))) OR BARSCOUNT(C)=1;
ZT:=BARSLAST(ZZ);
前1季:=REF(C,JT+1);
前1月:=REF(C,YT+1);
前1周:=REF(C,ZT+1);
{DAYS:=DATETODAY(DATE)-DAY;
YZ:=((DAYS-REF(DAYS,1))>(MONTH-REF(MONTH,1))) OR BARSCOUNT(C)=1;
YT:=BARSLAST(YZ);}
YAA:=REF(C,YT+1);
YHH:=MAX(C,YAA);
YLL:=MIN(C,YAA);
YYY:=REF(C,1)>REF(YLL,1);
YYD:=REF(C,1)
STICKLINE(C>=YAA,YLL,YHH,3,0),COLORRED;
STICKLINE(C
STICKLINE(YYY AND C>=REF(YAA,1),YLL,YHH,3,0),COLORRED;
STICKLINE(YYY AND C
STICKLINE(YYY AND C
STICKLINE(YYD AND C<=REF(YAA,1),YLL,YHH,3,0),COLOR008000;
STICKLINE(YYD AND C>REF(YAA,1),YLL,REF(YAA,1),3,0),COLOR008000;
STICKLINE(YYD AND C>REF(YAA,1),REF(YAA,1),C,3,0),COLORRED;
{JD:=MONTH=1 OR MONTH=4 OR MONTH=7 OR MONTH=10;
JA:=JD AND DAY
JT:=BARSLAST(JA);}
JAA:=REF(C,JT+1);
JHH:=MAX(C,JAA);
JLL:=MIN(C,JAA);
JZY:=REF(C,1)>REF(JLL,1);
JZD:=REF(C,1)
STICKLINE(C>=JAA,JLL,JHH,3,0),COLORRED;
STICKLINE(C
STICKLINE(JZY AND C>=REF(JAA,1),JLL,JHH,3,0),COLORRED;
STICKLINE(JZY AND C
STICKLINE(JZY AND C
STICKLINE(JZD AND C<=REF(JAA,1),JLL,JHH,3,0),COLOR008000;
STICKLINE(JZD AND C>REF(JAA,1),JLL,REF(JAA,1),3,0),COLOR008000;
STICKLINE(JZD AND C>REF(JAA,1),REF(JAA,1),C,3,0),COLORRED;
周收1:=C#WEEK;
STICKLINE(周收1>=前1周 AND PERIOD<=5,前1周,周收1,2.5,0),COLOR600060;
STICKLINE(周收1/前1周>=1.09 AND PERIOD<=5,前1周,周收1,2.5,0),COLORFF0080;
STICKLINE(周收1<前1周 AND PERIOD<=5,前1周,周收1,2.5,0),COLOR006600;
STICKLINE(周收1/前1周<=0.9 AND PERIOD<=5,前1周,周收1,2.5,0),COLOR003F00;
JC:=REF(C,JT+1);
JH:=H#SEASON;
NOTEXT0:IF(JH>JC*1.0,JC*1.0,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT1:IF(JH>JC*1.1,JC*1.1,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT2:=IF(JH>JC*1.2,JC*1.2,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT3:IF(JH>JC*1.3,JC*1.3,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT4:IF(JH>JC*1.4,JC*1.4,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT5:IF(JH>JC*1.5,JC*1.5,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT6:=IF(JH>JC*1.6,JC*1.6,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT7:IF(JH>JC*1.7,JC*1.7,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT8:IF(JH>JC*1.8,JC*1.8,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT9:IF(JH>JC*1.9,JC*1.9,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT10:=IF(JH>JC*2.0,JC*2.0,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT11:IF(JH>JC*2.1,JC*2.1,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT12:IF(JH>JC*2.2,JC*2.2,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT13:IF(JH>JC*2.3,JC*2.3,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT14:IF(JH>JC*2.4,JC*2.4,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT15:=IF(JH>JC*2.5,JC*2.5,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT16:IF(JH>JC*2.6,JC*2.6,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT17:IF(JH>JC*2.7,JC*2.7,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT18:IF(JH>JC*2.8,JC*2.8,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT19:IF(JH>JC*2.9,JC*2.9,DRAWNULL),DOTLINE,COLOR808080;
NOTEXT20:IF(JH>JC*3.0,JC*3.0,DRAWNULL),DOTLINE,COLOR808080;
TT:=JT;
DRAWTEXT(TT=1,NOTEXT0,0%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT1,10%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT2,20%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT3,30%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT4,40%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT5,50%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT6,60%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT7,70%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT8,80%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT9,90%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT10,100%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT11,110%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT12,120%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT13,130%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT14,140%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT15,150%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT16,160%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT17,170%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT18,180%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT19,190%),COLORWHITE;
DRAWTEXT(TT=1,NOTEXT20,200%),COLORWHITE;
STICKLINE(MONTH!=REF(MONTH,1)=1 AND crOSS(JA,0.5)!=REF(CROSS(JA,0.5),1)=1 AND PERIOD=5,CONST(HHV(H,0)),CONST(LLV(L,0)),0,0),COLORFF00FF;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C>=O,O,C,2.8,0),COLOR0096FF;
STICKLINE(C>=O,O,C,2.4,0),COLOR00A5FF;
STICKLINE(C>=O,O,C,2.0,0),COLOR00B4FF;
STICKLINE(C>=O,O,C,1.6,0),COLOR00C3FF;
STICKLINE(C>=O,O,C,1.2,0),COLOR00D2FF;
STICKLINE(C>=O,O,C,0.8,0),COLOR00E1FF;
STICKLINE(C>=O,O,C,0.4,0),COLOR00F0FF;
{}
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C
STICKLINE(C>0,MAX(YAA,JAA),MAX(YAA,JAA)*1.001,3,0),COLORWHITE;更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 通达信做市意愿指标公式[万物公式]
- 下一篇: 通达信一线做多副图指标[万物公式]
猜你喜欢
- 2024-11-21 【通达信指标】回调启动指标公式,整理行情中擒龙头(副图+选股)
- 2024-11-19 【通达信指标】世纪反转指标公式,企稳与底部信号的共振加强(副图+选股)
- 2024-11-18 【通达信指标】游资突破分时突破指标公式,分时图突破追涨停板(分时主图)
- 2024-11-17 【通达信指标】主力筹码走势指标公式,主力吸筹,筹码集中度解析,挖掘大资金信号(副图+选股)
- 2024-11-17 通达信【低开擒牛抓涨停】精品!次日竞价低开 指标出票极少 副图/选股预警
- 2024-11-17 通达信【四马攒蹄】主副图/选股 副图数4根依次放大的红柱买入就能赚,超级好用!
- 2024-11-17 通达信【主力筹码走势】副图/选股指标 主力吸筹 筹码集中度解析 挖掘大资金深度布局 源码
- 2024-11-16 【通达信指标】双龙起爆指标公式,潜伏起爆抓龙妖(副图+选股)
- 2024-11-15 超级准的抄底通达信黄金坑指标主图选股源码
- 2024-11-15 很准的通达信游资敢死队监控选股指标