根据fnc版本改动,删除了部分随光标出现的文字
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;
DRAWICON(CROSS(神秘线,价) OR (REF(价,1)=REF(神秘线,1) AND 价<神秘线),(OPEN * 1.03),2),ALIGN1;
DRAWICON(动能>0 and 动能<150 and 买方,(跌势线),12),ALIGN1;
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;
跨越:=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;
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;
VERTLINE(v4/1000 and c>=o and count(L<ema(c,240),10)>0),COLOR0000FF;{F1}
F2:VERTLINE(v4 and c>o and count(L<ema(c,240),10)<=0),COLORFF00FF;
F3:VERTLINE(v4 and c<o and count(L<ema(c,240),10)<=0),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));}
DRAWGBK(C>O, COLORRGB(0,150,130), COLORRGB(0,0,0),0);
DRAWTEXT(SYSPARAM(1) = BARPOS AND 笑脸关注 or 笑脸关注2,跌势线,'▲出现笑脸红旗,开始关注!'),ALIGN2,COLORFFFFFF; |