STICKLINE(OPEN>=CLOSE ,HIGH ,LOW,0.1,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,HIGH ,LOW,0.1,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFBBFF;
VAR4:=(LOW+HIGH+CLOSE)/3;
操作: MA(VAR4,5);
拉升: HHV(操作,13);
压力: HHV(操作,60);
买卖: LLV(操作,13);
底部支撑: LLV(LOW,60)*1.02;
顶部: HHV(HIGH,60)*0.98,COLORCYAN;
YDD:='==yungkuang==';
DRAWTEXT(DISPSTATUS=2=BARSCOUNT(CLOSE),CLOSE,YDD),ALIGN2,color00FF00;
DRAWFLAGTEXT(CLOSE,C,'【买卖点决策系统提示】'),color0000FF;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
DRAWFLAGTEXT(MA5>REF(MA5,1)*1.01,C,'5日均线:强劲向上'),color00FFFF;
DRAWFLAGTEXT(MA5>REF(MA5,1),C,'5日均线:向上'),color0000FF;
DRAWFLAGTEXT(MA5=REF(MA5,1),C,'5日均线:持平'),colorFF0000;
DRAWFLAGTEXT(MA5<REF(MA5,1)*0.985,C,'5日均线:快速向下'),colorFFFFFF;
DRAWFLAGTEXT(MA5<REF(MA5,1),C,'5日均线:向下'),colorFFFF00;
DRAWFLAGTEXT(MA10>REF(MA10,1),C,'10日均线:向上'),color0000FF;
DRAWFLAGTEXT(MA10<REF(MA10,1),C,'10日均线:向下'),colorFFFF00;
DRAWFLAGTEXT(MA10=REF(MA10,1),C,'10日均线:持平'),colorFF0000;
DRAWFLAGTEXT(MA20>REF(MA20,1),C,'20日均线:向上'),color0000FF;
DRAWFLAGTEXT(MA20<REF(MA20,1),C,'20日均线:向下'),colorFFFF00;
DRAWFLAGTEXT(MA20=REF(MA20,1),C,'20日均线:持平'),colorFF0000;
DRAWFLAGTEXT(MA60>REF(MA60,1),C,'60日均线:向上'),color0000FF;
DRAWFLAGTEXT(MA60<REF(MA60,1),C,'60日均线:向下'),colorFFFF00;
DRAWFLAGTEXT(MA60=REF(MA60,1),C,'60日均线:持平'),colorFF0000;
ld:=ma(v/(h-l),4);
dmp:=abs(c-o);
dmm:=v/(h-l);
DRAWFLAGTEXT(dmm<ld and dmp<ma(dmp,4),C,'资金无入场意愿,萎缩中'),colorffff00;
DRAWFLAGTEXT(dmm<ld and dmp>ma(dmp,4),C,'场内资金有运作行为'),colorffff00;
DRAWFLAGTEXT(dmm>ld and dmp<ma(dmp,4),C,'多空双方激烈争夺中');
DRAWFLAGTEXT(dmm>ld and dmp>ma(dmp,4),C,'场外资金介入(或出局)意愿强烈');
pdi:=sum(max(max(h-l,abs(h-ref(c,1))),abs(l-ref(c,1))),14);
mdi:=h-ref(h,1);
adx:=ref(l,1)-l;
adxr:=sum(if(mdi>0 and mdi>adx,mdi,0),14);
typ:=sum(if(adx>0 and adx>mdi,adx,0),14);
cci:=adxr*100/pdi;
wr:=typ*100/pdi;
mtm:=ma(abs(wr-cci)/(wr+cci)*100,6);
mtmma:=(mtm+ref(mtm,6))/2;
DRAWFLAGTEXT(cross(cci,wr),C,'PDI线从下向上突破MDI线,显示有新多头进场,为买进信号');
DRAWFLAGTEXT(cross(wr,cci),C,'PDI线从上向下跌破MDI线,显示有新空头进场,为卖出信号');
DRAWFLAGTEXT(mtm>ref(mtm,1),C,'ADX值持续高于前一日,行情将维持原趋势'),colorffff00;
DRAWFLAGTEXT(mtm<ref(mtm,1) and mtm<20,C,'ADX值递减,降到20以下,且横向行进时,市场气氛为盘整');
DRAWFLAGTEXT(mtm<ref(mtm,1) and ref(mtm,1)<ref(mtm,2) and ref(mtm,2)>ref(mtm,3) and ref(mtm,3)>ref(mtm,4),C,'ADX值从上升倾向转为下降时,表明行情即将反转');
lc:=(h+l+c)/3;
rsi1:=(lc-ma(lc,14))/0.015*avedev(lc,14);
DRAWFLAGTEXT(rsi1<-180,C,'CCI指标底位,买入机会');
DRAWFLAGTEXT(rsi1>180,C,'CCI指标高位,卖出机会');
DRAWFLAGTEXT(v/capital>0.075,C,'换手过大,小心主力出逃,短期头部'),colorffff00;
rsi2:=-(100*(hhv(h,14)-c)/(hhv(h,14)-llv(l,14)));
DRAWFLAGTEXT(rsi2>-20,C,'W&R超买,短线即将见顶,应及时卖出'),colorffff00;
DRAWFLAGTEXT(rsi2<-80,C,'W&R超卖,短线即将见底,应伺机买进'),colorffff00;
psy:=c-ref(c,6);
布林1:=ma(psy,6);
DRAWFLAGTEXT(cross(psy,布林1) and 布林1<-0.8,C,'MTM从下向上突破MTMMA,买入信号');
DRAWFLAGTEXT(cross(布林1,psy) and 布林1>0.8,C,'MTM从上向下跌破MTMMA,卖出信号');
布林2:=ref(c,1);
布林3:=sma(max(c-布林2,0),6,1)/sma(abs(c-布林2),6,1)*100;
布林4:=sma(max(c-布林2,0),12,1)/sma(abs(c-布林2),12,1)*100;
DRAWFLAGTEXT(布林3>85,C,'6日RSI超买,防止回挡'),colorffff00;
DRAWFLAGTEXT(布林3>80,C,'6日RSI向上突破85,超买,考虑卖出'),colorffff00;
DRAWFLAGTEXT(布林3<15,C,'6日RSI超卖,随时有可能反弹'),colorffff00;
DRAWFLAGTEXT(布林3<15,C,'6日RSI向下跌破15,超卖,考虑买入');
DRAWFLAGTEXT(cross(布林3,15),C,'6日RSI向上突破15,买进信号');
DRAWFLAGTEXT(cross(布林3,85),C,'6日RSI向下跌破85,卖出信号');
布林5:=count(c>ref(c,1),12)/12*100;
布林6:=(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4;
布林7:=布林6+3*std(布林6,10);
xx:=布林6-3*std(布林6,10);
a001:=(布林7-xx)/布林7<0.03;
a002:=(布林7-xx)/布林7>0.18;
a003:=(ma(c,60)-ma(c,5))/ma(c,60)>0.15;
a004:=(ma(c,5)-ma(c,60))/ma(c,5)>0.15;
DRAWFLAGTEXT(a001,C,'多空布林收敛中,有变盘的可能,上下自己分析'),colorffff00;
DRAWFLAGTEXT(a003 and a002 and c>o,C,'布林上下乖离太大,有反弹的可能');
DRAWFLAGTEXT(a004 and a002 and c<o,C,'布林上下乖离太大,有回落的可能');
DRAWFLAGTEXT(h>=hhv(h,20),C,'创20天新高'),colorffff00;
DRAWTEXTABS(30,5,BKNAME );
DRAWTEXTABS(30,20,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' ),COLORYELLOW;
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWTEXTABS(2,5,'常用'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'指标'),colorFFFFFF,LINETHICK1;
DRAWRECTREL(0,80,200,650,rgb(128,0,0));
五日换手率:=sum(100*v/capital,5);
DRAWTEXTABS(5,45,' 5日换手率: '+NUMTOSTRN(五日换手率,2)+'%'),ColorFFFFFC,LINETHICK1;
十日换手率:=SUM(VOL,10)*100/CAPITAL;
DRAWTEXTABS(5,65,' 10日换手率: '+NUMTOSTRN(十日换手率,2)+'%'),ColorFFFFFC,LINETHICK1;
廿日换手率:=SUM(VOL,20)*100/CAPITAL;
DRAWTEXTABS(5,85,' 20日换手率: '+NUMTOSTRN(廿日换手率,2)+'%'),ColorFFFFFC,LINETHICK1;
百日换手率:=SUM(VOL,100)*100/CAPITAL;
DRAWTEXTABS(5,105,'100日换手率: '+NUMTOSTRN(百日换手率,2)+'%'),ColorFFFFFC,LINETHICK1;
DRAWTEXTABS(10,150,'¤╭⌒╮ ╭⌒╮ '),ColorFFFFFF;
DRAWTEXTABS(10,170,'╱◥███◣ ╭╭ ⌒╮ '),ColorC0C0C0;
DRAWTEXTABS(10,185,'︱田︱田田︱ ╰------'),Color0000FF;
DRAWTEXTABS(10,200,'╬╬╬╬╬╬╬╬╬╬╬'),Color0080FF;
DRAWTEXTABS(10,220,' ≈≈ ≈≈≈≈≈≈≈');
DRAWTEXTABS(10,230,' ≈≈ ≈≈≈≈≈');
DRAWTEXTABS(10,240,' ≈ ≈≈≈');
分析家公式网 http://www.fxjgsw.com 整理
最新最大股票公式,股票软件下载网站。 |