最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 飞狐一主一副判断拐点 源码

    正文概述    2024-04-14 15:08:20  

    黑马主图
     均价:=(2*C+(H-L)/2+L+o)/4,COLORWHITE;
     价差:=SUM(均价-REF(均价,1),3)/3;
     实价:=均价+价差,COLORYELLOW;
     均价:=(2*C+(H-L)/2+L+o)/4,COLORWHITE;
     价差:=SUM(均价-REF(均价,1),3)/3;
     实价:=均价+价差,COLORYELLOW;
     GG:eMA(均价+价差,7),COLORWHITE;
     GM:=eMA(均价,7),COLORWHITE;
     PARTLINE(GM=GM,GM),COLORRED;
     FILLRGN(gg>GM,GG,gM),COLOR330099;
     FILLRGN(gg  DD:(ema(EMA(GG,7*2),6)+ema(EMA(GG,7*2),12)+EMA(EMA(GG,7*2),24)+EMA(EMA(GG,7*2),3))/4,COLORMAGENTA;
     DM:=(ema(EMA(GM,7*2),6)+ema(EMA(GM,7*2),12)+EMA(EMA(GM,7*2),24)+EMA(EMA(GM,7*2),3))/4,COLORMAGENTA;
     PARTLINE(DM=DM,DM),COLORGRAY;
     FILLRGN(DD>DM,DD,DM),COLORWHITE;
     FILLRGN(DD  
    黑马线:=EMA(-100*(HHV(实价,53)-(实价+均价)/2)/(HHV(实价,53)-LLV(均价,53)),6)+60,COLORRED,LINETHICK2;
     逼空线:REF(均价,BARSLAST(CROSS(黑马线,40))),COLORYELLOW,LINETHICK;
     PARTLINE(C>逼空线*0.9,逼空线),COLORYELLOW,CROSSDOt;
     起涨线:REF(均价,BARSLAST(CROSS(黑马线,20))),COLORRED,LINETHICK;
     PARTLINE(C>起涨线*0.8,起涨线),COLORRED,LINETHICK2,CROSSDOT;
     强弱线:REF(均价,BARSLAST(CROSS(黑马线,0))),COLORWHITE,LINETHICK;
     顶线:REF(均价,BARSLAST(CROSS(53,黑马线))),COLOR9900FF,COLORAAAA00,LINETHICK;
     底线:REF(均价,BARSLAST(CROSS(黑马线,-40))),COLORGREEN,LINETHICK;
     PARTLINE(C<底线*1.3,底线),COLORGREEN,CROSSDOT;
     PARTLINE(C>顶线*0.7,顶线),COLORAAAA00,CROSSDOT;
     PARTLINE(C<强弱线*1.3,强弱线),COLORWHITE,CROSSDOT;
     
    蝉副图
     均价:=(2*C+(H-L)/2+L+O)/4;
     p1:=if(STKTYPE=0,2,3);
     价差:=SUM(均价-REF(均价,1),p1)/p1;
     GG:=EMA(均价+价差,7),COLORWHITE;
     MM:=EMA(均价+价差,21),COLORRED;
     变盘线:=EMA(MM,52),COLOR9900FF;
     金线:=(ema(MM,3)+EMA(MM,6)+EMA(MM,12)+EMA(MM,24))/4,COLORYELLOW,LINETHICK2;
     庄线:=(ema(EMA(MM,63),3)+ema(EMA(MM,63),6)+EMA(EMA(MM,63),12)+EMA(EMA(MM,63),24))/4,COLOR0066FF,LINETHICK2;
     缠1:=(ABS(GG-MM))/if(GG>MM,MIN(GG,MM),MAX(GG,MM))*100;
     缠2:=(ABS(MM-金线))/if(金线>MM,MAX(金线,MM),MIN(金线,MM))*100;
     缠3:=(ABS(GG-金线))/if(金线>gg,MAX(金线,gg),MIN(金线,gg))*100;
     缠4:=(ABS(MM-庄线))/if(庄线>MM,MAX(庄线,mm),MIN(庄线,mm))*100;
     缠5:=(ABS(金线-庄线))/if(庄线>金线,MAX(庄线,金线),MIN(庄线,金线))*100;
     
    缠:(缠1+缠2+缠3+(缠2+缠4+缠5)/3)/4,COLORWHITE;
     M:MA(缠,3),COLOR00bb00;
     趋势:if(STKTYPE=0,MA((均价-庄线*0.333)/庄线*0.333,18)*50,MA((均价-庄线*0.333)/庄线*0.333,18)*100)/3,COLOR9900FF,LINETHICK2;
     PARTLINE(趋势  n:=IF(DATATYPE=5,36,IF(DATATYPE=6,18,IF(DATATYPE=7,9,72)));
     up:REF(HHV(缠,3*N),N/3),COLORRED;
     tP:REF(llV(缠,3*N),N/3),color9999FF;
     OP:(up+TP)/2,COLORYELLOW;
     FILLRGN(均价>金线 AND 缠>M,缠,M),COLOR330099;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐一主一副判断拐点 源码 加入收藏