您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 人事档案/员工关系 > 四、人员素质测评授课(助学班)
【大智慧】数字主图(预测、明日支撑、撑压位)-指标公式源码预测1:=(C+H+L)/3;预测2:=H-L;预测4:=预测1+预测2;预测5:=预测1-预测2;预测6:=2*预测1-L;预测7:=2*预测1-H;预测9:=BARSTATUS=2;STICKLINE(预测90AND预测6REF(C,1),预测4,预测5,1,1000),COLOR102070,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测4,预测5,0,1000),COLOR1020E0,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,8,1000),COLOR102070,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,7,1000),COLOR102080,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,6,1000),COLOR102090,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,5,1000),COLOR1020A0,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,4,1000),COLOR1020B0,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,3,1000),COLOR1020C0,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,2,1000),COLOR1020D0,LINETHICK2;STICKLINE(预测90AND预测6REF(C,1),预测6,预测7,1,1000),COLOR1020E0,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测4,预测5,1,1000),COLOR105510,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测4,预测5,0,1000),COLOR10CC10,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,8,1000),COLOR105510,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,7,1000),COLOR106610,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,6,1000),COLOR107710,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,5,1000),COLOR108810,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,4,1000),COLOR109910,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,3,1000),COLOR10AA10,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,2,1000),COLOR10BB10,LINETHICK2;STICKLINE(预测90AND预测6=REF(C,1),预测6,预测7,1,1000),COLOR10CC10,LINETHICK2;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力,1);今日支撑:=REF(明日支撑,1);STICKLINE(DISPSTATUS=2andc=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2andc今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2andc=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2andc今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;DRAWTEXTREL(406,117,'---------------------------------------'),ColorFFFFFF;IFBARSTATUS=2andc=今日支撑THENDRAWTEXTREL(408,147,'今日支撑:'+NUMTOSTRN(今日支撑,2)),colorred;IFBARSTATUS=2andc今日支撑THENDRAWTEXTREL(408,147,'今日支撑:'+NUMTOSTRN(今日支撑,2)),colorred;IFBARSTATUS=2andc=今日阻力THENDRAWTEXTREL(408,187,'今日阻力:'+NUMTOSTRN(今日阻力,2)),Color0000FF;IFBARSTATUS=2andc今日阻力THENDRAWTEXTREL(408,187,'今日阻力:'+NUMTOSTRN(今日阻力,2)),Color00FF00;IFBARSTATUS=2andc=明日支撑THENDRAWTEXTREL(510,147,'明日支撑:'+NUMTOSTRN(明日支撑,2)),Color00FFFF;IFBARSTATUS=2andc明日阻力THENDRAWTEXTREL(510,187,'明日阻力:'+NUMTOSTRN(明日阻力,2)),Color00FFFF;DRAWTEXTREL(406,217,'===================='),ColorFFFFFF;下档线:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100);aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3*aRSV)-(2*aK));aJ12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100);aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3*aRSV24)-(2*aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD))));底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF;DRAWTEXT(BARSTATUS=2,撑压位,'撑压'),COLORFFFFFF,VALIGN1;STICKLINE(BARSTATUS=2,底,底,30,1),COLOR00FF00,LINETHICK1;DRAWTEXT(BARSTATUS=2,底,'底线'),COLOR00FF00,VALIGN0;AA05:MA(C,5),colorff00ff,linethick1;五日乖离率:=(c-AA05)/AA05*100;BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);加速度5:ema((速度5-ref(速度5,1)),3),linethick0;{STICKLINE(BB0530andAA05ref(AA05,1),AA05,REF(AA05,1),8,1),colorff00ff;}AA10:MA(C,10),coloryellow;AA20:=MA(c,20);BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;{STICKLINE(BB050andAA05ref(AA05,1),AA05,REF(AA05,1),3,1),colorcyan;}AA30:MA(C,30),colorwhite;三拾日乖离率:(c-AA30)/AA30*100,linethick0;Var1:=(AA20-AA30)ref((AA20-AA30),1)andAA20ref(aa20,1)andAA30ref(AA30,1);Var2:=(AA30-AA20)ref((AA30-AA20),1)andAA20ref(aa20,1)andAA30ref(AA30,1);BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;{STICKLINE(BB3015andAA30ref(AA30,1),AA30,REF(AA30,1),8,1),colorff00ff;}强势狙击:=filter(BB3030andBB1045andcross(BB05,60),10);加仓:=filter(count(cross(BB05,30),5)=1andAA05ref(aa05,1)and三拾日乖离率ref(三拾日乖离率,1)andAA10ref(AA10,1)and加速度5ref(加速度5,1)and速度5ref(速度5,1),10);清仓:=filter(count(cross(30,BB05),5)=1and(cAA30orOAA30)andAA05ref(aa05,1)and三拾日乖离率ref(三拾日乖离率,1)andAA10ref(AA10,1),10);drawtext(加仓,low*0.98,'←加仓'),colorred;JC:=cross(0,五日乖离率)and三拾日乖离率ref(三拾日乖离率,1)andAA10ref(AA10,1);减仓:=filter(JC,10);MR:=count(cross(五日乖离率,0),3)=1and三拾日乖离率ref(三拾日乖离率,1)andAA05ref(AA05,1)and(c/ref(c,1)-1)*1005andref(c,1)AA30;买入:=filter(MR,10);drawtext(减仓,high*1.02,'←减仓'),colorcyan;drawtext(买入,low*0.98,'←买入'),coloryellow;drawtext(强势狙击,LOW*0.98,'←强势狙击'),coloryellow;Var21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));Var3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(Var21+Var3)/AMOUNT*VOL*100*50;DRAWTEXT(MV6andl=llv(l,10),l*0.96,'←异动'),colorcyan;aa:=if(c=ref(c,3),1,0);bb:=if(c=ref(c,5),1,0);cc:=if(c=ref(c,7),1,0);dd:=if(c=ref(c,8),1,0);ee:=if(c=ref(c,13),1,0);ff:=if(c=ref(c,21),1,0);gz2:=aa+bb+cc+dd+ee+ff;Var11:=EMA(CLOSE,3)-EMA(CLOSE,
本文标题:四、人员素质测评授课(助学班)
链接地址:https://www.777doc.com/doc-1027885 .html