资源描述:
《【股票指标公式下载】-【通达信】蓝卖红买(安全、操作、买进)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、【通达信】蓝卖红买(安全、操作、买进)-指标公式源码BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;A7:=(2*C+H+L)/4;操作:MA(A7,5),LI
2、NETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;VAR1:LLV(A7,21);VAR2:HHV(A7,21);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE[6/10ANDVOL>=1.5*MA(VOL,5)ANDCOUNT(SK>=SD,3)ANDREF(LOW,1)=L]
3、LV(LOW,120),1,0),LOW*0.98,'买进'),COLOR0099FF;DRAWTEXT(IF(COUNT(CLOSE[6/10ANDCOUNT(SK>SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE>=OPEN,4)ANDREF(CLOSE>OPEN,3)ANDREF(CLOSE>OPEN,2)ANDREF(OPEN>CLOSE,1)ANDOPEN>REF(CLOSE,1),1,0),LOW*0.98,'买进'),COLORYELLOW;{蓝卖红买]
4、}MA5:MA(CLOSE,5),COLORFFFFFF;MA13:MA(CLOSE,13),COLOR00FF00;MA21:MA(CLOSE,21),COLOR00FFFF;MA34:MA(CLOSE,34),COLORFF00FF;{MA55:MA(CLOSE,55),COLOR0000FF;}{MA120:=MA(CLOSE,120),COLORFFFF00;}天使:=EMA(C,2),COLOR000000,LINETHICK4;魔鬼:=EMA(SLOPE(C,21)*20+C,42),COLOR000000,LINETHICK4;
5、买:=CROSS(天使,魔鬼);卖:=CROSS(魔鬼,天使);DRAWICON(买,L*0.97,1);DRAWTEXT(买,L*0.95,'进'),COLORYELLOW,LINETHICK4;DRAWICON(卖,H*1.03,2);DRAWTEXT(卖,H*1.05,'撤'),COLORWHITE,LINETHICK4;STICKLINE(天使>=魔鬼,LOW,HIGH,0.01,0),COLOR0000DD,LINETHICK4;STICKLINE(天使>=魔鬼,CLOSE,OPEN,2,1),COLORRED,LINETHICK4
6、;{STICKLINE(天使>=魔鬼,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(天使>=魔鬼,CLOSE,OPEN,2,0),COLOR0000DD;STICKLINE(天使>=魔鬼,CLOSE,OPEN,1,0),COLOR0000FF;}{STICKLINE(天使<魔鬼,CLOSE,OPEN,1,0),COLOREEEE00;STICKLINE(天使<魔鬼,CLOSE,OPEN,2,0),COLORDDDD00;STICKLINE(天使<魔鬼,CLOSE,OPEN,3,0),COLORCCCC00;}ST
7、ICKLINE(天使<魔鬼,LOW,HIGH,0.01,0),COLORFFDD00,LINETHICK4;STICKLINE(天使<魔鬼,CLOSE,OPEN,2,0),COLORFFFF00,LINETHICK4;STICKLINE(CROSS(天使,魔鬼),OPEN,CLOSE,2.5,0),COLORYELLOW,LINETHICK4;STICKLINE(CROSS(魔鬼,天使),OPEN,CLOSE,2.5,0),COLORWHITE,LINETHICK4;【通达信】蓝卖红买(安全、操作、买进)-指标公式效果图下载次数:02010-
8、12-1111:43下载(65.59KB)2010-12-1111:41(文档来源:若水财经社区)