均線(xiàn)變異:IF(m1>m2,m2,m1),,linethick1,colorFFffff,;
PARTLINE(均線(xiàn)變異>REF(均線(xiàn)變異,1) and 均線(xiàn)變異=m2,均線(xiàn)變異),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,'平空開(kāi)多!'),linethick1,color0066ff,;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(0,z),1,0),H,'平多開(kāi)空!'),linethick1,color0066ff,;
Var2:=LLV(L,11);
Var3:=HHV(H,25);
警戒線(xiàn):= p1 ;
減倉(cāng)線(xiàn):= p2 ;
賣(mài)出線(xiàn):= p3 ;
空頭線(xiàn):=p4;
動(dòng)力線(xiàn):= EMA((C-Var2)/(Var3-Var2)*4,4);
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(動(dòng)力線(xiàn),警戒線(xiàn)),1,0),C,'預(yù)警 '),ALIGN4,colorwhite;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(動(dòng)力線(xiàn),減倉(cāng)線(xiàn)),1,0),C,'減磅 '),ALIGN5,COLORYELLOW;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(動(dòng)力線(xiàn),賣(mài)出線(xiàn)),1,0),C,'出局?'),ALIGN4,COLORGREEN ;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(動(dòng)力線(xiàn),空頭線(xiàn)),1,0),C,'與虎謀皮 '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(警戒線(xiàn),動(dòng)力線(xiàn)),1,0),C,'預(yù)警確認(rèn) '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(減倉(cāng)線(xiàn),動(dòng)力線(xiàn)),1,0),C,'減磅確認(rèn) '),ALIGN3,COLORRED;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(賣(mài)出線(xiàn),動(dòng)力線(xiàn)),1,0),C,'出局確認(rèn)'),ALIGN3,COLORRED ;
DRAWTEXT(IF(RANGE(BARPOS,SYSPARAM(1)-2,SYSPARAM(1)+1) AND CROSS(空頭線(xiàn),動(dòng)力線(xiàn)),1,0),C,'虎皮到手'),ALIGN4,COLORRED ;
{DRAWICON(CROSS(動(dòng)力線(xiàn),警戒線(xiàn)),h,1);
DRAWICON(CROSS(動(dòng)力線(xiàn),減倉(cāng)線(xiàn)),h,3);}
DRAWICON(CROSS(動(dòng)力線(xiàn),賣(mài)出線(xiàn)),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,' 開(kāi)多');
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,'←試買(mǎi)'),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;
如何炒股?如何選股?如何看盤(pán)?如何追漲停?如何解套?怎么看K線(xiàn)圖?波段操作有什么技巧?更多股票知識(shí)請(qǐng)關(guān)注南方財(cái)富網(wǎng)。