通达信满汉全牛指标公式
2020/3/31 18:41:09
V0:=ZIG(3,10);V1:=MA(V0,2);V3:=HHV(V1,200);V4:=LLV(V1,200);
V6:=IF((V0>REF(V0,1)),0,C);V7:=IF(FILTER(V6,120),1,0);
V5:=REF(V6,1)=0 AND V6>0 AND V7=0;
V8:=NOT((H<=HHV(H,20) AND H>=HHV(H,20)*0.99) OR H<V3*0.75);
V9:=IF(FILTER(IF((V0>REF(V0,1)),0,C),120),1,0);
DDD:=IF(V5,0,1);
{FFF:=IF(V1>REF(V1,1) AND DDD AND V9=0 AND IF(DATE>1080630,0,V8),1,0);}
FFF:=1;
H1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
H2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
H3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
H4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A1:=BARSLAST(CROSS(30,H1))<2 AND BARSLAST(CROSS(H1,50))<2;
B1:=BARSLAST(CROSS(H4,H1))<2 AND H1>H4;
E1:=H1>60 AND H4>70;
牛魔出山:IF(A1 AND B1 AND E1 AND FFF,10,0),COLORRED;
A2:=BARSLAST(CROSS(50,H1))<3 AND BARSLAST(CROSS(H1,50))<3;
B2:=BARSLAST(CROSS(H4,H1))<2 AND H1>H4;
疯牛越栏:IF(A2 AND B2 AND FFF,9,0),COLORLIRED;
A21:=BARSLAST(CROSS(H4,H1))<5 AND H1>H4;
牛心不改:IF(COUNT(A21,3)=1 AND A21 AND FFF,8,0),COLORWHITE;
A3:=BARSLAST(CROSS(H4,H1))>3 AND BARSLAST(CROSS(H1,H4))<3;
B3:=BARSLAST(CROSS(H4,H2));
E3:=BARSLAST(CROSS(H4,H3))>3 AND BARSLAST(CROSS(H1,H4))<3;
牛动震仓:IF(A3 AND B3 AND E3 AND H2 AND H3 AND FFF,7,0),COLOR0088CC;
{www.kanguba.com 看股吧_最新股票指标公式}
H40:=BARSLAST(CROSS(97,H1))<=1 AND BARSLAST(CROSS(H1,85))<=1;
H41:=BARSLAST(CROSS(97,H2))<=1 AND BARSLAST(CROSS(H2,85))<=1;
H42:=BARSLAST(CROSS(97,H1))<=2 AND BARSLAST(CROSS(H1,85))<=1;
H43:=BARSLAST(CROSS(97,H2))<=2 AND BARSLAST(CROSS(H2,85))<=1;
H44:=H40 AND H41;
H45:=H42 AND H43 ;
H46:=BARSLAST(CROSS(97,H1))<=3 AND BARSLAST(CROSS(H1,85))<=1;
H47:=BARSLAST(CROSS(97,H2))<=3 AND BARSLAST(CROSS(H2,85))<=1;
H48:=H46 AND H47;
{H490:=REF(H44,1);H491:=REF(H45,1);H492:=REF(H48,1);}
Y41:=H1=100 AND H2=100 AND H44 ;
Y42:=H1=100 AND H2=100 AND H45 ;
Y43:=H1=100 AND H2=100 AND H48 ;
栏牛顶角:IF((Y41 OR Y42 OR Y43) AND FFF,6,0),COLORMAGENTA;
A6:=H3=100;
B6:=H4<90;
牛蹄初步:IF(COUNT(A6,2)=2 AND B6 AND FFF,5,0),COLORGREEN;
A7:=H1=H2 AND H2=H3 AND H1=100 AND H4>96;
B7:=COUNT(A7,2)=1;
D7:=H1;
YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
X71:=EMA(YH1,7);
X72:=EMA(YH1,14);
X73:=EMA(X71,14);
E7:=X71>X72 AND X72>X73;
T44:=IF(B7 AND D7 AND E7 AND FFF,4,0),COLOR6600FF;
A5:=BARSLAST(CROSS(95,H1))<=2;
B5:=BARSLAST(CROSS(95,H2))<=2;
E5:=H4;
F5:=H2>50 AND H3>50;
G5:=H1=100 AND H2=100;
T5:=COUNT(G5,2)=1;
T55:=IF(A5 AND B5 AND E5 AND F5 AND T5 AND FFF,3,0),COLORFFAA55;
T66:=IF((H1=100 AND REF(H1,2)=100 AND REF(H1,1)=100 AND
H2=100 AND H3=100 AND H4=100 AND REF(H2,2)<100 AND
REF(H3,2)<100 AND REF(H4,2)<100) OR (H1=100 AND
REF(H1,3)=100 AND REF(H1,2)=100 AND REF(H1,1)=100 AND
H2=100 AND H3=100 AND H4=100 AND REF(H2,3)<100 AND
REF(H3,3)<100 AND REF(H4,3)<100) AND FFF,2,0),COLOR448822;
牛性顿起:IF(T44 OR T66 AND FFF,4,0),COLORFFAA55;
牛气阵阵:IF(T55 AND FFF,2.5,0),COLORLIGRAY;
看 股吧公式 www. kanguba.com
其它股票公式列表