均价:=(2*C+(H-L)/2+L+O)/4;
操盘线:EMA((EMA(均价,3)*7+EMA(均价,7)*3)/10,1),COLOR9900FF;
MA7:=(7*均价+6*REF(均价,1)+5*REF(均价,2)+4*REF(均价,3)+3*REF(均价,4)+2*REF(均价,5)+1*REF(均价,6))/28;
七妹:EMA(MA7,1),COLORWHITE;
JGX:=(13*均价+12*REF(均价,1)+11*REF(均价,2)+10*REF(均价,3)+9*REF(均价,4)+8*REF(均价,5)+
7*REF(均价,6)+ 6*REF(均价,7)+5*REF(均价,8)+4*REF(均价,9)+3*REF(均价,10)+2*REF(均价,11)+
1*REF(均价,12))/(13+12+11+10+9+8+7+6+5+4+3+2+1);
决策线:EMA(JGX,1),COLORRED,LINETHICK2;
黄金线:((EMA(JGX,89)+EMA(JGX,13))/2+EMA(JGX,13))/2,COLORYELLOW,LINETHICK2;
启动:1.0955*黄金线,COLORYELLOW,POINTDOT,LINETHICK3;
天王:1.191*黄金线,COLOR9900FF,LINETHICK1;
关注:0.9045*黄金线,COLORYELLOW,POINTDOT,LINETHICK3;
地王:0.809*黄金线,COLOR9900FF,LINETHICK1;
PARTLINE(天王,C>0),DOTLINE,COLORWHITE;
PARTLINE(地王,C>0),DOTLINE,COLORWHITE;
疯牛:黄金线*1.2865,LINETHICK0;
极地:黄金线*0.7135,LINETHICK0;
PARTLINE(疯牛,C>疯牛),COLORWHITE,LINETHICK2,CIRCLEDOT;
PARTLINE(极地,C<极地),COLORWHITE,LINETHICK2,CIRCLEDOT;
PARTLINE(操盘线,操盘线>=七妹),COLOR9900FF,LINETHICK2;
PARTLINE(操盘线,操盘线<七妹),COLOR00bb00,LINETHICK2;
合:=2*EMA(LLV(均价,7),10)-均价;
空线:=3*合-2*SMA(合,10,1)*1;
x1:=REF(C,1);
x2:=SMA(MAX(C-x1,0),6,1)/SMA(ABS(C-x1),6,1)*100;
x3:=((3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-
2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1)-50)*1.032+50);
x4:=(x2+x3)/2;
多线:=c+(x4/50-1)*(ma(c,30)/20)*3;
PARTLINE(决策线,多线<空线),ColorFFAA00,LINETHICK2;
PARTLINE(决策线,多线>空线 AND 多线<决策线),color18A4FF,LINETHICK2;