资源描述:
《【股票指标公式下载】-【大智慧】安全买卖(顶底线、趋势、安全区)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【大智慧】安全买卖(顶底线、趋势、安全区)-指标公式源码RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));VAR21:=SMA(RSVA2,9,1)+100;VAR11:=SMA(RSVA1,3,1);VAR51:=SMA(VAR11,3,1)+100;顶底线:=VAR51-VAR21+50;VAR2:=LLV(LOW,33);VAR3:=HHV(HIGH,21);V
2、AR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);vara:=cross(ma(close,5),ma(close,2));STICKLINE(varaand(趋势>50),85,100,5,1),COLORred;STICKLINE(varaand(趋势>50),85,100,4,0),COLORyellow;STICKLINE(varaand(趋势>50),85,100,3,0),COLORblue
3、;STICKLINE(varaand(趋势>50),85,100,2,0),COLORred;STICKLINE(C,100,90,1,0),COLORffee88;STICKLINE(C,90,80,1,0),COLORffee00;STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR9999FF;STICKLINE(顶底线[REF(趋势,1)AND顶底线]4、Rred;STICKLINE((趋势[REF(顶底线,1)),20,80,2,0),COLOR00ff00;STICKLINE(趋势>80,趋势,80,8,0),COLORRED;STICKLINE(趋势<20,趋势,20,8,0),COLORWHITE;STICKLINE(C,20,10,1,0),COLORFF0033;STICKLINE(C,10,0,1,0),COLORFF0033;DRAWTEXT(FILTER(CLOSE>0,25),15,'安全区'),COLORffffff;DRAWTEXT]
5、(FILTER(CLOSE>0,25),40,'绿持币'),COLORffffff;DRAWTEXT(FILTER(CLOSE>0,25),70,'粉持股'),COLORffffff;DRAWTEXT(FILTER(CLOSE>0,25),95,'风险区'),COLOrffffff;趋势线:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK2,COLORyellow;安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),CIRCLEDOT,COLORred
6、;Y1:=LLV(L,17);Y2:=SMA(ABS(L-REF(L,1)),17,1);Y3:=SMA(MAX(L-REF(L,1),0),17,2);Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));STICKLINE(CROSS(Q,0),15,0,4,0),COLORred;启动:IF(CROSS(Q,0),1,0),COLORred;Q1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;STICKLINE(CROSS(Q1,-24),20,0,4,0),COLORff00ff;强势:
7、IF(CROSS(Q1,-24),1,0),COLORff00ff;VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2B:=SMA(VAR1B,9,1)+100;VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4B:=SMA(VAR3B,3,1);VAR5B:=SMA(VAR4B,3,1)+100;VAR6B:=VAR5B-VAR2B;趋势1:=IF(VAR6B>45,VAR6B-45,0);V
8、AR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CLOSE*1.3,V