通达信风云际会色彩变化主图
{风云际会色彩变化主图}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));
来函数检测结果如下:
该公式没有未来函数
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{风云际会色彩变化主图}X_1赋值:(收盘价*2+最高价+最低价)/4
X_1的2日[1日权重]移动平均
输出反转:SAR(125,1,7),画绿色
当满足条件收盘价<反转时,在反转和X_2之间画柱状线
当满足条件收盘价>反转时,在反转和X_2之间画柱状线
当满足条件收盘价>反转时,在反转和X_2之间画柱状线
当满足条件收盘价>反转时,在反转和X_2之间画柱状线
当满足条件收盘价>反转时,在反转和X_2之间画柱状线
当满足条件收盘价>反转时,在反转和X_2之间画柱状线
X_3赋值:6日内最高价最高值
X_4赋值:9日内最高价最高值
X_5赋值:17日内最高价最高值
X_6赋值:34日内最高价最高值
X_7赋值:68日内最高价最高值
X_8赋值:125日内最高价最高值
X_9赋值:250日内最高价最高值
X_10赋值:6日内最低价最低值
X_11赋值:9日内最低价最低值
X_12赋值:17日内最低价最低值
X_13赋值:34日内最低价最低值
X_14赋值:68日内最低价最低值
X_15赋值:125日内最低价最低值
X_16赋值: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))