通达信精确定位起涨第一日指标公式
通达信超强买入支撑主图指标公式
{精确定位起涨第一日}
T1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF;
T2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLOR008000;
T3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;
T4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF;
{白金}
{白金星星点灯} {20T 10% 100%}
AA1:=BArslAst(crOSS(30,T1))<2 AND BARSLAST(CROSS(T1,50))<2;
BB1:=BARSLAST(CROSS(T4,T1))<2 AND T1>T4;
EE1:=T1>60 AND T4>70;
白金:AA1 AND BB1 AND EE1,NODRAW,COLORWHITE;
{黄金} {黄金星星点灯} {20T 10% 94.05%}
AA2:=BARSLAST(CROSS(50,T1))<3 AND BARSLAST(CROSS(T1,50))<3;
BB2:=BARSLAST(CROSS(T4,T1))<2 AND T1>T4;
黄金:AA2 AND BB2,NODRAW,COLORYELLOW;
{天瀑} {启动金三角 (捉中线牛股起涨点)}
XG1:=BARSLAST(CROSS(T4,T1))<5 AND T1>T4;
天瀑:COUNT(XG1,3)=1 AND XG1,NODRAW,COLORRED;
{日月} {短线追涨 (高位横盘突破)}
A:=BARSLAST(CROSS(97,T1))<=1 AND BARSLAST(CROSS(T1,85))<=1;
B:=BARSLAST(CROSS(97,T2))<=1 AND BARSLAST(CROSS(T2,85))<=1;
A1:=A AND B;
AA:=BARSLAST(CROSS(97,T1))<=2 AND BARSLAST(CROSS(T1,85))<=1;
BA:=BARSLAST(CROSS(97,T2))<=2 AND BARSLAST(CROSS(T2,85))<=1;
A2:=AA AND BA ;
AAA:=BARSLAST(CROSS(97,T1))<=3 AND BARSLAST(CROSS(T1,85))<=1;
BAA:=BARSLAST(CROSS(97,T2))<=3 AND BARSLAST(CROSS(T2,85))<=1;
A3:=AAA AND BAA ;
B1:=REF(A1,1);
B2:=REF(A2,1);
B3:=REF(A3,1);
D1:=T1=100 AND T2=100 AND A1 ;
D2:=T1=100 AND T2=100 AND A2 ;
D3:=T1=100 AND T2=100 AND A3 ;
日月:D1 OR D2 OR D3,NODRAW,COLORCYAN;
{青干}{蓝三角启动
(精确定位起涨第一日)}
AA3:=BARSLAST(CROSS(95,T1))<=2;
BB3:=BARSLAST(CROSS(95,T2))<=2;
EE3:= T4<T1 AND T1<T2 AND T1<T3;
FF3:=T2>50 AND T3>50;
GG3:=T1=100 AND T2=100;
TX:=COUNT(GG3,2)=1;
青干:AA3 AND BB3 AND EE3 AND FF3 AND TX,NODRAW,COLORGREEN;
{莫问} {银边启动
(波段启动前兆)}
AA4:=T3=100;
BB4:=T4<90;
莫问:COUNT(A,2) = 2 AND B ,NODRAW,COLORBLUE;
{竞星}{启动金三角 (捉中线牛股起涨点)}
AA5:=T1=T2 AND T2=T3 AND T1=100 AND T4>96;
BB5:=COUNT(AA5,2)=1;
DD5:=T1<T2 AND T1<T3 AND T1<T4 AND T2<T3 AND T4<95;
YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
X1:=EMA(YH1,7);
X2:=EMA(YH1,14);
X3:=EMA(X1,14);
EE5:=X1>X2 AND X2>X3;
竞星:BB5 AND DD5 AND EE5,NODRAW,COLORMAGENTA;
{舍神}
{阶段震仓启动点(黄金坑)}
AA6:=BARSLAST(CROSS(T4,T1))>3 AND BARSLAST(CROSS(T1,T4))<3;
BB6:=BARSLAST(CROSS(T4,T2));
DD6:=T3<T4 AND T2<T4;
EE6:=BARSLAST(CROSS(T4,T3))>3 AND BARSLAST(CROSS(T1,T4))<3;
FF6:=T2<T3 AND T2<T4 AND T2<T1 AND T1=100;
舍神:AA6 AND BB6 AND DD6 AND EE6 AND FF6,NODRAW,COLOR0080FF;
通达信百分线指标公式