资源描述:
《通达信平台突破主图指标公式.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、.通达信平台突破主图指标公式DRAWGBK(OPEN>0,RGB(33,47,58),RGB(0,0,0),0,'02',0);{标缺口}LL:=REF(L,1);HH:=REF(H,1);上跳:=L>HH;下跳:=H<LL;STICKLINE(L>REF(H,1),L,REF(H,1),3.1,-1),COLORRED;STICKLINE(REF(L,1)>H,REF(L,1),H,3.1,-1),COLORGREEN;{K线}A19:=1;{灰色}STICKLINE((OPEN&
2、gt;=(CLOSE*A19)),HIGH,LOW,0,0),COLOR909090;..STICKLINE((OPEN>=(CLOSE*A19)),CLOSE,OPEN,3.1,0),COLOR606060;STICKLINE((OPEN>=(CLOSE*A19)),CLOSE,OPEN,2.1,0),COLOR707070;STICKLINE((OPEN>=(CLOSE*A19)),CLOSE,OPEN,1.2,0),COLOR808080;STICKLINE((OPEN>=(CLOS
3、E*A19)),CLOSE,OPEN,0.2,0),COLOR909090;STICKLINE((OPEN<=(CLOSE*A19)),HIGH,LOW,0,0),COLOR666B6F;STICKLINE((CLOSE>(OPEN*A19)),CLOSE,OPEN,3.1,1),COLOR666B6F;{涨停-红色}ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF>9.5,C,O,3.1,0),COLOR0000CC;..STICKLINE(ZDF>
4、;9.5,C,O,2.1,0),COLOR0000DD;STICKLINE(ZDF>9.5,C,O,1.2,0),COLOR0000EE;STICKLINE(ZDF>9.5,C,O,0.2,0),COLOR0000FF;STICKLINE(ZDF>9.5,HIGH,LOW,0,0),COLOR0000FF;{跌停-绿色}STICKLINE(ZDF<-9.9,O,C,3.1,0),COLOR66CC66;STICKLINE(ZDF<-9.9,O,C,2.1,0),COLOR77DD77
5、;STICKLINE(ZDF<-9.9,O,C,1.2,0),COLOR88EE88;STICKLINE(ZDF<-9.9,O,C,0.2,0),COLOR99FF99;STICKLINE(ZDF<-9.9,HIGH,LOW,0,0),COLOR99FF99;{ST或非ST涨跌停}..{ST涨停-红色}STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF>=4.945ANDC=H,O,C,3.1,0),COLOR0000CC;STICKLINE((N
6、AMELIKE('S')ORNAMELIKE('*'))ANDZDF>=4.945ANDC=H,O,C,2.1,0),COLOR0000DD;STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF>=4.945ANDC=H,O,C,1.2,0),COLOR0000EE;STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF>=4.945ANDC=H,O,C,0.2,0),COLOR0000FF;STICKLINE((NA
7、MELIKE('S')ORNAMELIKE('*'))ANDZDF>=4.945ANDC=H,HIGH,LOW,0,0),COLOR0000FF;{ST跌停-绿色}STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF<=-4.945ANDC=C,O,C,3.1,0),COLOR66CC66;..STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF<=-4.945ANDC=C,O,C,2.1,0),COLOR77DD7
8、7;STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF<=-4.945ANDC=C,O,C,1.2,0),COLOR88EE88;STICKLINE((NAMELIKE('S')ORNAMELIKE('*'))ANDZDF<=-4.945ANDC=C,O,C,0.2,0),COLOR99FF99;STICKLINE((