最新游戏动态|分享一个非常漂亮的通达信主图公式(炫丽主图)
这个是通达信主图 , 手机我测试通过了 , 电脑大家需要自己测试
文章图片
主图指标源码:
DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,'',0),LINETHICK2;
M80:MA(C,80),LINETHICK0;
M200:MA(C,200),LINETHICK0;
DRAWBAND(M200,RGB(40,100,40),M80,RGB(100,100,0)),LINETHICK0;
DRAWKLINE(H,O,L,C);
MA03:MA(C,3),COLORYELLOW,DOTLINE,LINETHICK0;
IF(MA03>=REF(MA03,1),MA03,DRAWNULL),COLOR0066FF,LINETHICK0;
IF(MA03<REF(MA03,1),MA03,DRAWNULL),,COLORGREEN,LINETHICK0;
X:=(3*C+L+O+H)/6;
多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORGREEN,LINETHICK2;
IF(多空线>=REF(多空线,1),多空线,DRAWNULL),COLORRED,LINETHICK3;
IF(多空线<REF(多空线,1),多空线,DRAWNULL),,COLORGREEN,LINETHICK3;
牛皮熊:DRAWICON(CROSS(MA03,多空线)ANDCLOSE/REF(CLOSE,1)>1.03,LOW*0.96,25);
DRAWTEXT(FILTER(牛皮熊,8),多空线-0.05,'↖跟庄买进'),COLORGREEN;
DRAWTEXT(CROSS(MA03,多空线)ANDMA03>0,多空线-0.23,'★←'),COLORYELLOW;
花:=SLOPE(EMA(C,3),3);
神:=SLOPE(EMA(C,7),7);
DRAWICON(CROSS(花,神)ANDCLOSE/REF(CLOSE,1)>1.03,LOW*0.96,25);
DRAWTEXT(CROSS(花,神)ANDCLOSE/REF(CLOSE,1)>1.03,LOW*0.96,'买'),COLORWHITE;
花2:=EMA(SLOPE(1,1)+C,3),COLORRED;
神2:=EMA(SLOPE(1,1)+C,7),COLORBLUE;
A02:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1ANDA5>A6);
财神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.01,0.08,0,'主题投资:')COLOR0000FF;
窗口显示:=C>REF(C,1)*1.095ANDC=H;
T:=BARSLAST(窗口显示),LINETHICK0;
涨停价:REF(C,T)NODRAW,LINETHICK0;
涨停日期:REF(DATE-1000000,T)NODRAW,LINETHICK0;
STICKLINE(L>REF(H,1),L,REF(H,1),20,1001),COLORYELLOW,LINETHICK0;
STICKLINE(REF(L,1)>H,REF(L,1),H,20,1001),COLORGREEN,LINETHICK0;
TJ01:=C<OANDREFX(C<O,1)ANDREFX(C>O,2);
DRAWLINE(TJ01,REFX(LLV(L,2),1),REF(TJ01,1),REF(REFX(LLV(L,2),1),1),1)COLORYELLOW,LINETHICK0;
DRAWLINE(TJ01,REFX(HHV(C,2),1),REF(TJ01,1),REF(REFX(HHV(C,2),1),1),1)COLORYELLOW,LINETHICK0;
MA010:=MA(CLOSE,10),COLORYELLOW,LINETHICK0;
MA54:=MA(CLOSE,54),COLORFFCCCC,LINETHICK0;
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA010)/MA010)<0.3);
偏离率:=(((PL1=1)AND(PL2=1))*0.2);
平台突破:=((((偏离率=0)AND(REF(偏离率,1)=0.2))AND(REF((COUNT((偏离率=0.2),10)=10),1)=1))*1);
DRAWTEXT(平台突破,L,'=================='),COLORWHITE;
DRAWTEXT(平台突破,L-0.05,'平台突破'),COLORGREEN;
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3);
EXITLONG:CROSS(CROSS(三日最高,C),0.6);
推荐阅读
- 游迅网TB|eShop曝多款NS游戏大小《孤岛危机:重制版》需6.2G
- 胖哥游戏说|普通玩家金团打工需要存10年,魔兽世界:怀旧服最贵风脸拍出60W金币
- 卧龙吟手游|每一次重生都会被欲望吞噬,游戏中最悲惨的女角色!最惨不过零姐
- IT之家|列出最喜欢的7款游戏,马斯克坦诚自己是个PC玩家
- 游戏日报|带出去倍有面子,看着有那味了,第五人格最受欢迎的3位随从
- 游戏玩家集锦|两者必须兼得,妹子vs游戏?《新神魔大陆》告诉你
- 游戏动漫资讯|一张图带你回顾腾讯游戏年度发布会
- 绅士福游|当他来到女子大学后的故事,安卓手机游戏!重返单身的中年教授
- 小桔子游戏|碎片商店不一样的更新,建议留88皮肤碎片,9号李信世冠皮肤亮相
- 共由说游戏|大热的伽罗,路人局怎么几乎看不见?因为没人保护,王者荣耀:KPL