宝典操盘线-精品通达信指标公式源码分享
{宝典操盘线}
VARA1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
VARA2:=REVERSE(VARA1);
VARA3:=SMA(VARA1,5,1);
K:=SMA(VARA3,3,1);
D:=SMA(K,3,1);
STICKLINE((K <= D),50,0,8,0),COLOR2B5500;
STICKLINE((K >= D),50,0,8 ,0 ),COLOR005555;
STICKLINE((K <= D),-50,0,8,0),COLOR2B5500;
STICKLINE((K >= D),-50,0,8 ,0 ),COLOR005555;
{MACD之DEA判断价格多头判断}
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:EMA(DIF,9)*50,LINETHICK2,COLORGREEN;
价多头:IF(DEA>=0,DEA,DRAWNULL),COLORRED,LINETHICK2;
{量价齐升之周量多头判断}
周量 : (EMA(VOL,12) - EMA(VOL,26))*0.001,COLORLIBLUE,LINETHICK2;
量多头:IF(周量>=0,周量,DRAWNULL),COLORLIRED,LINETHICK2;
{短中长周期套牢筹码研判}
短线套牢盘:EMA(100*(1-WINNER(1.1*C)),1),COLORBLUE,LINETHICK2;
中线套牢盘:EMA(100*(1-WINNER(1.2*C)),1),COLORGREEN ,LINETHICK2;
长线套牢盘:EMA(100*(1-WINNER(1.5*C)),1),COLORYELLOW,LINETHICK2;
STICKLINE(短线套牢盘<0.5 AND 中线套牢盘<0.5 AND 长线套牢盘=0,长线套牢盘,4,1,13),COLORRED;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!