通達(dá)信先勝通道線主圖指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-31 00:00:00
內(nèi)容介紹:
通達(dá)信先勝通道線主圖指標(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.001,0.10,0,'操作說明:通道平穩(wěn)趨勢向上,主線出綠一路持股!主線出“笑臉”或股價站上虛線買,主線變藍(lán)賣!')COLOR0000FF;
總漲幅周期:=350;
范圍高A:=REFDATE(HHV(H,120),DATE)*1.05;
范圍低A:=REFDATE(LLV(L,120),DATE)*0.95;
地區(qū):=STRCAT(' 地區(qū):',DYBLOCK),COLOR99CC32;
行業(yè):=STRCAT(' 行業(yè):',HYBLOCK),COLORGREEN;
概念:=STRCAT(' 概念:',GNBLOCK),COLORFF00FF;
Z1:=STRCAT(STKNAME,' ');
Z2:=STRCAT(Z1,CODE);
Z3:=STRCAT(Z2,' ');
Z4:=STRCAT(Z3,FGBLOCK);
Z5:=STRCAT(Z4,地區(qū));
Z6:=STRCAT(Z5,行業(yè));
Z7:=STRCAT(Z6,概念);
DRAWTEXT_FIX(1,0.001,0.01,0,STRCAT(Z7,' ')),COLORCYAN;
{========================股本市值==========================}
總股本:=STRCAT(STRCAT('總股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'億');
流通盤:=STRCAT(STRCAT(' 流通盤: ',CON2STR(CAPITAL/1000000,2)),'億');
全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'億');
上市天數(shù):=STRCAT(' 上市天數(shù): ',CON2STR(FINANCE(42),0));
日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000;
上市日期:=STRCAT(' 上市日期: ',CON2STR(HHV(日期,0),0));
{上市日期:=STRCAT(' 上市日期: ',CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));}
每股凈資產(chǎn):=STRCAT(' 每股凈資產(chǎn): ',CON2STR(FINANCE(34),4));
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(總股本,流通盤),全流通),市值),每股凈資產(chǎn)),上市日期));
DRAWTEXT_FIX(ISLASTBAR,0.001,0.06,0,股本市值),COLORGREEN;
{========================底部出擊==========================}
CB底:=STRCAT('底部出擊: ',CON2STR(COST(0.33),2));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.131,0.160,0,CB底),COLORGREEN;
CB高:=STRCAT('頂部位置: ',CON2STR(COST(99),2));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.221,0.160,0,CB高),COLORRED;
{========================蕕利比例==========================}
DRAWTEXT_FIX(1,0.001,0.160,0,'蕕利比例:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.055,0.160,0,CONST(WINNER(C )*100)),COLORYELLOW;
贏利%:=WINNER(CLOSE)*100,NODRAW,COLORWHITE;
DRAWTEXT_FIX(贏利%>=95 AND ISLASTBAR,0.095,0.160,0,'高危'),COLORRED;
DRAWTEXT_FIX(贏利%>=80 AND 贏利%<95 AND ISLASTBAR,0.095,0.160,0,'風(fēng)險'),COLORF00FF0;
DRAWTEXT_FIX(贏利%>=50 AND 贏利%<80 AND ISLASTBAR,0.095,0.160,0,''),COLORYELLOW;
DRAWTEXT_FIX(贏利%<50 AND ISLASTBAR,0.095,0.160,0,'空頭'),COLORGREEN;
通道中軌:=MA(CLOSE,30);
通道下軌:通道中軌*0.88,COLOR6C6CFF;
通道上上軌:通道中軌*1.18,COLORGREEN LINETHICK3;
通道下下軌:通道中軌*0.82, COLORGREEN LINETHICK3;
DRAWBAND(通道下下軌,RGB(50,0,0),通道上上軌,RGB(0,50,0))COLOR00CC00;
DRAWICON(CROSS(H,通道上上軌) OR CROSS(C,通道上上軌),H*1.03,4);
通道上軌:通道中軌*1.12,COLORFF6600;
DRAWICON(CROSS(H,通道上軌) OR CROSS(C,通道上軌),H*1.03,2);
AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
加倉:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);
波段底:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,
相關(guān)推薦: