大智慧趋势跟踪指标公式,大智慧L2短线超买超卖指标公式
admin888
|大智慧趋势跟踪指标公式,大智慧L2短线超买超卖指标公式
大智慧趋势跟踪指标公式
ma5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势:(A1+A2+A3+A4+A5+A6)/6*100,Color00FF00;
主升浪:趋势>=50,COLOR0000FF,POINTDOT,LINETHICK0;
↓:趋势<50,COLORFFFFFF,POINTDOT,LINETHICK0;
周期:IF(主升浪,BArslAst(cr(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,LINETHICK0;
临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,LINETHICK0;
WKQY:=BARSLAST(CROSS(50,趋势))
挖坑:BETWEEN(趋势,-1,50) and WKQY,COLOR00FFFF,POINTDOT,LINETHICK0;
{以下设置副图显示方式}FILLRGN(50,趋势,主升浪,RGB(250,0,0)),LAYER7;
FILLRGN(50,趋势,挖坑,RGB(250,250,0)),LAYER7;
STICKLINE(主升浪,周期*0.8,周期*0.95,6,0),COLOR0000FF;
STICKLINE(主升浪,周期*1.05,周期*1.2,6,0),COLOR0000FF;
VERTLINE(CROSS(主升浪,0.1),2),COLOR0000FF;
DRAWTEXT(临界,100,'S☆'),COLOR00FF00,ALIGN1;
0,COLORFFFFFF;50,COLOR00FFFF,DOTLINE;
{以下设置文字提示部分}DRAWTEXTREL(10,120,'股票名称:'+'【'+STKLABEL+' '+STKNAME+'】'),COLORFFFFFF;
DRAWTEXTREL(10,720,' ■只做主升,挖坑低吸!'),COLORFFFFFF;
DRAWTEXTREL(10,820,' ●临界不涨,逢高离场!'),COLOR00FFFF;
大智慧L2短线超买超卖指标公式
选取指标:wr(威廉指标)、kdj的D值、多空强弱rsi、bias(乖离率)、顺势指标cci。指标共性:常用,经典都存在超买超卖现象。指标取值;WR(13日值)、kdJ(9,3,3)、RSI(6日值)、BIAS(6日值)、CCI(14日值)。说明:指标取值均为短线周期值,利用各指标的超买超卖现象,提醒入市者操作。每个指标的超买超卖都使用同一种颜色,超买为(√),超卖为(×)。坐标左侧为超买、超卖值提示。坐标上正中为各指标当日数值提示,供参考。超卖出现时(√)越多,胜算越大,超买时,(×)越多,越大。红心黑板(大智慧L2)源码:顶部:30,linethick0,colorblack;
底部:0,linethick0,colorblack;
中轴:15,linethick0,colorblack;
REFLINE: 0,15,30;
LC:= REF(CLOSE,1);
RSI:SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100,linethick0,colorblue;
WR:100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)),linethick0,colorred;
BIAS:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,colorgreen,linethick0;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorwhite,linethick0;
RSV:=(c-LLV(l,9))/(HHV(h,9)-LLV(l,9))*100;
K:=SMA(RSV,3,1);
D:SMA(K,3,1),linethick0,colormagenta;
drawtextrel(5,10,'WR>80超卖'),linethick2,colorred;
drawtext(wr>80,29.8,'(√)'),linethick2,colorred,ALIGN1;
drawtextrel(5,100,'D<20超卖'),linethick2,colormagenta;
drawtext(D<20,27,'(√)'),linethick2,colormagenta,ALIGN1;
drawtextrel(5,200,'RSI<30超卖'),linethick2,colorblue;
drawtext(rsi<30,24,'(√)'),linethick2,colorblue,ALIGN1;
drawtextrel(5,300,'BIAS<-3超卖'),linethick2,colorgreen;
drawtext(bias<-3,21,'(√)'),linethick2,colorgreen,ALIGN1;
drawtextrel(5,400,'CCI<-200超卖'),linethick2,colorwhite;
drawtext(cci<-200,18,'(√)'),linethick2,colorwhite,ALIGN1;
drawtextrel(5,500,'CCI>200超买'),linethick2,colorwhite;
drawtext(CCI>200,15,'(×)'),linethick2,colorwhite,ALIGN1;
drawtextrel(5,600,'BIAS>3.5超买'),linethick2,colorgreen;
drawtext(bias>3.7,12,'(×)'),linethick2,colorgreen,ALIGN1;
drawtextrel(5,700,'RSI>70超买'),linethick2,colorblue;
drawtext(rsi>70,9,'(×)'),linethick2,colorblue,ALIGN1;
drawtextrel(5,800,'D>80超买'),linethick2,colormagenta;
drawtext(D>80,6,'(×)'),linethick2,colormagenta,ALIGN1;
drawtextrel(5,910,'WR<20超买'),linethick2,colorred;
drawtext(WR<20,3,'(×)'),linethick2,colorred,ALIGN1;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。