九毛八公式指标
大智慧主图指标 DRAWTEXTREL(15,10,''+STKLABEL+' '+STKNAME),LINETHICK6,Colorgray; DRAWGBKLAST(v>1,STRIP(RGB(50,50,50),RGB(10,10,10),0)); 持股线:hhv(ma(C,5),2),color00d500; 分离线:if(ma(C,5)<持股线,(ma(C,5)-(持股线-ma(C,5))),持股线),color80ffff,linethick2; MA18:ma(C,5),linethick2,colorFFFF55; 生命线:EMA(MA18,3),colorff8080; DRAWTEXT(CROSS(分离线,MA18) and CROSS(分离线,持股线),L-0.1,'上穿'); PARTLINE(MA18,MA18<=分离线,RGB(255,0,0)),linethick2; H1:=HHV(h,10)*0.95; DRAWTEXTABS(5,35,'10日最高='+NUMTOSTRN(HHV(h,10),2)+'元'),Color3300FF,LINETHICK1; DRAWTEXTABS(125,35,'10日最低='+NUMTOSTRN(LLV(L,10),2)+'元'),Color3300FF,LINETHICK1; DRAWTEXTABS(245,35,'止盈点='+NUMTOSTRN(H1,2)+'元'),Colorwhite,LINETHICK1; DRAWTEXTREL(325,25,'成交金额:'+DYNAINFO(10)/10000+'万'),LINETHICK4,colorred; 当日成交总量:=DYNAINFO(8); 成交总金额:=DYNAINFO(10)/10000; 主动卖盘:=DYNAINFO(22); 主动买盘:=DYNAINFO(23); DRAWTEXTABS(5,55,'日成交总量:'+NUMTOSTRN(当日成交总量,0)+'手'),colorFF00FF; DRAWTEXTABS(5,75,'日主动买入量:'+NUMTOSTRN(主动买盘,0)+'手'),colorFF00FF; DRAWTEXTABS(5,95,'日主动卖出量:'+NUMTOSTRN(主动卖盘,0)+'手'),colorFF00FF; DRAWTEXTABS(5,115,'日净:'+NUMTOSTRN(主动买盘-主动卖盘,0)+'手'),ColorFFFF00; VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,7,1),colorFFFF33; STICKLINE((VAR2 < MA(VAR3,6)),LOW,(MIN(OPEN,CLOSE) * 1.001),0.6,0),colorFFFF33; STICKLINE((VAR2 < MA(VAR3,6)),MAX(OPEN,CLOSE),HIGH,0.6,0),colorFFFF33; STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,7,1),color4440FF; STICKLINE((VAR2 > MA(VAR3,6)),HIGH,MAX(CLOSE,OPEN),0.6,0),color4440FF; STICKLINE((VAR2 > MA(VAR3,6)),LOW,(MIN(CLOSE,OPEN) * 1.001),0.8,0),color4440FF; STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998), (CLOSE * 1.0025),4.5,0),colorFFFF33; STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998), (OPEN * 1.0025),4.5,0),color4440FF; STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))), CLOSE,OPEN,7,0),colorFFFF33; DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.990),'B '),color4440FF,linethick2; DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.025),'S '),colorFFFF34,linethick2; A1:=MA(C,5)公式模块:
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); crOSS(VAR2,MA(VAR3,6)); {==========================} VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); CROSS(MA(VAR3,6),VAR1); {=========================} LC:=REF(CLOSE,1); JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; ☆小心:CROSS(84,JH);
-40>