通達信潛伏主力主圖指標公式
基本概況:
- 指標類別: 通達信指標
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯(lián)網(wǎng)
- 指標日期: 2019-08-16 00:00:00
內(nèi)容介紹:
通達信潛伏主力主圖指標公式三一:H-(H-L)*0.333,NODRAW;
二一:H-(H-L)*0.5,NODRAW;
三二:H-(H-L)*0.666,NODRAW;
實體三一:O+(C-O)*0.666,NODRAW;
實體腰線:O+(C-O)*0.5,NODRAW;
{多彩K線-主圖公式, 顯示大陽大陰漲停跌停假陰假陽跳空大K線中點,適用于通達信 }
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角顯示所屬行業(yè)板塊}
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角顯示所屬地域板塊}
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角顯示所屬概念板塊}
STICKLINE(REF(L,1)>H,H,REF(L,1),5,0),COLORGRAY;
STICKLINE(REF(H,1)<L,L,REF(H,1),5,0),COLORGRAY;
MA5:MA(C,5),DOTLINE;
MA10:MA(C,10),DOTLINE;
MA20:MA(C,20),DOTLINE;
MA30:MA(C,30),DOTLINE;
DRAWKLINE(H,O,L,C);{重繪K線}
RC1:=REF(C,1);
CS:=IF(C>=1,10000,100000);
C漲停10:=1.10*RC1-49/CS;{考慮到4舍5入}
C漲停5 :=1.05*RC1-49/CS;
C跌停10:=0.90*RC1+51/CS;
C跌停5 :=0.95*RC1+51/CS;
ST:=NAMELIKE('S') OR NAMELIKE('*S');
漲停:= IF(ST, C>=C漲停5, C>=C漲停10);
跌停:= IF(ST, C<=C跌停5, C<=C跌停10);
盤中漲停:=IF(ST, H>=C漲停5, H>=C漲停10);
盤中跌停:=IF(ST, L<=C跌停5, L<=C跌停10);
STICKLINE(盤中漲停,H,MAX(C,O),0,0),COLORMAGENTA;{漲停后回落}
STICKLINE(盤中跌停,L,MIN(C,O),0,0),COLORLICYAN;{跌停后回升}
大陽線:=C>O AND (C>=C漲停5 OR C>(1.05*O-51/CS) ) OR (C>1000 AND C>RC1*1.024);
STICKLINE(大陽線,O,C,1,0),COLOR0000BB;
大陰線:=C<O AND (C<=C跌停5 OR C<(0.95*O+49/CS) ) OR (C>1000 AND C<RC1*0.976);
STICKLINE(大陰線,O,C,1,0),COLORLIGREEN;
STICKLINE(漲停,O,C,1,0),COLORMAGENTA;
STICKLINE(跌停,O,C,1,0),COLORLICYAN;
假陰:=C<O AND C>REF(C,1);
STICKLINE(假陰,O,C,0,0),COLORRED;{假陰柱};
假陽:=C>O AND C<REF(C,1);
STICKLINE(假陽,O,C,0,0),COLORGREEN;{假陽柱};
通達信潛伏主力主圖指標公式
大盤TJ:=PERIOD=5 AND NAMELIKE('上證指數(shù)')
AND (ABS((C-REF(C,1)))/REF(C,1)>=0.025 OR ABS(C-O)>=60);
STICKLINE(大盤TJ,(H+L)/2,(H+L)/2,2,0),COLORYELLOW;{顯示大盤日線的60點大K線中值};
STICKLINE((大陽線 OR 大陰線 OR 漲停 OR 跌停)
AND BETWEEN(C,1,500),L+(H-L)/2,L+(H-L)/2,1,0),COLORYELLOW;{大K線畫中點線};
ZT:=C/REF(C,1)>1.097;
DRAWTEXT(ZT,L*0.98,'漲停'),COLORF00FF0;
VARZT:=BARSLAST(C/REF(C,1)>1.097);
STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;
DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;
STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;
DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;
STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;
DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;
STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;
DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;
STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF;
DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW;
STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD;
DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW;
STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600;
DRAWTEXT(VARZT=54,L*0.95,'55天'),CO
相關推薦: