仿徐小明多空通道 通达信主图指标
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:3.00 KB
更新时间:2016-03-14 19:44:00
公式简介:
仿徐小明多空通道(指标 主图 通达信 贴图)
仿徐小明多空通道指标,经过论坛朋友的共同努力,在大盘日线图上终于无限接近原版。
优点:上升通达消除了噪音信号,能一路持股吃到鱼身;加了操作量化、点位价格提示。
缺点:个股图上信号比原版多一些,如要用于个股还需要调整参数。
{MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);}
DRAWTEXT_FIX(1,0.00,0.00,0,'【★★仓位控制的量化标准★★】'),COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.05,0,'【★★1、粉+红=满,2、粉+绿=6,3、蓝+红=4,4、蓝+绿=空★★】'),COLOR00FFFF;
VAR1:=IF(YEAR>2999 AND MONTH>5,0,1);
VAR2:=IF(HIGH=CLOSE,1.10*CLOSE,HIGH)*VAR1;
VAR3:=IF(HIGH=CLOSE,0.90*CLOSE,LOW)*VAR1;
短期值1:=EMA((HIGH+LOW)/2,5);
顶部线1:=EMA(EMA(VAR2,6)*1.05,8);
底部线1:=EMA(EMA(VAR3,6)*0.97,8);
VARA1:=EXPMA(CLOSE,5);
VARB1:=EXPMA(CLOSE,10);
VARC1:=EXPMA(CLOSE,20);
VARD1:=EXPMA(CLOSE,50);
VARE1:=(VARA1+VARB1+VARC1+VARD1)/4;
天线1:MA(VARE1,4);
天线2:=MA(VARE1,5)+MA(VARE1,5)*0.03;
天线3:MA(VARE1,4)-MA(VARE1,4)*0.03;
NOTEXT天线01:IF(天线1>REF(天线1,1),天线1,DRAWNULL),COLORRED;
NOTEXT天线11:IF(天线1<REF(天线1,1),天线1,DRAWNULL),COLORGREEN;
NOTEXT天线03:IF(天线3>REF(天线3,1),天线3,DRAWNULL),COLORRED;
NOTEXT天线13:IF(天线3<REF(天线3,1),天线3,DRAWNULL),COLORGREEN;
STICKLINE(天线1>REF(天线1,1),天线1,天线3,0,0),COLORRED;
STICKLINE(天线1<REF(天线1,1),天线1,天线3,0,0),COLORGREEN;
空:=REF(C,1)>REF(天线3,1) AND C<天线3;
多:=REF(C,1)<REF(天线1,1) AND C>天线1;
空1:=TFILTER(多,空,2);
多1:=TFILTER(多,空,1);
DRAWTEXT(空1,天线1*1.04,'空'),COLORGREEN;
DRAWTEXT(多1,天线3*0.96,'多'),COLORRED;
DRAWICON(空1,天线1*1.02,2);
DRAWICON(多1,天线3*0.98,1);
VAR11:=IF(YEAR>2999 AND MONTH>5,0,1);
VAR12:=IF(HIGH=CLOSE,1.10*CLOSE,HIGH)*VAR11;
VAR13:=IF(HIGH=CLOSE,0.90*CLOSE,LOW)*VAR11;
长期值2:=EMA((HIGH+LOW)/2,5);
顶部线2:=EMA(EMA(VAR12,6)*1.05,8);
底部线2:=EMA(EMA(VAR13,6)*0.97,8);
VAR18:=(HIGH+LOW+CLOSE)/3;
VARA2:=EMA(CLOSE,5);
VARB2:=EMA(CLOSE,10);
VARC2:=EMA(CLOSE,20);
VARD2:=EMA(CLOSE,50);
VARE2:=(VARA2+VARB2+VARC2+VARD2)/4;
天线12:=EMA(VARE2,60);{www.goodgupiao.com}
天线22:=EMA(VARE2,60)+EMA(VARE2,60)*0.03;
天线32:=EMA(VARE2,55)-EMA(VARE2,55)*0.03;
NOTEXT天线012:IF(天线12>REF(天线12,1),天线12,DRAWNULL),COLORMAGENTA;
NOTEXT天线112:IF(天线12<REF(天线12,1),天线12,DRAWNULL),COLORBLUE;
NOTEXT天线032:IF(天线32>REF(天线32,1),天线32,DRAWNULL),COLORMAGENTA;
NOTEXT天线132:IF(天线32<REF(天线32,1),天线32,DRAWNULL),COLORBLUE;
STICKLINE(天线12>REF(天线12,1),天线12,天线32,0,0),COLORMAGENTA;
STICKLINE(天线12<REF(天线12,1),天线12,天线32,0,0),COLORBLUE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);{原文链接:HTTP://WWW.55188.COM/THREAD-7344256-1-1.HTML};
[url=http://www.goodgupiao.com/gupiaogongshi/40501.html][B]仿徐小明多空通道 通达信主图指标[/B][/url]