资源描述:
《【股票指标公式下载】-【通达信】趋势看买卖(持股线、趋势线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】趋势看买卖(持股线、趋势线)■指标公式源码EMA5:MA(C,5),COLORFFOOFF,LINETHICK1;EMA10:MA(C,10),COLOROOFFFF,LINETHICK1;EMA20:MA(C,20),C0L0RC0FF7F,LINETHICK1;EMA60:MA(C,60),COLORFFFFFF,LTNETHTCK1;VARI:二(0+H+C)/3;持股线:二EMA(VARI,3),COLORYELLOW,LINETHICK1;VAR2:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100
2、));趋势线:=EMA(((VAR2/10)+EMA(CLOSE,10)),3);Al:二持股线,COLOROOFFFF,LTNETHTCK2;Bl:二趋势线,COLOROOFFOO,L1NETH1CK2;AA:二Al>二Bl;BB:=B1>A1;买入:DRAWICON(CROSS(AA,BB),L,1);卖出:DRAWICON(CROSS(BB,AA),H,2);STICKLINE(AA,C,0,3,0),COLORFFBBFF;STICKLINE(AA,H,L,0,0),COLOROOFFFF;STICKLINE(BB,C,0,3,0),COLOROOFF
3、OO;STICKLINE(BB,H,L,0,0),COLORFFOOOO;STTCKLTNE(AA,CLOSE,OPEN,3.0,0),COLORFFOOFF;STICKLINE(AA,CLOSE,OPEN,2.6,0),C0L0RFF22FF;STICKLINE(AA,CLOSE,OPEN,2.2,0),C0L0RFF44FF;STICKLINE(AA,CLOSE,OPEN,1.8,0),C0L0RFF66FF;STICKLINE(AA,CLOSE,OPEN,1.4,0),C0L0RFF88FF;STTCKLTNE(AA,CLOSE,OPEN,1,0),C0
4、L0RFF99FF;STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFFAAFF;STICKLINE(AA,CLOSE,OPEN,0.1,0),COLORFFBBFF;STICKLINE(BB,CLOSE,OPEN,3,0),C0L0R008800;STICKLINE(BB,CLOSE,OPEN,2.6,0),C0L0R009900;STTCKLTNE(BB,CLOSE,OPEN,2.2,0),COLOROOAAOO;STICKLINE(BB,CLOSE,OPEN,1.8,0),COLOROOBBOO;STICKLINE(BB,CLOS
5、E,OPEN,1.4,0),COLOROOCCOO;STICKLINE(BB,CLOSE,OPEN,1,0),COLOROODDOO;STICKLINE(BB,CLOSE,OPEN,0.6,0),COLOROOEEOO;STICKLINE(BB,CLOSE,OPEN,0.2,0),COLOROOFFOO;STICKLINE(买入,0,(C-0)/2+0,3,0),C0L0R335555;STICKLINE(买入,0,(C-0)/2+0,2.2,0),C0L0R338888;STICKLINE(买入,0,(C-0)/2+0,1.5,0),C0L0R33AAAA;
6、STTCKLTNE(买入,0,(C-0)/2+0,1,0),C0L0R33CCCC;STICKLINE(买入,0,(C-0)/2+0,0,0),C0L0R33EEEE;STICKLINE(卖出,0,(C-0)/2+O,3,0),C0L0R550055;STICKLINE(卖出,0,(C-0)/2+0,2.2,0),C0L0R880088;STICKLINE(卖出,0,(C-0)/2+0,1.5,0),COLORAAOOAA;STTCKLTNE(卖出,0,(C-0)/2+0,1,0),COLORCCOOCC;STICKLINE(卖出,0,(C-0)/2+0,0.
7、5,0),COLOREEOOEE;【通达信】趋势看买卖(持股线.趋势线)■指标公式效果图新疆众和(日线)趋势看买卖EMA5:22.31EMA10:23.80EMA20:24.01EMA60:21.41Z2.53(文档来源:若水财经社区)