飞狐股票公式:夺权专家(2)
均线变异:IF(m1>m2,m2,m1),,linethick1,colorFFffff,;
PARTLINE(均线变异>REF(均线变异,1) and 均线变异=m2,均线变异),linethick,COLORFF00FF;
var1:=(HHV(H,n)-C)/(HHV(H,n)-LLV(L,n))*100;
var3:=(C-LLV(L,n))/(HHV(H,n)-LLV(L,n))*100;
var6:=var3-var1;
z:=MA(var6,n1);
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(z,0),1,0),L,'平空开多!'),linethick1,color0066ff,;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(0,z),1,0),H,'平多开空!'),linethick1,color0066ff,;
Var2:=LLV(L,11);
Var3:=HHV(H,25);
警戒线:= p1 ;
减仓线:= p2 ;
卖出线:= p3 ;
空头线:=p4;
动力线:= EMA((C-Var2)/(Var3-Var2)*4,4);
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(动力线,警戒线),1,0),C,'预警 '),ALIGN4,colorwhite;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(动力线,减仓线),1,0),C,'减磅 '),ALIGN5,COLORYELLOW;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(动力线,卖出线),1,0),C,'出局?'),ALIGN4,COLORGREEN ;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(动力线,空头线),1,0),C,'与虎谋皮 '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(警戒线,动力线),1,0),C,'预警确认 '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(减仓线,动力线),1,0),C,'减磅确认 '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(卖出线,动力线),1,0),C,'出局确认'),ALIGN3,COLORRED ;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(空头线,动力线),1,0),C,'虎皮到手'),ALIGN4,COLORRED ;
{DRAWICON(CROSS(动力线,警戒线),h,1);
DRAWICON(CROSS(动力线,减仓线),h,3);}
DRAWICON(CROSS(动力线,卖出线),H,4);
WW:=(MA(C,3)+MA(C,8)+MA(C,15)+MA(C,34))/4;
DRAWICON(CROSS(C,WW),LOW-0.02,4);
DRAWICON(CROSS(WW,C),HIGH+0.06,5);
DRAWTEXT(CROSS(C,WW),LOW-0.02,' 开多');
DRAWTEXT(CROSS(WW,C),HIGH+0.06,' 多平');
mA1:MA(C,S),colorFFffff,;
mA2:MA(C,P3),linethick3,color6600FF,;
mA3:MA(C,P2),linethick2,color00ffff,;
mA4:MA(C,P1),linethick1,colorffffff,;
MA6:MA(C,S), linethick1,colorFF66FF,;
a:=HHV(MA((LOW+HIGH+C)/3,17),60);
b:=LLV(MA((LOW+HIGH+C)/3,1),40);
STICKLINE(BARSCOUNT(C)=SYSPARAM(1),a,a,15,0),Coloryellow,linethick1,shift1;
DRAWNUMBER(BARSCOUNT(C)=SYSPARAM(1),a,a,3),shift3,colorYELLOW;
STICKLINE(BARSCOUNT(C)=SYSPARAM(1),b,b,15,0),Colorred,linethick1,shift1;
DRAWNUMBER(BARSCOUNT(C)=SYSPARAM(1),b,b,3),shift3,Colorred;
STICKLINE(BARSCOUNT(C)=SYSPARAM(1),((H+L)/2),((H+L)/2),4,0),,Coloryellow,linethick1,POINTDOT;
DRAWTEXT(BARSCOUNT(C)=SYSPARAM(1),((H+L)/2)*1.05,'+5%'),Color63806A,shift2;
DRAWTEXT(BARSCOUNT(C)=SYSPARAM(1),((H+L)/2)*1.03,'+3%'),Color63806A,shift2;
DRAWTEXT(BARSCOUNT(C)=SYSPARAM(1),((H+L)/2)*0.95,'-5%'),Color63806A,shift2,linethick2;
DRAWTEXT(BARSCOUNT(C)=SYSPARAM(1),((H+L)/2)*0.97,'-3%'),Color63806A,shift2,linethick2;
DRAWTEXT( REF(C,1)<REF(b,1) and C>b AND BARSCOUNT(C)=SYSPARAM(1),b*0.985,'←试买'),COLORYELLOW,shift1;
DRAWTEXT( C>=a AND BARSCOUNT(C)=SYSPARAM(1),A*1.015,'←多'),COLORYELLOW,shift1;
DRAWTEXT(REF(C,1)<REF(a,1) and C>=a AND BARSCOUNT(C)=SYSPARAM(1),A*0.995,'←进'),COLORYELLOW,shift1;
DRAWTEXT(REF(C,1)>REF(a,1) and C<a AND BARSCOUNT(C)=SYSPARAM(1),A*1.01,'↓减'),COLORYELLOW,shift1;
DRAWTEXT(CROSS(b,C) AND BARSCOUNT(C)=SYSPARAM(1),A*0.995,'↓逃'),COLORgreen,shift1;
DRAWTEXT( C<b AND BARSCOUNT(C)=SYSPARAM(1),A*1.015,'↓空'),COLORYELLOW,shift1;
STICKLINE(C<OPEN and REF(C,1)>REF(O,1),REF(C,1),REF(C,1),20,0),COLORFFFFFF;
DRAWTEXT(FILTER(EMA(C,40)-EMA(C,8)>0 AND EMA(C,8)/L>1.16,3),
LOW,'●'),linethick3 , COLORMAGENTA;
DRAWTEXT(FILTER(EMA(C,8)-EMA(C,40)>0 AND HIGH/EMA(C,8)>1.16,3),
HIGH,'●'),linethick3 ,color99ff00;
如何炒股?如何选股?如何看盘?如何追涨停?如何解套?怎么看K线图?波段操作有什么技巧?更多股票知识请关注南方财富网。
延伸阅读
|
要闻导读
|
||||||||||
|