{四红金主轮主图源码如下}
量化突破82:=MAX(MA(C,5),MA(C,10));
量化突破19:=MIN(MA(C,5),MA(C,10));
量化突破22:C>量化突破82,COLORRED;
量化突破34:C<量化突破19,COLORGREEN;
STICKLINE(C>量化突破82,3.3,4,8,1),COLORRED,LINETHICK2;
STICKLINE(C<量化突破19,3.3,4,8,1),COLORGREEN,LINETHICK2;
STICKLINE(C>=量化突破19 AND C<=量化突破82,3.3,4,8,1),COLORGREEN,LINETHICK2;
量化突破80:=MAX(MA(C,10),MA(C,20));
量化突破36:=MIN(MA(C,10),MA(C,20));
量化突破26:C>量化突破80,COLORRED;
量化突破54:C<量化突破36,COLORGREEN;
STICKLINE(C>量化突破80,2.3,3,8,1),COLORRED,LINETHICK2;
STICKLINE(C<量化突破36,2.3,3,8,1),COLORGREEN,LINETHICK2;
STICKLINE(C>=量化突破36 AND C<=量化突破80,2.3,3,8,1),COLORGREEN,LINETHICK2;
量化突破3:=MAX(MA(C,20),MA(C,28));
量化突破32:=MIN(MA(C,20),MA(C,28));
量化突破64:C>量化突破3,COLORRED;
量化突破24:C<量化突破32,COLORGREEN;
STICKLINE(C>量化突破3,1.3,2,8,1),COLORRED,LINETHICK2;
STICKLINE(C<量化突破32,1.3,2,8,1),COLORGREEN,LINETHICK2;
STICKLINE(C>=量化突破32 AND C<=量化突破3,1.3,2,8,1),COLORGREEN,LINETHICK2;
量化突破17:=MAX(MA(C,60),MA(C,120));
量化突破79:=MIN(MA(C,60),MA(C,120));
量化突破39:C>量化突破17,COLORRED;
量化突破66:C<量化突破79,COLORGREEN;
STICKLINE(C>量化突破17,0,1,8,1),COLORRED,LINETHICK2;
STICKLINE(C<量化突破79,0,1,8,1),COLORGREEN,LINETHICK2;
STICKLINE(C>=量化突破79 AND C<=量化突破17,0,1,8,1),COLORGREEN,LINETHICK2;
{四红金主轮副图源码如下}
金牛突破1:=EMA(EMA(EMA(C,5),8),13);
金牛突破2:=((金牛突破1-REF(金牛突破1,1))/REF(金牛突破1,1))*618;
金牛突破3:=MA(金牛突破2,8);
金牛突破4:=金牛突破2-金牛突破3;
金牛突破5:=SMA(金牛突破4,3,1);
擒牛:WMA(EXPMA(((3*C)+(2*O)+H+L)/7,3),3),DOTLINE;
捉妖:IF(1,SMA(擒牛,8,1),DRAWNULL),COLORGREEN,LINETHICK2;
IF(金牛突破2>=金牛突破3,捉妖,DRAWNULL),COLORRED,LINETHICK2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
共振擒牛:=MACD>0;
AA:=C>IF(金牛突破2>=金牛突破3,擒牛,DRAWNULL) AND 共振擒牛;
金叉捉牛:=BARSLAST(金牛突破4>=REF(金牛突破4,1));
金牛突破D:=BARSLAST(金牛突破4<=REF(金牛突破4,1));
STICKLINE(金叉捉牛=0,H,L,0,0),COLOR0000FF;
STICKLINE(金叉捉牛=0,C,O,-1,0),COLOR001235;
STICKLINE(金叉捉牛=0,CLOSE,O,2.73,0),COLOR002266;
STICKLINE(金叉捉牛=0,C,O,2.28,0),COLOR003378;
STICKLINE(金叉捉牛=0,C,O,1.83,0),COLOR004499;
STICKLINE(金叉捉牛=0,C,O,1.38,0),COLOR0055AA;
STICKLINE(金叉捉牛=0,C,O,1.03,0),COLOR0066BC;
STICKLINE(金叉捉牛=0,C,O,0.68,0),COLOR0077CD;
STICKLINE(金叉捉牛=0,C,O,0.38,0),COLOR0088EE;
STICKLINE(金叉捉牛=0,C,O,0.13,0),COLOR0099FF;
金线擒牛:=BARSLASTCOUNT(金叉捉牛=0 AND AA)=1;
金线擒牛1:=BARSLASTCOUNT(金叉捉牛=0 )=1;
DRAWTEXT_FIX(1,0.60,0.75,0,' '),COLORYELLOW;
DRAWICON(金线擒牛1,L*1.0,1);
DRAWICON(金线擒牛,L*1.0,9);
DRAWTEXT(金线擒牛,L,' ★擒牛'),COLORMAGENTA;
STICKLINE(金牛突破D=0,H,L,0,0),COLORFFCC00;
STICKLINE(金牛突破D=0,C,O,-1,0),COLOR683501;
STICKLINE(金牛突破D=0,C,O,2.73,0),COLOR996700;
STICKLINE(金牛突破D=0,C,O,2.28,0),COLORAA7800;
STICKLINE(金牛突破D=0,C,O,1.83,0),COLORBB9900;
STICKLINE(金牛突破D=0,C,O,1.38,0),COLORCCAA00;
STICKLINE(金牛突破D=0,C,O,1.03,0),COLORDDBB00;
STICKLINE(金牛突破D=0,C,O,0.68,0),COLOREECC00;
STICKLINE(金牛突破D=0,C,O,0.38,0),COLOREFDD00;
STICKLINE(金牛突破D=0,C,O,0.13,0),COLORFFEE00;