筹码建仓筹码类指标通达信指标 副图 源码附图
获利盘:=WINNER(C)*100,COLOR00FFFF,LINETHICK2;
HLPMA5:=MA(获利盘,5),COLOR0000FF,LINETHICK2;
短套:EMA(100*(1-WINNER(1.1*C)),1),COLORFFDD00,LINETHICK1;
中套:EMA(100*(1-WINNER(1.2*C)),1),COLORFF0000,LINETHICK1;
长套:EMA(100*(1-WINNER(1.5*C)),1),COLOR00FF00,LINETHICK2;
WLT1:=短套>95;
WLT2:=中套>80;
WLT3:=长套>60;
WLT4:=长套>70;
WLT5:=中套>85;
TJ1:=WLT1>REF(WLT1,1) AND WLT2>REF(WLT2,1) AND WLT3>REF(WLT3,1);
BT001:=WLT1 AND WLT2 AND WLT3 AND WLT3>REF(WLT3,1);
BT002:=WLT1 AND WLT2>REF(WLT2,1);
BT003:=WLT1 AND WLT4 AND WLT5;
BT004:=WLT1 AND WLT4 AND WLT5 AND TJ1;
TJ2:=CROSS(90,短套) AND 中套>60 ;
TJ3:=COUNT(短套>85 AND 中套>60 ,10)>7 AND CROSS(80,短套);
TJ4:=FILTER(短套>85 AND 中套>70 AND 长套>40,5);
TJ6:=短套>90 AND 中套>75;
TJ5:=短套>85 AND 中套>70 AND 长套>40;
JLBT:=FILTER(TJ1 OR TJ2 OR TJ3 OR TJ4 OR BT001 OR BT002 OR BT003 OR BT004,5);
DRAWBAND(0,RGB(0,0,0),JLBT*28,RGB(250,250,18));
DRAWTEXT(JLBT,28,'金项链'),COLOR00FFFF;
DXBT01:=LONGCROSS(73.8,短套,5) AND 中套>20 AND 长套>1;
DXBT02:=COUNT(短套>70,13)>9 AND CROSS(71,短套) AND 中套>20;
YLBT:=FILTER(DXBT01 OR DXBT02,3);
DRAWBAND(0,RGB(0,0,0),YLBT*20,RGB(250,250,250));
DRAWTEXT(YLBT,20,'白金链'),COLORFFFFFF;
MT:=BARSLAST(REF(CROSS(75,短套),1));
ZLBT:=(MT<21 AND MT>3 AND 短套<REF(短套,MT+1) AND CROSS(75,短套));
DRAWBAND(0,RGB(0,0,0),ZLBT*33,RGB(250,18,18));
DRAWTEXT(ZLBT,33,'钻链'),COLOR0000FF;
CRBT:=CROSS(获利盘,长套) AND 获利盘<10 AND LAST(长套>1.618,5,0);
XG:=JLBT OR YLBT OR ZLBT OR CRBT;
ST1:=FILTER(CROSS(获利盘,HLPMA5) AND HLPMA5>80,5) AND 中套=0;
ST2:=FILTER(COUNT(CROSS(获利盘,HLPMA5),15)>=3 AND HLPMA5>61.8,15) AND C<MA(C,3);
ST:=(ST1 OR ST2);
DRAWBAND(100,RGB(0,250,0),(100-ST*15),RGB(18,250,18));
DRAWTEXT(ST,85,'卖'),COLOR00FF00;
短线关注:IF(TJ6,5,0),COLOR00FFFF,LINETHICK2;
建仓区:IF(TJ5,8,0),COLOR0018FF,LINETHICK2;
DRAWTEXT(FILTER(TJ6,13),18,'关注'),COLOR00FFFF;
DRAWTEXT(FILTER(TJ5,13),5,'建仓区'),COLOR0088FF;
未来函数检测结果如下:
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
获利盘赋值:C计算的获利盘比例*100,COLOR00FFFF, 线宽为2
HLPMA5赋值:获利盘的5日简单移动平均,COLOR0000FF, 线宽为2
输出短套:EMA(100*(1-1.1*C计算的获利盘比例),1),COLORFFDD00,LINETHICK1
输出中套:EMA(100*(1-1.2*C计算的获利盘比例),1),COLORFF0000,LINETHICK1
输出长套:EMA(100*(1-1.5*C计算的获利盘比例),1),COLOR00FF00, 线宽为2
WLT1赋值:短套>95
WLT2赋值:中套>80
WLT3赋值:长套>60
WLT4赋值:长套>70
WLT5赋值:中套>85
TJ1赋值:WLT1>1日前的WLT1 AND WLT2>1日前的WLT2 AND WLT3>1日前的WLT3
BT001赋值:WLT1 AND WLT2 AND WLT3 AND WLT3>1日前的WLT3
BT002赋值:WLT1 AND WLT2>1日前的WLT2
BT003赋值:WLT1 AND WLT4 AND WLT5
BT004赋值:WLT1 AND WLT4 AND WLT5 AND TJ1
TJ2赋值:90上穿短套 AND 中套>60
TJ3赋值:统计10日满足短套>85 AND 中套>60 的天数>7 AND 80上穿短套
TJ4赋值:短套>85 AND 中套>70 AND 长套>40的5过滤
TJ6赋值:短套>90 AND 中套>75
TJ5赋值:短套>85 AND 中套>70 AND 长套>40
JLBT赋值:TJ1 OR TJ2 OR TJ3 OR TJ4 OR BT001 OR BT002 OR BT003 OR BT004的5过滤
DRAWBAND(0,RGB(0,0,0),JLBT*28,RGB(250,250,18))
当满足条件JLBT时,在28和'金项链'位置书写文字
DXBT01赋值:LONGCROSS(73.8,短套,5) AND 中套>20 AND 长套>1
DXBT02赋值:统计13日满足短套>70的天数>9 AND 71上穿短套 AND 中套>20
YLBT赋值:DXBT01 OR DXBT02的3过滤
DRAWBAND(0,RGB(0,0,0),YLBT*20,RGB(250,250,250))
当满足条件YLBT时,在20和'白金链'位置书写文字
MT赋值:上次1日前的75上穿短套距今天数
ZLBT赋值:(MT<21 AND MT>3 AND 短套
DRAWBAND(0,RGB(0,0,0),ZLBT*33,RGB(250,18,18))
当满足条件ZLBT时,在33和'钻链'位置书写文字
CRBT赋值:获利盘上穿长套 AND 获利盘<10 AND LAST(长套>1.618,5,0)
XG赋值:JLBT OR YLBT OR ZLBT OR CRBT
ST1赋值:FILTER(获利盘上穿HLPMA5 AND HLPMA5>80,5) AND 中套=0
ST2赋值:FILTER(统计15日满足获利盘上穿HLPMA5的天数>=3 AND HLPMA5>61.8,15) AND C
ST赋值:(ST1 OR ST2)
DRAWBAND(100,RGB(0,250,0),(100-ST*15),RGB(18,250,18))
当满足条件ST时,在85和'卖'位置书写文字
如果TJ6返回5否则返回0
如果TJ5返回8否则返回0
DRAWTEXT(TJ6的13过滤,18,'关注'),COLOR00FFFF
DRAWTEXT(TJ5的13过滤,5,'建仓区'),COLOR0088FF