大智慧十天主图指标公式

[复制链接]
查看190 | 回复0 | 2021-8-21 14:02:01 | 显示全部楼层 |阅读模式

一级棒<十天主图 >,光标有解图(内含三种未来函数)
本公式内含未来函数三种:WINNER、COST、CAPITAL!请注意使用!


V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
神秘线:=HY1;
价:=C;
工作线:eMA(CLOSE,14),COLOR0F00FF;
涨势线: 工作线+3*STD(工作线,10),COLOR00FFFF;
跌势线: 工作线-3*STD(工作线,10),COLOR00FFFF;
庄线:=EMA(WINNER(C)*70,5);
短庄:=ma( 庄线,10);
AA1:=庄线*CLOSE;
AA2:=庄线*OPEN;
AA3:=庄线*HIGH;
AA4:=庄线*LOW;
VAR1:=AA1-REF(AA1,1);
VAR2:=AA2-REF(AA2,1);
VAR3:=AA3-REF(AA3,1);
VAR4:=AA4-REF(AA4,1);
var5:=(var1+var2+var3+var4)/4;
动能:=ma(var5*庄线,14) ;
买方:= 庄线>短庄 and 价>工作线 ;
STICKLINE(动能>0 and 庄线>短庄 and 价>工作线,OPEN,CLOSE,8,0),COLOR0000FF;
STICKLINE(动能>0 and 庄线>短庄 and 价>工作线,LOW,HIGH,0.5 ,0),COLOR0000FF;
STICKLINE(动能<0 and 庄线>短庄 and 价>工作线,OPEN,CLOSE,8,0),COLORFF00FF;
STICKLINE(动能<0 and 庄线>短庄 and 价>工作线,LOW,HIGH,0.5 ,0),COLORFF00FF;
STICKLINE(动能<0 and 庄线<短庄,OPEN,CLOSE,8,0),COLORFFAA00;
STICKLINE(动能<0 and 庄线<短庄,LOW,HIGH,0.5 ,0),COLORFFAA00;
STICKLINE(价<工作线 and 庄线>短庄,OPEN,CLOSE,8,0),COLORFFAA00;
STICKLINE(价<工作线 and 庄线>短庄,LOW,HIGH,0.5 ,0),COLORFFAA00;
STICKLINE(动能>0 and 庄线<短庄 and 价<工作线,OPEN,CLOSE,8,0),COLORFFAA00;
STICKLINE(动能>0 and 庄线<短庄 and 价<工作线,LOW,HIGH,0.5 ,0),COLORFFAA00;
STICKLINE(动能>0 and 庄线>短庄 and 价<神秘线,OPEN,CLOSE,8,0),COLORFFAA00;
STICKLINE(动能>0 and 庄线>短庄 and 价<神秘线,LOW,HIGH,0.5 ,0),COLORFFAA00;
STICKLINE(动能>0 and 庄线<短庄 and 价>工作线,OPEN,CLOSE,8,0),COLOR00FF00;
STICKLINE(动能>0 and 庄线<短庄 and 价>工作线,LOW,HIGH,0.5 ,0),COLOR00FF00;
涨停:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(涨停,OPEN,CLOSE,8,0),COLOR00FFFF;
STICKLINE(涨停,LOW,HIGH,0.5 ,0 ),COLOR00FFFF;
买2:=CROSS(庄线,短庄) OR (REF(短庄,1)=REF(庄线,1) AND 短庄<庄线);
买1:=CROSS(价,工作线) OR (REF(工作线,1)=REF(价,1) AND 工作线<价);
DRAWICON(买2 and 买方,(OPEN * 0.97),10);
DRAWICON(买1 and 买方,(OPEN * 0.955),1),ALIGN1,VALIGN0;
DRAWICON(CROSS(神秘线,价) OR (REF(价,1)=REF(神秘线,1) AND 价<神秘线),(OPEN * 1.03),2),ALIGN1,VALIGN2;
DRAWICON(动能>0 and 动能<150 and 买方,(跌势线),12),ALIGN1,VALIGN0;
STICKLINE(CLOSE<OPEN and ref(CLOSE,1)>ref(OPEN,1),ref(close,1),ref(close,1),20,0),COLORFFFFFF;
aa:=HHv(c,5)/llv(c,5)<1.50 and count(c>o,5)>=1 and count(c<o,5)>=1 and count(l>ref(l,1),5)<=3;
突破盘整:=ref(aa,1) and c>o and (c-o)>ref(hhv(abs(c-o),5),1)*1.3 and c>ref(hhv(h,5),1);
突破:=突破盘整 and 价>工作线;
涨:=CLOSE/REF(CLOSE,1)>=1.07;
DRAWICON(突破 and 涨,(OPEN * 1),14),ALIGN1,VALIGN0;
跨越:=EMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,10,1),3);
特殊会员:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,13,1)-2*SMA(SMA((C- LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,13,1),5,1);
卖:=CROSS(跨越,特殊会员) OR (REF(特殊会员,1)=REF(跨越,1) AND 特殊会员<跨越);
买A:=CROSS(特殊会员,跨越) OR (REF(跨越,1)=REF(特殊会员,1) AND 跨越<特殊会员);
DRAWICON(卖,(OPEN * 1.003),3),ALIGN1,VALIGN2;
DRAWICON(买A and 价>工作线,(OPEN * 1),4);
va:=vol/capital*1000;
vaa:=ref(sum(va,5),1);
v3:=va and va>vaa;
v4:=v3 and count(v3,50)=1;
F1:VERTLINE(v4/1000 and c>=o and count(L<ema(c,240),10)>0,1),COLOR0000FF;
F2:VERTLINE(v4 and c>o and count(L<ema(c,240),10)<=0,1),COLORFF00FF;
F3:VERTLINE(v4 and c<o and count(L<ema(c,240),10)<=0,1),COLOR00FF00;
笑脸关注:=买1 and 买方;
笑脸关注2:=买2 and 买方;
开始建仓:=动能>0 and 动能<150 and 买方;
拉升待涨:=动能>0 and 庄线>短庄 and 价>工作线;
拉升待涨2:=动能<0 and 庄线>短庄 and 价>工作线;
短线出击:=突破 and 涨;
筹码突破:=买A and 价>工作线;
破顶减仓:=卖;
走弱出局:=CROSS(神秘线,价) OR (REF(价,1)=REF(神秘线,1) AND 价<神秘线);
弱市观望:=价<工作线;
赶底不碰:=价<工作线 AND 价<神秘线;
{以下设置解盘显示文字}
DRAWGBKLAST(v>1,STRIP(RGB(0,150,130),RGB(0,0,0),1));
DRAWFLAGTEXT(笑脸关注 or 笑脸关注2,COST(50),'▲出现笑脸红旗,开始关注!'),COLORFFFFFF;
DRAWFLAGTEXT(筹码突破,COST(50),'●筹码突破,开始关注!'),COLORFF00FF;
DRAWFLAGTEXT(开始建仓,COST(50),'■出现红灯,开始建仓!'),COLOR00FFFF;
DRAWFLAGTEXT(拉升待涨 or 拉升待涨2,COST(50),'★股价拉升,持股待涨!'),COLOR0000FF;
DRAWFLAGTEXT(短线出击,COST(50),'●可能是牛,注意风险!'),COLORFF00FF;
DRAWFLAGTEXT(破顶减仓,COST(50),'□股价回头,开始减仓!'),COLOR00FF00;
DRAWFLAGTEXT(走弱出局,COST(50),'◇出现哭脸,清仓出局!'),COLOR00FF00;
DRAWFLAGTEXT(弱市观望,COST(50),'△弱市区域,观望为宜!'),COLORFFFF00;
DRAWFLAGTEXT(赶底不碰,COST(50),'○股价赶底,暂时不碰!'),COLORFFFF00;

202108211316.png

202108211316.png

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则