通達信極限底主圖指標公式
基本概況:
- 指標類別: 通達信指標
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯(lián)網(wǎng)
- 指標日期: 2017-08-24 00:00:00
內(nèi)容介紹:
通達信極限底主圖指標公式:
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60),COLORFF0000;
{MA120:MA(C,120),DOTLINE,COLORFF0080;}
TC1:=IF(H=HHV(H,48),H,DRAWNULL);
TC2:=CONST(BARSLAST(TC1=H))+1;
UPPER:=CONST(IF(TC2=1,H,REF(H,TC2-1)));
BC1:=IF(L=LLV(L,48),L,DRAWNULL);
BC2:=CONST(BARSLAST(BC1=L))+1;
LOWER:=CONST(IF(BC2=1,L,REF(L,BC2-1)));
LP:=CURRBARSCOUNT<=BC2 AND L=LOWER;
HP:=CURRBARSCOUNT<=TC2 AND H=UPPER;
AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/
(HHV(HIGH,30)-LLV(LOW,30))*100,8);
BA1:=EMA(AB,5);
上軌:=REFDATE(REF(HHV(MAX(C,O),96),5),DATE);
下軌:=REFDATE(REF(LLV(MIN(C,O),96),5),DATE);
中軌:=((上軌)+(下軌))/2;
YXHX:=DATE>=REF(DATE,BARSLAST(IF(BC2>TC2,LP,HP)));
上沿:IF(AB>0 AND AB-BA1<=0 AND YXHX,上軌,上軌),POINTDOT,COLORWHITE;
中樞:IF(AB>0 AND AB-BA1<=0 AND YXHX,中軌,中軌),POINTDOT,COLORWHITE;
下沿:IF(AB>0 AND AB-BA1<=0 AND YXHX,下軌,下軌),POINTDOT,COLORWHITE;
極限底部:REFDATE(LLV(L,130),DATE)COLORYELLOW;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
總股本:=STRCAT(STRCAT('總股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'億');
流通盤:=STRCAT(STRCAT(' 流通盤: ',CON2STR(CAPITAL/1000000,2)),'億');
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'億');
每股公積金:=STRCAT(' 每股公積金:',CON2STR(FINANCE(18),2));
每股未分利潤:=STRCAT(' 每股未分利潤:',CON2STR(FINANCE(32),2));
每股凈資產(chǎn):=STRCAT(' 每股凈資產(chǎn):',CON2STR(FINANCE(34),2));
顯示內(nèi)容:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(總股本,流通盤),市值),每股公積金),每股未分利潤),每股凈資產(chǎn));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,顯示內(nèi)容),COLORGRAY;
DRAWKLINE(HIGH,OPEN,LOW, CLOSE);
通達信極限底主圖指標公式更新時間:2017-08-24 13:24
相關推薦: