通达信万山红遍主图源码

2016-07-11 10:17:00来源:本站整理浏览:536

{画线}
IF(BETWEEN(高压M,高点,低点),高压M,DRAWNULL),COLOR00CCFF,LINETHICK1;
IF(BETWEEN(低撑M,高点,低点),低撑M,DRAWNULL),COLOR00CCFF,LINETHICK1;
IF(BETWEEN(高压1,高点,低点),高压1,DRAWNULL),COLORCCCCCC,LINETHICK1;
IF(BETWEEN(低撑1,高点,低点),低撑1,DRAWNULL),COLORCCCCCC,LINETHICK1;
中:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFFFFFF;

VAR326:=IF(C AND MA(VOL,5)/240 AND C>LC*1.0 AND C,88,0);
VAR327:=IF(C/LC>1.050 AND VOL/CAPITAL*100<10 AND C<17 AND H/C<1.010 AND VAR326>0, 91, 0);
DRAWTEXT(VAR327>90,L*0.993,'↖杀庄'),COLOR00FFFF;

{背离}
RSI:=(SMA(MAX((C-LC),0),3,1)/SMA(ABS((C-LC)),3,1))*100;
FFF:=EMA(C,3);
MA15:=EMA(C,21);
顶背:=CROSS(88,RSI);
DRAWTEXT(CROSS(FFF,MA15),L,'←底背'),COLORFF88FF;

CCI:='CCI';
CCI3:=MA(CCI,3);
CCI7:=MA(CCI,7);
头:=CROSS(CCI3,CCI) AND (CCI>130);
STICKLINE(头,H*1.005,H*1.01,4,0),COLOR00CC00;
DRAWTEXT(头,H*1.01,'头'),COLORFFFFFF;
STICKLINE(逃顶,H*1.01,H*1.015,4,0),COLORFFFFFF;
卖出警报:=(头 AND 顶背),COLOR0000FF;
STICKLINE(卖出警报,H*1.016,H*1.025,4,0),COLOR0000FF;
DRAWTEXT(卖出警报,H*1.028,'空仓'),COLORFFFFFF;
DRAWICON(顶背,H*1.016,8);
DRAWTEXT(顶背,H*1.02,'←顶背'),COLOR98FF75;

DRAWTEXT_FIX(1,0.92,0.01,0,STRCAT(STRCAT('【共振】',CON2STR(【共振】,1)),' ')),COLOR00FFFF;
 


 


上一页  [1] [2] [3] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式