大智慧里的分时主图
2016-5-15 14:23:48点击:
N:1,200,50. 源码:a1:=INDEXC;
a2:=INDEXO;
a3:=DISPSTATUS=1;
a4:=BARSLAST(a3);
a5:=(REF(a1,a4))/(REF(CLOSE,a4));
a6:=IF(a3,CLOSE,(REF(CLOSE,a4)));
a7:=IF(a3,(a1/a5),(REF((a1/a5),a4)));
a8:=a6-a7;
a9:=a2/a5;
a10:=INDEXH/a5;
a11:=INDEXL/a5;
a12:=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));
a13:=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));
a14:=MA(CLOSE,10);
a15:=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))* 3))/10;
a16:=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))* 100;
a17:=(((2*CLOSE)+HIGH)+LOW)/4;
a18:=LLV(LOW,34);
a19:=HHV(HIGH,34);
a20:=EMA((((a17-a18)/(a19-a18))*100),6);
a21:=EMA(((0.667*(REF(a20,1)))+(0.333*a20)),4);
a22:=LLV(LOW,120);
a23:=HHV(HIGH,120);
a24:=a23-a22;
a25:=HHVBARS(CLOSE,N);
REF(CLOSE,a25),POINTDOT,COLORFF00FF;
突破:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*1.001)))AND(REF((a25>= 5),1))),10),POINTDOT,linethick0;
STICKLINE(突破,(CLOSE*0.99),CLOSE,5,0),ColorF600A9;
DRAWTEXT((((SUM((突破>0),0))=1)AND 突破),(CLOSE*0.99),'最佳买点'),colorWhite;
DRAWTEXT((((SUM((突破>0),0))=2)AND 突破),(CLOSE*0.99),'次佳买点'),colorWhite;
DRAWTEXT((((SUM((突破>0),0))=3)AND 突破),(CLOSE*0.99),'理想买点'),colorWhite;
DRAWTEXT((((SUM((突破> 0),0))=4)AND 突破),(CLOSE * 0.99),'及格买点'),colorWhite;
DRAWTEXT((((SUM((突破> 0),0))>=5) AND 突破),(CLOSE * 0.99),'突破'),colorWhite;
a2:=INDEXO;
a3:=DISPSTATUS=1;
a4:=BARSLAST(a3);
a5:=(REF(a1,a4))/(REF(CLOSE,a4));
a6:=IF(a3,CLOSE,(REF(CLOSE,a4)));
a7:=IF(a3,(a1/a5),(REF((a1/a5),a4)));
a8:=a6-a7;
a9:=a2/a5;
a10:=INDEXH/a5;
a11:=INDEXL/a5;
a12:=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));
a13:=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));
a14:=MA(CLOSE,10);
a15:=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))* 3))/10;
a16:=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))* 100;
a17:=(((2*CLOSE)+HIGH)+LOW)/4;
a18:=LLV(LOW,34);
a19:=HHV(HIGH,34);
a20:=EMA((((a17-a18)/(a19-a18))*100),6);
a21:=EMA(((0.667*(REF(a20,1)))+(0.333*a20)),4);
a22:=LLV(LOW,120);
a23:=HHV(HIGH,120);
a24:=a23-a22;
a25:=HHVBARS(CLOSE,N);
REF(CLOSE,a25),POINTDOT,COLORFF00FF;
突破:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*1.001)))AND(REF((a25>= 5),1))),10),POINTDOT,linethick0;
STICKLINE(突破,(CLOSE*0.99),CLOSE,5,0),ColorF600A9;
DRAWTEXT((((SUM((突破>0),0))=1)AND 突破),(CLOSE*0.99),'最佳买点'),colorWhite;
DRAWTEXT((((SUM((突破>0),0))=2)AND 突破),(CLOSE*0.99),'次佳买点'),colorWhite;
DRAWTEXT((((SUM((突破>0),0))=3)AND 突破),(CLOSE*0.99),'理想买点'),colorWhite;
DRAWTEXT((((SUM((突破> 0),0))=4)AND 突破),(CLOSE * 0.99),'及格买点'),colorWhite;
DRAWTEXT((((SUM((突破> 0),0))>=5) AND 突破),(CLOSE * 0.99),'突破'),colorWhite;
- 上一篇:二狗吃伟哥,卖风骚。 2016/5/15
- 下一篇:通达信真正有效的去除ST和停牌股票代码 2016/5/15