「翔博精选指标」帝纳黄金K线(通达信公式 主图 源码 测试图)
2020-10-26 21:23:18点击:
AA:=MA(CLOSE,M1);
BB:=REF(AA,MR1);
XSR:=1200631;
XS:=IF(DATE<XSR,1,DRAWNULL);
IF(AA>BB,AA,DRAWNULL)*XS,COLORRED,LINETHICK2;
IF(AA>BB,BB,DRAWNULL)*XS,COLORRED,DOTLINE;
DRAWBAND(AA,RGB(255,0,0),BB,RGB(0,180,0));
IF(AA<BB,AA,DRAWNULL)*XS,COLORGREEN,LINETHICK2;
IF(AA<BB,BB,DRAWNULL)*XS,COLORGREEN,DOTLINE;
H1:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*(1000-200);
L1:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*200;
HA:=REF(H1,1),COLORWHITE;
LA:=REF(L1,1),COLORWHITE;
HL:=HA-LA;
STICKLINE(CLOSE>MA(CLOSE,20) AND CLOSE>HA,OPEN*XS,CLOSE*XS,4,0),COLORRED;
STICKLINE(CLOSE<MA(CLOSE,20) AND CLOSE<LA,OPEN*XS,CLOSE*XS,4,0),COLORGREEN;
A1:=REF((HHV(HIGH,3)+LLV(LOW,3))/2,1);
STICKLINE(CLOSE>A1 AND CLOSE<HA AND CLOSE>LA,OPEN*XS,CLOSE*XS,4,0),COLORWHITE;
STICKLINE(CLOSE<A1 AND CLOSE<HA AND CLOSE>LA,OPEN*XS,CLOSE*XS,4,0),COLORCYAN;
今日参考:REF((HHV(HIGH,3)+LLV(LOW,3))/2,1)*XS,NODRAW;
明日提示:(HHV(HIGH,3)+LLV(LOW,3))/2*XS,NODRAW;
ATXT1:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*875;
高抛:=REF(ATXT1,1)*XS,COLORCYAN,DOTLINE,NODRAW;
ATXT2:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*1191;
高估:=REF(ATXT2,1)*XS,COLORRED,DOTLINE,NODRAW;
ATXT3:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*125;
低吸:=REF(ATXT3,1)*XS,COLORWHITE,DOTLINE,NODRAW;
ATXT4:=HHV(HIGH,20)-(HHV(HIGH,20)-LLV(LOW,20))/1000*1191;
低估:=REF(ATXT4,1)*XS,COLORGREEN,DOTLINE,NODRAW;
牛熊线:(REF((HHV(HIGH,60)+LLV(LOW,60))/2,1))*XS,LINETHICK2,COLORYELLOW;
IF(CLOSE>牛熊线,牛熊线,DRAWNULL)*XS,COLORRED,LINETHICK2;
IF(CLOSE<牛熊线,牛熊线,DRAWNULL)*XS,COLORYELLOW,LINETHICK2;
强势:(REF((HHV(HIGH,60)-LLV(LOW,60))/1000*618+LLV(LOW,60),1))*XS,DOTLINE,COLORRED;
IF(CLOSE>强势,强势,DRAWNULL)*XS,COLORMAGENTA,LINETHICK2;
弱势:(REF((HHV(HIGH,60)-LLV(LOW,60))/1000*382+LLV(LOW,60),1))*XS,DOTLINE,COLORGREEN;
IF(CLOSE<弱势,弱势,DRAWNULL)*XS,COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND AA>BB,0,0.1,0,'趋势多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND AA<BB,0,0.1,0,'趋势空头'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE>A1 AND CLOSE<HA AND CLOSE>LA),0,0.2,0,'白色反弹'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE>MA(CLOSE,20) AND CLOSE>HA),0,0.2,0,'红色多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE<A1 AND CLOSE<HA AND CLOSE>LA),0,0.2,0,'蓝色调整'),COLORCYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE<MA(CLOSE,20) AND CLOSE<LA),0,0.2,0,'绿色空头'),COLORGREEN;
S8:=IF(CLOSE>MA(CLOSE,20) AND CLOSE>HA,4,0);
S7:=IF(CLOSE<A1 AND CLOSE<HA AND CLOSE>LA,3,0);
S2:=IF(CLOSE>A1 AND CLOSE<HA AND CLOSE>LA,2,0);
S1:=IF(CLOSE<MA(CLOSE,20) AND CLOSE<LA,1,0);
S6:=IF(REF(S8,1)=4 AND S7=3,423,0);
S5:=IF(REF(S8,1)=4 AND S2=2,422,0);
S4:=IF(REF(S7,1)=3 AND S1=1,321,0);
S3:=IF(REF(S2,1)=2 AND S1=1,221,0);
S9:=IF(REF(S1,1)=1 AND S2=2,122,0);
S10:=IF(REF(S2,1)=2 AND S8=4,224,0);
S11:=IF(REF(S7,1)=3 AND S8=4,324,0);
S12:=IF(REF(S7,1)=3 AND S2=2,322,0);
S13:=IF(REF(S1,1)=1 AND S8=4,124,0);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S9=122,0.1,0.2,0,'空头转反弹'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S10=224,0.1,0.2,0,'反弹转多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S11=324,0.1,0.2,0,'调整转多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S12=322,0.1,0.2,0,'调整转反弹'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S13=124,0.1,0.2,0,'空头转多头'),COLORWHITE;
ZT:=(CLOSE/REF(CLOSE,1)-1>0.095 AND CLOSE=HIGH);
涨停天:=BARSLAST(ZT=1);
BL:=(AMO/REF(AMO,1)>2);
倍量天:=BARSLAST(BL=1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND BL=1,0,0.3,0,'倍量'),COLORWHITE;
BB:=REF(AA,MR1);
XSR:=1200631;
XS:=IF(DATE<XSR,1,DRAWNULL);
IF(AA>BB,AA,DRAWNULL)*XS,COLORRED,LINETHICK2;
IF(AA>BB,BB,DRAWNULL)*XS,COLORRED,DOTLINE;
DRAWBAND(AA,RGB(255,0,0),BB,RGB(0,180,0));
IF(AA<BB,AA,DRAWNULL)*XS,COLORGREEN,LINETHICK2;
IF(AA<BB,BB,DRAWNULL)*XS,COLORGREEN,DOTLINE;
H1:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*(1000-200);
L1:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*200;
HA:=REF(H1,1),COLORWHITE;
LA:=REF(L1,1),COLORWHITE;
HL:=HA-LA;
STICKLINE(CLOSE>MA(CLOSE,20) AND CLOSE>HA,OPEN*XS,CLOSE*XS,4,0),COLORRED;
STICKLINE(CLOSE<MA(CLOSE,20) AND CLOSE<LA,OPEN*XS,CLOSE*XS,4,0),COLORGREEN;
A1:=REF((HHV(HIGH,3)+LLV(LOW,3))/2,1);
STICKLINE(CLOSE>A1 AND CLOSE<HA AND CLOSE>LA,OPEN*XS,CLOSE*XS,4,0),COLORWHITE;
STICKLINE(CLOSE<A1 AND CLOSE<HA AND CLOSE>LA,OPEN*XS,CLOSE*XS,4,0),COLORCYAN;
今日参考:REF((HHV(HIGH,3)+LLV(LOW,3))/2,1)*XS,NODRAW;
明日提示:(HHV(HIGH,3)+LLV(LOW,3))/2*XS,NODRAW;
ATXT1:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*875;
高抛:=REF(ATXT1,1)*XS,COLORCYAN,DOTLINE,NODRAW;
ATXT2:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*1191;
高估:=REF(ATXT2,1)*XS,COLORRED,DOTLINE,NODRAW;
ATXT3:=LLV(LOW,20)+(HHV(HIGH,20)-LLV(LOW,20))/1000*125;
低吸:=REF(ATXT3,1)*XS,COLORWHITE,DOTLINE,NODRAW;
ATXT4:=HHV(HIGH,20)-(HHV(HIGH,20)-LLV(LOW,20))/1000*1191;
低估:=REF(ATXT4,1)*XS,COLORGREEN,DOTLINE,NODRAW;
牛熊线:(REF((HHV(HIGH,60)+LLV(LOW,60))/2,1))*XS,LINETHICK2,COLORYELLOW;
IF(CLOSE>牛熊线,牛熊线,DRAWNULL)*XS,COLORRED,LINETHICK2;
IF(CLOSE<牛熊线,牛熊线,DRAWNULL)*XS,COLORYELLOW,LINETHICK2;
强势:(REF((HHV(HIGH,60)-LLV(LOW,60))/1000*618+LLV(LOW,60),1))*XS,DOTLINE,COLORRED;
IF(CLOSE>强势,强势,DRAWNULL)*XS,COLORMAGENTA,LINETHICK2;
弱势:(REF((HHV(HIGH,60)-LLV(LOW,60))/1000*382+LLV(LOW,60),1))*XS,DOTLINE,COLORGREEN;
IF(CLOSE<弱势,弱势,DRAWNULL)*XS,COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND AA>BB,0,0.1,0,'趋势多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND AA<BB,0,0.1,0,'趋势空头'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE>A1 AND CLOSE<HA AND CLOSE>LA),0,0.2,0,'白色反弹'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE>MA(CLOSE,20) AND CLOSE>HA),0,0.2,0,'红色多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE<A1 AND CLOSE<HA AND CLOSE>LA),0,0.2,0,'蓝色调整'),COLORCYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (CLOSE<MA(CLOSE,20) AND CLOSE<LA),0,0.2,0,'绿色空头'),COLORGREEN;
S8:=IF(CLOSE>MA(CLOSE,20) AND CLOSE>HA,4,0);
S7:=IF(CLOSE<A1 AND CLOSE<HA AND CLOSE>LA,3,0);
S2:=IF(CLOSE>A1 AND CLOSE<HA AND CLOSE>LA,2,0);
S1:=IF(CLOSE<MA(CLOSE,20) AND CLOSE<LA,1,0);
S6:=IF(REF(S8,1)=4 AND S7=3,423,0);
S5:=IF(REF(S8,1)=4 AND S2=2,422,0);
S4:=IF(REF(S7,1)=3 AND S1=1,321,0);
S3:=IF(REF(S2,1)=2 AND S1=1,221,0);
S9:=IF(REF(S1,1)=1 AND S2=2,122,0);
S10:=IF(REF(S2,1)=2 AND S8=4,224,0);
S11:=IF(REF(S7,1)=3 AND S8=4,324,0);
S12:=IF(REF(S7,1)=3 AND S2=2,322,0);
S13:=IF(REF(S1,1)=1 AND S8=4,124,0);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S9=122,0.1,0.2,0,'空头转反弹'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S10=224,0.1,0.2,0,'反弹转多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S11=324,0.1,0.2,0,'调整转多头'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S12=322,0.1,0.2,0,'调整转反弹'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND S13=124,0.1,0.2,0,'空头转多头'),COLORWHITE;
ZT:=(CLOSE/REF(CLOSE,1)-1>0.095 AND CLOSE=HIGH);
涨停天:=BARSLAST(ZT=1);
BL:=(AMO/REF(AMO,1)>2);
倍量天:=BARSLAST(BL=1);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND BL=1,0,0.3,0,'倍量'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ZT=1,0.05,0.3,0,'涨停'),COLORMAGENTA;
你是否每天还在花费大量的时间?
你是否每天还在3000多支股票中人工去找新增一线天筹码股?
你是否每天很想精准、 快速找到新增一线天筹码股?
我来为你解密!一线天3.0选股指标 可以帮你搞定!见下图(天天有更新)
市场上一条线的筹码比较多,但具备什么特点才是正宗的一线天筹码选股,如何找出最容易成妖股?
一线天小圈子为你正面回答:免费! 免费 ! 免费!
一线天筹码唯一小圈子,旨在精确执行一线天战法
盘中不定时发文,但都会是重磅
- 上一篇:「翔博精选指标」神龙摆尾,神龙摆尾重在横盘(通达信公式 副图 2020/10/26
- 下一篇:「翔博精选指标」抄底充分条件,抄底公式(通达信公式 副图 源 2020/10/26