AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
DRAWTEXT(CROSS(85,RSI1),80,'顶'),COLORGREEN;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE); {www.9m8.cn 九毛八公式指标网}
NOTEXT1:(VARB 20 AND VARC 25 AND VARD 50 AND AR 70 AND VOL*100 AAA AND AAA BBB AND BBB CCC)*30,LINETHICK2,COLORC87800;
NOTEXT2:=CROSS(85,RSI1)*30;
STICKLINE(NOTEXT2,1,60,3,0),COLORGREEN;
DRAWTEXT(CROSS(RSI1,25),-100,'抄底'),COLORRED;
主力监控:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,COLORMAGENTA,LINETHICK2;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,COLORBLUE ,LINETHICK2;
DRAWTEXT(CROSS(主力监控,散户) AND 主力监控 -10,-60,'涨'),COLORYELLOW;
DRAWICON(CROSS(主力监控,散户) AND 主力监控 -10 AND 散户 REF(散户,1) OR CROSS(主力监控,散户) AND 散户 -35 ,-15,14);
DRAWTEXT(CROSS(RSI1,20)AND 散户 -20 AND NOTEXT1 ,-60,'抄底'),COLORRED;
{行业 板块 地区 概念}
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,DYBLOCK),COLORRED;{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,0,GNBLOCK),COLORRED;{在屏幕左上角显示所属概念板块}
{彩色K线显示}
STICKLINE(C/REF(C,1) =1.097 AND H L,C,O,3,0),COLORMAGENTA;
STICKLINE(REF(C,1)/C =1.097 AND H L,C,O,3,0),COLORLIBLUE;
STICKLINE(H/REF(C,1) =1.097 AND H C,H,C,0,0),COLORMAGENTA;
STICKLINE(REF(C,1)/L =1.097 AND H L,C,L,0,0),COLORLIBLUE;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
AAA:=REF(VOL,1)*100;
BBB:=REF(VOL,2)*100;
CCC:=REF(VOL,3)*100;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
DRAWTEXT(CROSS(85,RSI1),H,'顶'),COLORGREEN;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
NOTEXT1:=(VARB 20 AND VARC 25 AND VARD 50 AND AR 70 AND VOL*100 AAA AND AAA BBB AND BBB CCC)*30,LINETHICK2,COLORC87800;
NOTEXT2:=CROSS(85,RSI1)*30;
DRAWTEXT(CROSS(RSI1,25),L*0.99,'抄底'),COLORYELLOW;
主力监控:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,COLORMAGENTA,LINETHICK2;
散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,COLORBLUE ,LINETHICK2;
DRAWTEXT(CROSS(RSI1,20)AND 散户 -20 AND NOTEXT1 ,L*0.99,'抄底'),COLORYELLOW;