以下是同花顺开盘预判主力动向源码

STICKLINE(HOUR>=9 AND HOUR<10 ,0, V/((TIME-93000)/100)*240,4.5,1),colorwhite;

STICKLINE(HOUR>=10 AND HOUR<11 ,0, V/((TIME-100000)/100+30)*240,4.5,1),colorwhite;

STICKLINE(HOUR>=11 AND HOUR<12 ,0, V/((TIME-110000)/100+90)*240,4.5,1),colorwhite;

STICKLINE(HOUR>=13 AND HOUR<=14,0, V/((TIME-130000)/100+120)*240,4.5,1),colorwhite;

STICKLINE(HOUR>=14 AND HOUR<=15,0, V/((TIME-140000)/100+180)*240,4.5,1),colorwhite;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));

主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));

STICKLINE(C>O,0,VOL,4.5,1),colorred;

STICKLINE(C<O ,0,VOL,4.5,1),COLORFFFF00;

STICKLINE(C=O AND C<REF(C,1),0,VOL,4.5,1),COLORFFFF00;

STICKLINE(C=O AND C>REF(C,1),0,VOL,4.5,1),colorred;

STICKLINE(主动买盘>0,0,主动买盘,4.5,0),colorred;

换手: VOL/CAPITAL*100;

STICKLINE(换手>=3 AND 换手<8,0, 主动买盘,2,0),coloryellow;

STICKLINE(换手>=8,0, 主动买盘, 2,0) ,colorgreen;

MA5:MA(VOL,5),coloryellow;

MA13:MA(VOL,13),colorwhite;

DRAWTEXT(CROSS(MA5,MA13),CROSS(MA5,MA13),’*’),coloryellow;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。