均線變異: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,'預(yù)警 '),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,'預(yù)警確認(rèn) '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(減倉線,動力線),1,0),C,'減磅確認(rèn) '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(賣出線,動力線),1,0),C,'出局確認(rèn)'),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,'←進(jìn)'),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線圖?波段操作有什么技巧?更多股票知識請關(guān)注南方財富網(wǎng)。