在线检测未来函数

通达信共振抓妖主图指标公式

来源:Internet,编辑:股旁网,2023-07-25

{指标介绍:
1. 零轴位置的红色条形图表示中线多头趋势;
2. 零轴位置的绿色条形图表示中线空头线趋势;
3. 黄线在零轴上方运行时表示短线趋势走强;
4. 黄线在零轴下方运行时表示短线趋势走弱;
5. 紫色柱表示短线趋势和中线趋势共振走强。}

X_1:=(CLOSE*2+HIGH+LOW)/4;
X_2:=MA(3*X_1-2*SMA(X_1,2,1),12);
反转:SAR(125,1,7),COLORGREEN;
STICKLINE(CLOSE<反转,反转,X_2,1,0),COLORGRAY;
STICKLINE(CLOSE>反转,反转,X_2,0,0),COLORYELLOW;
STICKLINE(CLOSE>反转,反转,X_2,0.2,0),COLOR008888;
STICKLINE(CLOSE>反转,反转,X_2,0.4,1),COLOR00BFBF;
STICKLINE(CLOSE>反转,反转,X_2,0.6,0),COLOR00DBDB;
STICKLINE(CLOSE>反转,反转,X_2,1,0),COLOR00F0F0;
X_3:=HHV(HIGH,6);
X_4:=HHV(HIGH,9);
X_5:=HHV(HIGH,17);
X_6:=HHV(HIGH,34);
X_7:=HHV(HIGH,68);
X_8:=HHV(HIGH,125);
X_9:=HHV(HIGH,250);
X_10:=LLV(LOW,6);
X_11:=LLV(LOW,9);
X_12:=LLV(LOW,17);
X_13:=LLV(LOW,34);
X_14:=LLV(LOW,68);
X_15:=LLV(LOW,125);
X_16:=LLV(LOW,250);
DRAWBAND(X_3,RGB(80,0,80),X_4,RGB(88,8,240));
DRAWBAND(X_4,RGB(80,30,80),X_5,RGB(88,38,240));
DRAWBAND(X_5,RGB(80,60,80),X_6,RGB(88,68,240));
DRAWBAND(X_6,RGB(80,90,80),X_7,RGB(88,98,240));
DRAWBAND(X_7,RGB(80,120,80),X_8,RGB(88,128,240));
DRAWBAND(X_8,RGB(80,150,80),X_9,RGB(88,158,240));
DRAWBAND(X_15,RGB(188,38,45),X_16,RGB(188,38,45));
DRAWBAND(X_14,RGB(150,10,20),X_15,RGB(150,10,20));
DRAWBAND(X_13,RGB(100,5,15),X_14,RGB(100,5,15));
DRAWBAND(X_12,RGB(188,58,65),X_13,RGB(188,58,65));
DRAWBAND(X_11,RGB(188,48,55),X_12,RGB(188,48,55));
DRAWBAND(X_10,RGB(200,15,100),X_11,RGB(200,15,100));

通达信共振抓妖主图指标公式

相关文章