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