资源描述:
《【股票指标公式下载】-【通达信】跌涨趋势线(涨家数、跌家数、短线).doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【股票指标公式下载】-【通达信】跌涨趋势线(涨家数、跌【通达信】跌涨趋势线(涨家数、跌家数、短线)-指标公式源码A1:=MA(H,6);A2:=MA(L,6);A3:IF(C>REF(A1,1),A2,IF(C[=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,C]
2、LOSE,1,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,1,0),COLORGREEN;VARI:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);
3、VAR4:=REF(VAR3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1)ANDCLOSE〉二REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1)ANDCLOSEVREF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);VAR7:二REF(VAR6,1)ANDCLOSE〉二REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1)ANDCLOSE<
4、=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);VAR9:二REF(VAR&1)ANDCLOSENREF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VARA:二REF(VAR9,1)ANDCLOSE<=REF(CLOSE,I)ANDCLOSE>=REF(CLOSE,2);VARB:=REF(VARA,I)ANDCLOSE〉二REF(CLOSE,1)ANDCLOSE〈二REF(CLOSE,2);VARC:=REF(VARB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE〉二REF(
5、CLOSE,2);VARD:=CLOSE[=REF(CLOSE,2);VAR10:=REF(VARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR11:=REF(VAR1O,1)ANDCLOSE<=RE]
6、F(CLOSE,1)ANDCLOSE〉二REF(CLOSE,2);VAR12:=REF(VAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE〉二REF(CLOSE,2);VAR14:=REF(VAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOS
7、E〉二REF(CLOSE,2);VAR16:=REF(VAR15,1)ANDCLOSE〉=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1)ANDCLOSEUREF(CLOSE,1)ANDANDCLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1)ANDCLOSE>=REF(CLOSE,1)CLOSE<=REF(CLOSE,2);VAR14短线:REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR15ORV
8、AR16ORVAR17ORVAR1&1)ANDVARI,COLORYELLOW,NODRAW;STICKLINE(短线,0,(C+0)/2,1.5,0),COLORYELLOW;