趋势指标
-
相关简介:C/C++ Code 复制内容到剪贴板 趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORYELLOW; DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50)); {STICKLINE(趋势50,趋势,50,6,0),COLORFF00FF; STICKLINE(趋势50,趋势,50,6,0),COLORGREEN;} 转强:IF(趋势50,趋势,DRA
-
文章来源:择股网作者:股海网发布时间:2009-11-03浏览次数:
C/C++ Code复制内容到剪贴板
- 趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORYELLOW;
- DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50));
- {STICKLINE(趋势>50,趋势,50,6,0),COLORFF00FF;
- STICKLINE(趋势<50,趋势,50,6,0),COLORGREEN;}
- 转强:IF(趋势>50,趋势,DRAWNULL),COLOR0000FF;
- 转弱:IF(趋势<50,趋势,DRAWNULL),COLORGREEN;
- RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- TYP:=(HIGH+LOW+CLOSE)/3;
- CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
- DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
- DEA:=EMA(DIFF,6);
- MACD:=2*(DIFF-DEA);
- 转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
- STICKLINE(转点=1,50,50,2,0),COLORYELLOW;
- STICKLINE(转点=0,50,50,2,0),COLORCYAN;
- STICKLINE(C,90,90,1,0),COLORYELLOW;
- STICKLINE(C,10,10,1,0),COLORCYAN;