通达信股市大肥羊主图指标公式
基本概况:
- 指标类别: 通达信指标
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标语言: 简体中文
- 指标来源: 互联网
- 指标日期: 2017-07-26 00:00:00
内容介绍:
通达信股市大肥羊主图指标公式:
P:=14;
M7:MA(C,7),LINETHICK2,COLORYELLOW;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
黄线上牛股起:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
REF(HHJSJDA,20))/210,LINETHICK2,COLORYELLOW;
DRAWBAND(M7,RGB(150,10,10),黄线上牛股起,RGB(0,120,0));
STICKLINE(C>O,O,C,3,1)COLORRED;
STICKLINE(O>C,O,C,3,0)COLORCYAN;
红线上熊出没:=MA(黄线上牛股起,6),COLORRED,LINETHICK2;
DRAWTEXT_FIX(1,0.02,0.05,0,'★黄金坑后,趋势上升。★'),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0.10,0,'★洋红柱,注意逃顶。★'),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0.15,0,'★红箭头买,绿箭头卖。★'),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0.20,0,'★长线大肥羊主图;附图均可。法师9430制作★'),COLORYELLOW;
趋势线:=MA(CLOSE,55),COLORYELLOW,NODRAW;
BBB:=趋势线+2*STD(CLOSE,120),COLORLIBLUE;
CCC:=趋势线-2*STD(CLOSE,60),COLORRED;
VAR1:=HHV(HIGH,55);
VAR3:=HHV(L,55);
顶:VAR1*0.95,COLORBLUE,LINETHICK2;
底:VAR3*0.88,COLORWHITE,LINETHICK2;
操作:(LLV(HIGH,55)+HHV(LOW,55))/2,COLORLIRED,DOTLINE,LINETHICK1;
操作2:(C*4+L*3+H*2+O)/10,COLORGREEN,DOTLINE,LINETHICK1;
STICKLINE(操作<操作2,操作,操作2,0,-1),COLORRED,LINETHICK2;
STICKLINE(操作>操作2,操作,操作2,0,-1),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(操作2 ,M7) AND 操作2<=底,L,1);
DRAWRECTREL(600,125,920,125,80)COLORBLUE;
DRAWRECTREL(600,250,925,250,80)COLORBLUE;
DRAWRECTREL(600,375,925,375,80)COLORBLUE;
DRAWRECTREL(600,500,925,500,80)COLORBLUE;
DRAWRECTREL(600,625,925,625,80)COLORBLUE;
DRAWRECTREL(600,750,925,750,80)COLORBLUE;
DRAWRECTREL(600,875,925,875,80)COLORBLUE;
DRAWTEXT_FIX(1,0.6,0.875,1,'第一防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.6,0.75,1,'第二防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.6,0.625,1,'第三防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.6,0.5,1,'第四防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.6,0.375,1,'第五防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.6,0.25,1,'第六防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.6,0.125,1,'第七防线'),COLORYELLOW;
DRAWICON(CROSS(顶,操作2),H,2);
通达信股市大肥羊主图指标公式
OBV:=操作2;
A1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);{高点}
A2:=REF(OBV,P)=LLV(OBV,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);{低点}
上:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;
下:REF(OBV,BARSLAST(D2)),COLOR00FF00,NODRAW;
ZUYI:=CROSS(操作2,顶);
STICKLINE(ZUYI OR REF(ZUYI,1) OR REF(ZUYI,2) OR REF(ZUYI,3) OR REF(ZUYI,4)
OR REF(ZUYI,5) OR REF(ZUYI,6) AND 操作2>顶,O,C,1,0),COLORMAGENTA;
STICKLINE(下=操作2 OR 下=REF(操作2,1) OR 下=REF(操作2,2) OR 下=REF(操作2,4)