资源描述:
《多空阵线指标源码》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、交易机器人} H1:EMA(C,8); H2:EMA(H1,20); Var1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100; Var2:=SMA(Var1,5,1); Var3:=SMA(Var2,8,1); Var4:=CROSS(Var2,Var3)ANDVar3<20; Var5:=C>LLV(C,60)*1.13ANDVar4; Var6:=IF(C>200,Var4,Var5); STICKLINE(H1>H2,H1,H2,0,1),C
2、OLORRED; STICKLINE(H1
分水
3、岭,均价,分水岭),COLORYELLOW; 支撑:REVERSE(做多趋势)+2*分水岭,COLORMAGENTA; 下跌:if(均价<分水岭,均价,分水岭),COLORGRAY; B:=(2*Ema(LLV(均价,7),10)-均价); 做空趋势:(3*B-2*SMA(B,10,1)),COLORgreen,linethick2; 阻力:=REVERSE(下跌)+2*分水岭; {波段赢家} 获利了结:EMA(EMA(EMA(HIGH,5),5),5)*1.15,ColorFFFFF
4、F,linethick1; 风险:EMA(EMA(EMA(HIGH,5),5),5)*1.1,COLORYELLOW; 回档:EMA(EMA(EMA(HIGH,5),5),5)*1.05,Color00FF00; 平衡:EMA(EMA(EMA(HIGH,5),5),5),ColorFF00FF,linethick1; 反弹:EMA(EMA(EMA(HIGH,5),5),5)*0.95,COLORGRAY,linethick1; 超跌:EMA(EMA(EMA(HIGH,5),5),5)*0.9,col
5、orblue,linethick1; {博弈资金} A:=v*100/capital; 主力:MA(A,4),COLORYELLOW,POINTDOT; 游资:MA(A,9),COLORGREEN,POINTDOT; 大户:MA(A,17),COLORRED,POINTDOT; 散户:MA(A,34),COLORF2E9E7,POINTDOT; 关注线:MA(A,180),COLORFF00FF,linethick2; STICKLINE(主力>0,0,主力,2,0),
6、COLORYELLOW; STICKLINE(游资>0,0,游资,2,0),COLORGREEN; STICKLINE(大户>0,0,大户,2,0),COLORRED; STICKLINE(散户>0,0,散户,2,0),COLORF2E9E7; {多空对比} 短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE; 中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW; 中长期:100*
7、(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA; 长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2; 20,POINTDOT; 50,POINTDOT; 80,POINTDOT; 多空对比2带买卖短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10
8、)),COLORYELLOW;中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA; 长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED;DRAWTEXT(短期<6AND长期<6,(20),'B2'),COLORFFFF