通达信博弈波段公式

2016-01-06 12:46:00来源:本站整理浏览:278

通达信博弈波段公式

源码

DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,"",0);

A:=BARSCOUNT(C);C0:=(H+L+O+C)/4;C3:=SUM(IF(A>2,(C0/REF(C0,1)-1),0),15);

MC3:=SMA(C3,3,1)*100;MC4:=MA(MC3,11);涨跌:MC3,COLOR00FFFF,LINETHICK2;

趋势:MC4,COLORFFFF00,LINETHICK2;{STICKLINE(MC4>0,MC4,0,1,0),COLOR7777BB,LINETHICK2;}{STICKLINE(MC4<0,MC4,0,1,0),COLORBB7777,LINETHICK2;}

STICKLINE(MC3>MC4,MC3,MC4,1,0),COLOR0000FF,LINETHICK2;

STICKLINE(MC3<MC4,MC3,MC4,1,0),COLOR00FF00,LINETHICK2;

VAR4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);VAR5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);VAR6:=100-VAR5;VAR7:=100-VAR4;A1:=REF(C,1);A2:=100*V/CAPITAL*10; AA:=CROSS(VAR6,VAR7) AND VAR4<25 ;AAB:=CROSS(VAR6,VAR7) AND VAR4>30 AND  VAR4<50 ;ABC:=CROSS(VAR6,VAR7) AND VAR4>50 AND  VAR4<65;TMP:=FORCAST(-1*VAR6,21);

TMP,COLORGREEN;

STICKLINE(1,0,TMP,1,0),COLORBLUE;

STICKLINE(VAR7<REF(VAR6, 1), -1*VAR7, -1*VAR7+2, A2,1), COLORRED; VA1:=MA(VAR6,3); STICKLINE(-1*VAR7>VA1, -1*VAR7, -1*VAR6,A2,1), COLORYELLOW;

STICKLINE(VAR7>=REF(VAR6, 1), -1*VAR7, -1*VAR6, A2+2,0), COLORGREEN; -100; -10; -90;百万:=MA(WINNER(C),9)*100;BB:=CROSS(百万,2.5) ;BB*-85,LINETHICK4,STICK,COLORYELLOW;DRAWTEXT(BB,-40,"..监测"),LINETHICK3;DRAWTEXT(AAB,-80,"盯庄");DRAWTEXT(ABC,-50,"梅开二度");DRAWTEXT(AA,-70,"跟庄"),COLORYELLOW;DRAWTEXT(AA,-50,"庄股");DRAWTEXT(AA,-60,"启动"),COLORGREEN;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式