「翔博精选指标」分时T十0 分时专用(通达信公式 分时主图 源码 测试图)
2020-10-24 18:43:41点击:
{分时分割}
最新:=CLOSE;
分时均价线:=SUM(C*V,240)/SUM(V,240),COLOR4080FF,LINETHICK2;
DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' ▲',CON2STR(最新,2))),COLORMAGENTA;
DRAWTEXT( ISLASTBAR AND 最新=REF(最新,1),最新,STRCAT(' =',CON2STR(最新,2))),COLORGRAY;
DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' ▼',CON2STR(最新,2))),COLOR408000;
突破:=TDXDLL2(8,20,TDXDLL2(1,C,14,10),1);
A1X:=(TDXDLL2(1,C,10,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(TDXDLL2(1,C,10,10),BARSLAST(TDXDLL2(6,A1X,0,C))+1),DRAWNULL);
空方:=IF(A1X<0,REF(TDXDLL2(1,C,10,10),BARSLAST(TDXDLL2(6,0,A1X,C))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;
HQ1:=MAX(DYNAINFO(3),DYNAINFO(5));
LQ1:=MIN(DYNAINFO(3),DYNAINFO(6));
PQ1:=HQ1-LQ1;
阻力:=LQ1+PQ1*7/8,COLOR00DD00;
支撑:=LQ1+PQ1*0.5/8,COLOR00DD00;
DRAWTEXT(FILTER(LONGCROSS(支撑,C,2),90),支撑*1.001,'★买'),COLORMAGENTA;
DRAWTEXT(FILTER(LONGCROSS(C,阻力,2),90),H,'★卖'),COLORFF8000;
TT:=BARSLAST(HOUR=9 AND MINUTE=(30+1))+1;
均价:=SUM(V*C,0)/SUM(V,10),COLORYELLOW;
均价1:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
HH:=C>TDXDLL2(8,20,C,1) AND C/均价1>(1+0.03);
LL:=C<TDXDLL2(8,20,C,1) AND C/均价<(1-0.03);
HH1:=TDXDLL2(6,SUM(HH,0),0.5,C);
LL1:=TDXDLL2(6,SUM(LL,0),0.5,C);
SS1:=SUM(HH1,0)*CROSS(COUNT(C<TDXDLL2(8,20,C,1),BARSLAST(HH1)),0.5);
BB1:=SUM(LL1,0)*CROSS(COUNT(C>TDXDLL2(8,20,C,1),BARSLAST(LL1)),0.5);
CS1:CONST(SUM(IF(SS1,TDXDLL2(8,20,C,1),DRAWNULL),0)),DOTLINE,COLOR408000;
CB1:CONST(SUM(IF(BB1,TDXDLL2(8,20,C,1),DRAWNULL),0)),DOTLINE,COLOR4080FF;
DRAWTEXT( ISLASTBAR AND C<CS1 AND CS1,CS1,STRCAT('压力',CON2STR(CS1,2))),COLOR408000;
DRAWTEXT( ISLASTBAR AND C>=CS1 AND CS1,CS1,STRCAT('支撑',CON2STR(CS1,2))),COLOR408000;
DRAWTEXT( ISLASTBAR AND C>CB1 AND CB1,CB1,STRCAT('支撑',CON2STR(CB1,2))),COLOR4080FF;
DRAWTEXT( ISLASTBAR AND C<=CB1 AND CB1,CB1,STRCAT('压力',CON2STR(CB1,2))),COLOR4080FF;
HH2:=CROSS(SUM(HH AND C>CS1*1.03,0),0.5);
LL2:=CROSS(SUM(LL AND C<CB1*0.97,0),0.5);
SS2:=SUM(HH2,0)*CROSS(COUNT(C<TDXDLL2(8,20,C,1),BARSLAST(HH2)),0.5);
BB2:=SUM(LL2,0)*CROSS(COUNT(C>TDXDLL2(8,20,C,1),BARSLAST(LL2)),0.5);
CS2:CONST(SUM(IF(SS2,TDXDLL2(8,20,C,1),DRAWNULL),0))COLOR408000;
CB2:CONST(SUM(IF(BB2,TDXDLL2(8,20,C,1),DRAWNULL),0))COLOR4080FF;
DRAWTEXT( ISLASTBAR AND CS2,CS2,STRCAT('顶',CON2STR(CS2,2))),COLOR408000;
DRAWTEXT( ISLASTBAR AND CB2,CB2,STRCAT('底',CON2STR(CB2,2))),COLOR4080FF;
DRAWTEXT(HH1,CS1,'T-'),COLOR408000;
DRAWTEXT(HH2,CS2,'逃顶'),COLOR408000;
DRAWTEXT(LL1,CB1,'T+'),COLOR0000FF;
最新:=CLOSE;
分时均价线:=SUM(C*V,240)/SUM(V,240),COLOR4080FF,LINETHICK2;
DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' ▲',CON2STR(最新,2))),COLORMAGENTA;
DRAWTEXT( ISLASTBAR AND 最新=REF(最新,1),最新,STRCAT(' =',CON2STR(最新,2))),COLORGRAY;
DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' ▼',CON2STR(最新,2))),COLOR408000;
突破:=TDXDLL2(8,20,TDXDLL2(1,C,14,10),1);
A1X:=(TDXDLL2(1,C,10,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(TDXDLL2(1,C,10,10),BARSLAST(TDXDLL2(6,A1X,0,C))+1),DRAWNULL);
空方:=IF(A1X<0,REF(TDXDLL2(1,C,10,10),BARSLAST(TDXDLL2(6,0,A1X,C))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;
HQ1:=MAX(DYNAINFO(3),DYNAINFO(5));
LQ1:=MIN(DYNAINFO(3),DYNAINFO(6));
PQ1:=HQ1-LQ1;
阻力:=LQ1+PQ1*7/8,COLOR00DD00;
支撑:=LQ1+PQ1*0.5/8,COLOR00DD00;
DRAWTEXT(FILTER(LONGCROSS(支撑,C,2),90),支撑*1.001,'★买'),COLORMAGENTA;
DRAWTEXT(FILTER(LONGCROSS(C,阻力,2),90),H,'★卖'),COLORFF8000;
TT:=BARSLAST(HOUR=9 AND MINUTE=(30+1))+1;
均价:=SUM(V*C,0)/SUM(V,10),COLORYELLOW;
均价1:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
HH:=C>TDXDLL2(8,20,C,1) AND C/均价1>(1+0.03);
LL:=C<TDXDLL2(8,20,C,1) AND C/均价<(1-0.03);
HH1:=TDXDLL2(6,SUM(HH,0),0.5,C);
LL1:=TDXDLL2(6,SUM(LL,0),0.5,C);
SS1:=SUM(HH1,0)*CROSS(COUNT(C<TDXDLL2(8,20,C,1),BARSLAST(HH1)),0.5);
BB1:=SUM(LL1,0)*CROSS(COUNT(C>TDXDLL2(8,20,C,1),BARSLAST(LL1)),0.5);
CS1:CONST(SUM(IF(SS1,TDXDLL2(8,20,C,1),DRAWNULL),0)),DOTLINE,COLOR408000;
CB1:CONST(SUM(IF(BB1,TDXDLL2(8,20,C,1),DRAWNULL),0)),DOTLINE,COLOR4080FF;
DRAWTEXT( ISLASTBAR AND C<CS1 AND CS1,CS1,STRCAT('压力',CON2STR(CS1,2))),COLOR408000;
DRAWTEXT( ISLASTBAR AND C>=CS1 AND CS1,CS1,STRCAT('支撑',CON2STR(CS1,2))),COLOR408000;
DRAWTEXT( ISLASTBAR AND C>CB1 AND CB1,CB1,STRCAT('支撑',CON2STR(CB1,2))),COLOR4080FF;
DRAWTEXT( ISLASTBAR AND C<=CB1 AND CB1,CB1,STRCAT('压力',CON2STR(CB1,2))),COLOR4080FF;
HH2:=CROSS(SUM(HH AND C>CS1*1.03,0),0.5);
LL2:=CROSS(SUM(LL AND C<CB1*0.97,0),0.5);
SS2:=SUM(HH2,0)*CROSS(COUNT(C<TDXDLL2(8,20,C,1),BARSLAST(HH2)),0.5);
BB2:=SUM(LL2,0)*CROSS(COUNT(C>TDXDLL2(8,20,C,1),BARSLAST(LL2)),0.5);
CS2:CONST(SUM(IF(SS2,TDXDLL2(8,20,C,1),DRAWNULL),0))COLOR408000;
CB2:CONST(SUM(IF(BB2,TDXDLL2(8,20,C,1),DRAWNULL),0))COLOR4080FF;
DRAWTEXT( ISLASTBAR AND CS2,CS2,STRCAT('顶',CON2STR(CS2,2))),COLOR408000;
DRAWTEXT( ISLASTBAR AND CB2,CB2,STRCAT('底',CON2STR(CB2,2))),COLOR4080FF;
DRAWTEXT(HH1,CS1,'T-'),COLOR408000;
DRAWTEXT(HH2,CS2,'逃顶'),COLOR408000;
DRAWTEXT(LL1,CB1,'T+'),COLOR0000FF;
DRAWTEXT(LL2,CB2,'抄底'),COLOR0080FF;
你是否每天还在花费大量的时间?
你是否每天还在3000多支股票中人工去找新增一线天筹码股?
你是否每天很想精准、 快速找到新增一线天筹码股?
我来为你解密!一线天3.0选股指标 可以帮你搞定!见下图(天天有更新)
市场上一条线的筹码比较多,但具备什么特点才是正宗的一线天筹码选股,如何找出最容易成妖股?
一线天小圈子为你正面回答:免费! 免费 ! 免费!
一线天筹码唯一小圈子,旨在精确执行一线天战法
盘中不定时发文,但都会是重磅
- 上一篇:「翔博精选指标」得心应手抄底神器,白色抄底绿色逃顶(通达信公 2020/10/25
- 下一篇:「翔博精选指标」新旧涨跌停幅度自动标识(通达信公式 主图 源 2020/10/24