全方位操盘主图指标公式
M5:MA(CLOSE,5),COLORWHITE;
M10:MA(CLOSE,10),COLORYELLOW;
M20:MA(CLOSE,20),COLORRED;
M30:MA(CLOSE,30),COLORFFCD00;
M60:MA(CLOSE,60),COLORGREEN;
M90:MA(CLOSE,90),COLORFFFF80;
M120:MA(CLOSE,120),COLORFF00FF;
M250:MA(CLOSE,250),COLOR4080FF;
M377:MA(CLOSE,377),COLOR76DD00;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*1
00;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*
100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8<20ANDVAR9<23ANDVARA>35;
VARC:=VARBANDCOUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGH>LOW+0.04,4,0);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
买1:=VAR10;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3A:=MA(CLOSE,30);
VAR4A:=MA(CLOSE,60);
VAR5A:=EMA(COST(85),7);
VAR6A:=EMA(COST(15),7);
VAR7A:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8A:=INTPART(VAR7*100)/100;
VAR9A:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA1:=INTPART(VAR9*100)/100;
VARB1:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC1:=INTPART(VARB*100)/100;
VARD1:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE1:=EMA(VARD,9);
VARF1:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR10A:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR11A:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR12A:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR13A:=REF(VARE,1);
VAR14A:=VARE;
VAR16A:=REF(VARD,1);
VAR17A:=VARD;
VAR19A:=OPEN;
VAR1AA:=CLOSE;
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
B买:IF(CROSS(买线,卖
线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
S卖:IF(CROSS(卖线,买线),H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR00AB00;
大盘主图指标公式
{P1:110016}
能量:=SQRT(VOL)*(((C-(H+L)/2))/((H+L)/2));
平滑能量:=EMA(能量,P1);
能量惯性:=EMA(平滑能量,P1);
BUY2:=CROSS(平滑能量,能量惯性);
BUY3:=CROSS(能量,平滑能量)AND(平滑能量>能量惯性);
DRAWTEXT(BUY2ORBUY3,L*0.99,'▲'),COLORF00FF0,LINETHICK5;
SEL2:=CROSS(平滑能量,能量);
SEL3:=CROSS(能量惯性,平滑能量);
DRAWTEXT(能量<REF(能量,1)ANDSEL2AND平滑能量>能量惯性,H*1.01,'ㄓ
'),COLORGREEN,LINETHICK5;
DRAWTEXT(SEL3,H*1.015,'顶'),COLORGREEN,LINETHICK5;
卖线12:EMA(SLOPE(C,12)*12+C,21),LINETHICK3;
买线:EMA(C,2),COLORRED,LINETHICK1;
卖线:EMA(SLOPE(C,21)*21+C,42),COLORRED;
BUY:=CROSS(买线,卖线);
BUY1:=CROSS(买线,卖线12);
SEL:=CROSS(卖线,买线);
SEL1:=CROSS(卖线12,买线);
DRAWTEXT(BUY,LOW-0.1,'▲B'),COLORF00FF0,LINETHICK5;
DRAWTEXT(BUY1AND(CROSS(能量,能量惯性)OR平滑能量>能量惯性),LOW-0.1,'▲B1
'),COLORGREEN,LINETHICK5;
DRAWTEXT(SEL,HIGH+0.1,'▼S'),COLORWHITE,LINETHICK5;
DRAWTEXT(SEL1,HIGH+0.4,'▼S1'),COLORGREEN,LINETHICK5;
VAR111:=REF(CLOSE,1);
VAR222:=SMA(MAX(CLOSE-VAR111,0),7,1)/SMA(ABS(CLOSE-VAR111),7,1)*100;
DRAWTEXT(FILTER(REF(VAR222,1)<20ANDVAR222>REF(VAR222,1),5),买线*0.99,'↖特
评论(0)