九毛八公式指标
该通达信指标使用中感觉不错,可惜通达信软件预警功能不好,哪位大侠能帮助改成大智慧L2指标,有可能在帮助做个选股公式(选股条件黄线上穿绿线)在此先谢过! {资金流量} 指数趋势: EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORCYAN,DOTLINE,LINETHICK1; 主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORRED,LINETHICK2; CN1:=HHV(V,5);{5日最高量} CN2:=O>C; CN02:=C>O; CN03:=C=O; CN04:=((SUM(V,5)/CN1)); CN05:=IF(CN04>0.3,1,0);{大资金} CN06:=IF(CN2 AND CN05,V,0);{大资金流出} CN07:=IF(CN02 AND CN05,V,0);{大资金流入} CN08:=IF(CN03 AND CN05,V,0);{不明流向大资金} 累积流入:SUM(CN07,9)/10000,COLORFF00FF,LINETHICK2; 累积流出:SUM(CN06,9)/10000,COLORGREEN,LINETHICK2;; 净流入:(累积流入-累积流出),COLORYELLOW,LINETHICK2; 净流入角度:ATAN((净流入/REF(净流入,1)-1)*100)*57.3,NODRAW; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); TX98:90,COLOR408080,DOTLINE,LINETHICK1; TX80:70,COLOR408080; TX45:45,COLOR408080; TX20:20,COLOR408080;
公式模块:
{资金流量}
指数趋势: EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORCYAN,DOTLINE,LINETHICK1; 主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORRED,LINETHICK2; CN1:=HHV(V,5);{5日最高量} CN2:=O>C; CN02:=C>O; CN03:=C=O; CN04:=((SUM(V,5)/CN1)); CN05:=IF(CN04>0.3,1,0);{大资金} CN06:=IF(CN2 AND CN05,V,0);{大资金流出} CN07:=IF(CN02 AND CN05,V,0);{大资金流入} CN08:=IF(CN03 AND CN05,V,0);{不明流向大资金} 累积流入:SUM(CN07,9)/10000,COLORFF00FF,LINETHICK2; 累积流出:SUM(CN06,9)/10000,COLORGREEN,LINETHICK2; 净流入:(累积流入-累积流出),COLORYELLOW,LINETHICK2; 净流入角度:ATAN((净流入/REF(净流入,1)-1)*100)*57.3,LINETHICK0; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); TX98:90,COLOR408080,DOTLINE,LINETHICK1; TX80:70,COLOR408080; TX45:45,COLOR408080; TX20:20,COLOR408080; ========================= {选股} CN1:=HHV(V,5);{5日最高量} CN2:=O>C; CN02:=C>O; CN03:=C=O; CN04:=((SUM(V,5)/CN1)); CN05:=IF(CN04>0.3,1,0);{大资金} CN06:=IF(CN2 AND CN05,V,0);{大资金流出} CN07:=IF(CN02 AND CN05,V,0);{大资金流入} CN08:=IF(CN03 AND CN05,V,0);{不明流向大资金} 累积流入:=SUM(CN07,9)/10000; 累积流出:=SUM(CN06,9)/10000; 净流入:=(累积流入-累积流出); crOSS(净流入,累积流出);