以下是通達(dá)信先勝穩(wěn)贏通道指標(biāo) 平衡線 反彈線(無(wú)源碼的請(qǐng)下載附件導(dǎo)入)
通達(dá)信先勝穩(wěn)贏通道指標(biāo) 平衡線 反彈線
源碼
AZ:=HHV(H,20),COLORCCFFFF,LINETHICK2;
AX:=LLV(L,20),COLORYELLOW,LINETHICK2;
STICKLINE(C>0,AX-0.5,AZ+0.5,1000000000000,0),COLOR335500;
DRAWTEXT_FIX(1,0.00,0.04,0,'操作說(shuō)明:通道趨勢(shì)平穩(wěn)向上,出紅色塊一路持股!做波段在回檔線買(mǎi)“出笑臉),在了結(jié)線賣(mài)出“小跑人”,股價(jià)到達(dá)止贏線更賣(mài)“出哭臉”!')COLOR0000FF;
DRAWTEXT_FIX(1,0.07,0.04,0,EXTERNSTR(0,1))COLOR0000FF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK));
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,10,0),COLOR000099;
VAR1111:=1;
平衡線:= EMA(EMA(EMA(HIGH,5),5),5)*VAR1111;
反彈線:=平衡線*0.86 ;
回?fù)蹙€買(mǎi): 平衡線*0.91,LINETHICK2 COLOR00FF00;
VAR2:=平衡線*0.85;
了結(jié)線賣(mài): 平衡線*1.08,LINETHICK2 COLOR00FF00;
止贏線更賣(mài):平衡線*1.15,LINETHICK2 ;
綠山水:=MA(MA(CLOSE,5),1),LINETHICK2,COLORGREEN;
紅山水:MA(MA(CLOSE,5),8),LINETHICK2,COLORGREEN;
IF(紅山水>=綠山水,綠山水,紅山水),LINETHICK4,COLORRED;
DRAWICON(CROSS(C,紅山水),L*0.99,1);
DRAWICON(CROSS(C,突破),L*0.98,5);
MA8:=MA(CLOSE,10),COLORYELLOW;
生命線60:MA(CLOSE,60)LINETHICK4,COLORRED;
STICKLINE(C>=O AND O>0,HIGH,LOW,0.5,0),COLOR0000CD;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,3,0),COLOR070084;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,2.5,0),COLOR0000A3;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,2,0),COLOR0000B7;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,1.5,0),COLOR0000CD;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,1,0),COLOR0000E9;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,0.5,0),COLOR0754E9;
STICKLINE(C>=O AND O>0,CLOSE,OPEN,0.5,0),COLOR68B8FF;
STICKLINE(C<O AND O>0,HIGH,LOW,0.5,0),COLORFFBE00;
STICKLINE(CLOSE<OPEN AND OPEN>0,HIGH,LOW,0.5,0),COLORFFBE00;
STICKLINE(CLOSE<OPEN AND OPEN>0,CLOSE,OPEN,3,0),COLORCA6500;
STICKLINE(CLOSE<OPEN AND OPEN>0,CLOSE,OPEN,2.5,0),COLORE17100;
STICKLINE(C>1.099*REF(C,1),O,C,2,0),COLORYELLOW;
STICKLINE(C>1.099*REF(C,1),O,C,2,0),COLORYELLOW;
DRAWTEXT(CROSS(C,紅山水),L*0.97,'買(mǎi)'),COLORYELLOW;
ZTSJ:=BARSLAST(C>REF(C,1)*1.099 AND C=H);
回:=ZTSJ>=2 AND ZTSJ<=7 AND L<=REF(C*0.95,ZTSJ) AND L=LLV(L,ZTSJ);
DRAWICON(回,L*0.98,19);
STICKLINE(C>1.099*REF(C,1),O,C,2,0),COLORYELLOW;
STICKLINE(C>1.099*REF(C,1),O,C,2,0),COLORYELLOW;
DRAWICON(CROSS(H,止贏線更賣(mài)) OR CROSS(C,止贏線更賣(mài)),H*1.03,4);
DRAWICON(CROSS(H,了結(jié)線賣(mài)) OR CROSS(C,了結(jié)線賣(mài)),H*1.03,15);
|