通达信趋势拐点指标公式
RV5:=IF(BARSCOUNT(CLOSE)<6,REF(SUM(VOL,BARSCOUNT(CLOSE))/BARSCOUNT(CLOSE),1),REF(MA(VOL,5),1));
V1:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT AND BARSCOUNT(CLOSE)>1,DYNAINFO(17)*RV5,VOL),VOLSTICK;
VOLUME:VOL,VOLSTICK;
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主买:主动买/10000,COLORRED;
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主卖:-主动卖/10000,COLORGREEN;
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.0,0);
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.0,0);
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.0,0);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0),COLORRED;
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0),COLORGREEN;
主力启动线:MA(VOLUME,5),COLORWHITE,LINETHICK2;
主力洗盘线:MA(VOLUME,35),COLORBLUE,LINETHICK2;
资金异动线:MA(VOLUME,135),COLORYELLOW,LINETHICK3;
市值亿元:(CAPITAL/100*C)/10000,NODRAW;
- 上一篇公式:通达信资金进场日指标公式
- 下一篇公式:通达信金牌操作主图指标公式