乾坤三色副图
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(YEAR<2008 AND VAR1F>0.015,VAR20,0)/45;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
AA:=IF( VAR28>0.1,VAR29,0)*5, COLORRED;
MA9:=MA(AA,9);
STICKLINE(AA>MA9,0.6,0.8,3,0),COLORRED;
N:=10;
CG:=MA((LOW+HIGH+CLOSE*2)/4,N);
辅助:=HHV(CG,9);
乾坤:=HHV(HIGH,60)*0.98;
AA1:=(乾坤-辅助)/辅助<=0.035;
STICKLINE(AA1,0.8,1,3,0),COLORYELLOW;
AA2:=AA>REF(AA,1) AND REF(AA,1)
STICKLINE(AA2,1,1.2,3,0),COLORMAGENTA;
三色:AA>MA9 AND AA1 AND AA2,COLORYELLOW;
乾坤三色预警:
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(YEAR<2008 AND VAR1F>0.015,VAR20,0)/45;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
AA:=IF( VAR28>0.1,VAR29,0)*5;
MA9:=MA(AA,9);
N:=10;
CG:=MA((LOW+HIGH+CLOSE*2)/4,N);
辅助:=HHV(CG,9);
乾坤:=HHV(HIGH,60)*0.98;
AA1:=(乾坤-辅助)/辅助<=0.025;
AA2:=AA>REF(AA,1) AND REF(AA,1)
乾坤三色:AA>MA9 AND AA1 AND AA2;
乾坤主图:
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:=MA(VAR4,5),LINETHICK2;
乾坤:HHV(HIGH,60)*0.98,COLORFFFFCC;
N:=10;
CG:=MA((LOW+HIGH+CLOSE*2)/4,N);
辅助:HHV(CG,9),COLORFFABA3,LINETHICK2;
间距:(乾坤-辅助)/辅助;
庄进场:
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(YEAR<2008 AND VAR1F>0.015,VAR20,0)/45;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
AA:=IF( VAR28>0.1,VAR29,0)*5;
庄进场:AA,VOLSTICK;
MA35:MA(庄进场,35),COLORYELLOW;