V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进场:IF(VB =0,VB,0),Colorred;
大盘资金撤走:IF(VB =0,VB,0),colorgreen;
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);
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线 =13,0,20,5,0),colorcc9900;
aa:=(趋势线 =13) and filter((趋势线 =13),15);
drawtext (aa,30,'准备现金'),colorcc9900;
买入股票: STICKLINE(趋势线 =13 AND V12 13,0,50,5,0),color0099ff;
bb:= (趋势线 =13 AND V12 13) and filter((趋势线 =13 AND V12 13),10) ;
drawtext (bb,60,'买入股票'),color0099ff;
卖临界: STICKLINE(趋势线 90 and 趋势线 ref(趋势线,1),100,95,15,1),COLORFFFF00;
见顶清仓:filter(趋势线 90 and 趋势线 ref(趋势线,1) and 主力进 ref(主力进,1),8);
DRAWTEXTABS(5,5,'股票软件下载网 www.9m8.cn 九毛八公式指标网'),linethick1,COLOR00EEff;
DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;
cc:=(趋势线 =90 AND V12) and filter((趋势线 =90 AND V12),10);
stickline(大盘资金进场 and 趋势线 13,0,30,10,0),colorred;
stickline(大盘资金撤走 and 趋势线 90,0,30,10,0),colorgreen;
stickline(主力进 and 趋势线 13,0,40,10,0),colorff00ff;
stickline(主力撤 and 趋势线 90,0,40,10,0),colorblue;