资源描述:
《【股票指标公式下载】-【通达信】主力进撤(均价、个股、大盘均价)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】主力进撤(均价、个股、大盘均价)-指标公式源码{r,1,100,4}V1:=(C*2+H+L+O)/5;{均价}V2:=EMA(V1,13)-EMA(V1,34);{MACD.DIFF}V3:=EMA(V2,5);{MACD.DEA}V4:=(V2-V3)*100;{MACD.MACD}主力撤:=IF(V4<=0,V4,0){,COLORBLUE个股};主力进:=IF(V4>=0,V4,0){,COLORFF00FF个股};V8:=(INDEXC*2+INDEXH+INDEXL+INDEXO)/5;{大盘均价}V9:=EMA(V8,13)-EMA(V8,34);{INDEX
2、.DIFF}VA:=EMA(V9,5);{INDEX.DEA}VB:=(V9-VA)/2;{INDEX.MACD}V11:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);{引用个股"KDJ.J"}V12:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA(SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1
3、),3,1);{引用个股"KDJ.J"}V13:=3*SMA((C-LLV(L,120))/(HHV(H,120)-LLV(L,120))*100,5,1)-2*SMA(SMA((C-LLV(L,120))/(HHV(H,120)-LLV(L,120))*100,5,1),3,1);{引用个股"KDJ.J"}阳光:EMA(V11,3),COLORYELLOW,LINETHICK2;空气:EMA(V12,3),COLORDD00FF;雨露:EMA(V13,3),COLORWHITE;DV11:=3*SMA((INDEXC-LLV(INDEXL,60))/(HHV(INDEXH,60)-
4、LLV(INDEXL,60))*100,5,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,60))/(HHV(INDEXH,60)-LLV(INDEXL,60))*100,5,1),3,1);自然环境:EMA(DV11,13),COLORCYAN,LINETHICK2;稻草人:空气<=10,LINETHICK0,COLOREECC99;STICKLINE(空气<=10,0,15,3,0),COLOREECC99;麦田:空气<=10AND(阳光<=10OR自然环境<=10),LINETHICK0,COLOR00EEAA;STICKLINE(空气<=10AND(阳光<=
5、10OR自然环境<=10),0,20,2,0),COLOR00EEAA;早熟:空气<=10AND(阳光<=10OR自然环境<=10)AND雨露<=10,LINETHICK0,COLORMAGENTA;STICKLINE(空气<=10AND(阳光<=10OR自然环境<=10)AND雨露<=10,0,25,1,0),COLORMAGENTA;5.1-9,,services,andmakethecitymoreattractive,strengtheningpublictransportinvestment,establishedasthebackboneoftheurbanrailtra
6、nsitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachieve光合作用:阳光<=10AND空气<=10AND自然环境<=10AND雨露<=10,LINETHICK0,COLORRED;STICKLINE(阳光<=10AND空气<=10AND自然环境<=10AND雨露<=10,0,30,0.5,0),COLORRED;AA:=FILTER((空气<=10),15);XX:=FILTER(空气<=10AND自然环境<=10,15);{DRAWTEXT(AA,
7、30,'稻草人'),COLORCC9900;DRAWTEXT(XX,40,'麦田'),COLOR00AAAA;}BB:=(空气<=10ANDV12>10)ANDFILTER((空气<=10ANDV12>10),10);乌鸦:空气>=90AND空气>REF(空气,1),COLORFFFF00,LINETHICK0;STICKLINE(乌鸦,100,95,15,1),COLORFFFF00;暴风雨:空气>=90AND自然环境>=90,COLORGREEN,LI