更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
请老师帮忙写今天预测量大于昨天量50%代码input:m1(5),m2(10),m3(20);VOL,VOLSTICK;MA5:MA(VOL,M1);MA10:MA(VOL,M2);MA20:MA(VOL,M3);交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);预测量1:=IF(BARSTATUS=2,VOL/交易分钟数*240,VOL);预测量:if(DYNAINFO(4)=0,v,预测量1),COLOR00FFFF,LINETHICK0;STICKLINE(BARSTATUS=2,0,预测量,8,1),COLOR00FFFF,DOTLINE,LAYER7;DRAWICON(cross(ma5,ma10) AND cross(ma5,ma20),ma5,7),LAYER0;PD:=bigorder(1,1)=0 and bigorder(2,1)=0;ZLLR:=IF(PD,extdata(16),bigorder(1,2));ZLLC:=IF(PD,extdata(17),bigorder(2,2));ZLJL:=(ZLLR-ZLLC);DDX:=ZLJL*vol/capital*100;高价:=HHV(H,20);今天最高价:=HHV(H,1);天量:HHV(V,30),COLOR00FF00,linethick0;N日地量:=IF(V=LLV(V,30),V,REF(V,BARSLAST(V=LLV(V,30))));地量:REF(N日地量,1),colorred,linethick0;价:=(高价=今天最高价) or REF(今天最高价,1)=高价;D:=DDX<0 OR DDX>2;STICKLINE(ZLLR>ZLLC,0,ZLLR*v,6,4),colorred;STICKLINE(ZLLC>ZLLR,0,ZLLC*v,6,4),COLOR00FF00;特买股:=extdata(1);特卖股:=extdata(2);大买股:=extdata(3);大卖股:=extdata(4);主买手:=特买股+大买股;主卖手:=特卖股+大卖股;STICKLINE(主买手>主卖手,0,主买手,6,4),COLOR00FFFF;STICKLINE(主卖手>主买手,0,主卖手,6,4),COLORff9900;drawtext(天量=预测量 and 高价=今天最高价 and D and sum(DDX,3)<0,天量,'天'),COLOR00FF00;drawtext(地量>预测量 and sum(DDX,3)>0 ,地量,'地'),COLOR00FFFF;drawtext(REF(V,1)=地量 and DDX>0 and sum(DDX,3)>0,预测量,'升'),COLOR00FFFF;drawtext(REF(V,1)=天量 and 价 and 预测量<天量 and D ,V,'跌'),COLORff00ff;DRAWTEXTABS(0,0,'红主力总买 绿主力总卖 黄主力主动买 蓝主力主动卖'),COLORff00ff;
解答:
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
选股票看什么指标最好 >股票指标网
精彩评论