通达信最牛筹码副图
X_1:=WINNER(CLOSE/1.1)*100;X_2:=WINNER(CLOSE/1.2)*100;X_3:=WINNER(CLOSE/1.3)*100;X_4:=(1-WINNER(CLOSE/0.9))*100;X_5:=(1-WINNER(CLOSE/0.8))*100;X_6:=(1-WINNER(CLOSE/0.7))*100;X_7:=(WINNER(CLOSE)-WINNER(CLOSE/1.1))*100;X_8:=(WINNER(CLOSE)-WINNER(CLOSE/1.2))*100;X_9:=(WINNER(CLOSE)-WINNER(CLOSE/1.3))*100;X_10:=(WINNER(CLOSE/0.9)-WINNER(CLOSE))*100;X_11:=(WINNER(CLOSE/0.8)-WINNER(CLOSE))*100;X_12:=(WINNER(CLOSE/0.7)-WINNER(CLOSE))*100;STICKLINE(X_12>=X_11 AND X_11=X_10,0,X_2,2,0),COLORRED;STICKLINE(X_9>50 AND X_8< 50 AND X_7< 50,X_2,X_1,2,0),COLORGREEN;STICKLINE(X_4>=0 AND X_5>=0 AND X_6>=0,X_2,0,0.1,0),COLORFF8080;吸筹:X_4>=0 AND X_5>=0 AND X_6>=0,NODRAW,COLORFF8080;DRAWICON(X_4=0 AND X_5=0 AND X_6=0 AND X_12>=X_11 AND X_11=X_10 AND X_10< 10,X_3,23);获利筹码:EMA(WINNER(CLOSE)*70,5),NODRAW,COLORRED;亏损筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5),NODRAW,COLORF0FF00;主力筹码:EMA(WINNER(CLOSE)*70,10),NODRAW,COLORWHITE;散户筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),NODRAW,COLORGREEN;IF(获利筹码>亏损筹码 AND 主力筹码>散户筹码,CONST(获利筹码),DRAWNULL),COLORWHITE,LINETHICK2;DRAWTEXT_FIX(1,0,0.12,0,4),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
X_1赋值:收盘价/1.1计算的获利盘比例*100
X_2赋值:收盘价/1.2计算的获利盘比例*100
X_3赋值:收盘价/1.3计算的获利盘比例*100
X_4赋值:(1-收盘价/0.9计算的获利盘比例)*100
X_5赋值:(1-收盘价/0.8计算的获利盘比例)*100
X_6赋值:(1-收盘价/0.7计算的获利盘比例)*100
X_7赋值:(收盘价计算的获利盘比例-WINNER(收盘价/1.1))*100
X_8赋值:(收盘价计算的获利盘比例-WINNER(收盘价/1.2))*100
X_9赋值:(收盘价计算的获利盘比例-WINNER(收盘价/1.3))*100
X_10:=(收盘价/0.9计算的获利盘比例-WINNER(收盘价))*100
X_11:=(收盘价/0.8计算的获利盘比例-WINNER(收盘价))*100
X_12:=(收盘价/0.7计算的获利盘比例-WINNER(收盘价))*100
当满足条件X_12>=X_11 AND X_11=X_10时,在0和X_2之间画柱状线
当满足条件X_9>50 AND X_8< 50 AND X_7< 50时,在X_2和X_1之间画柱状线
当满足条件X_4>=0 AND X_5>=0 AND X_6>=0时,在X_2和0之间画柱状线
输出吸筹:X_4>=0 AND X_5>=0 AND X_6>=0,NODRAW,COLORFF8080
当满足条件X_4=0 AND X_5=0 AND X_6=0 AND X_12>=X_11 AND X_11=X_10 AND X_10< 10时,在X_3和23之间画图标
输出获利筹码:EMA(收盘价计算的获利盘比例*70,5),NODRAW,画红色
输出亏损筹码:EMA((收盘价*1.1计算的获利盘比例-WINNER(收盘价*0.9))*80,5),NODRAW,COLORF0FF00
输出主力筹码:EMA(收盘价计算的获利盘比例*70,10),NODRAW,画白色
输出散户筹码:EMA((收盘价*1.1计算的获利盘比例-WINNER(收盘价*0.9))*80,10),NODRAW,画绿色
IF(获利筹码>亏损筹码 AND 主力筹码>散户筹码,CONST(获利筹码),DRAWNULL),画白色, 线宽为2
当满足条件1时,在横轴0纵轴0.12位置书写文字