通达信做多做空副图指标公式源码


V1:=(C*2+H+L)/4*10; 
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 
主力进: IF(V4>=0,V4,0),COLORFF00FF; 
V6:=EMA(3*V5-2*SMA(V5,18,1),5); 
V8:=(INDEXC*2+INDEXH+INDEXL)/4; 
VA:=EMA(V9,3); 
大盘资金进场:IF(VB>=0,VB,0),COLORRED; 
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15); 
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF; 
DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8); 
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(大盘资金撤走  AND 趋势线>90,0,30,10,0),COLORGREEN;
STICKLINE(主力撤 AND 趋势线>90,0,40,10,0),COLORBLUE;