波段指标简单说明:粉色粗线段上持股待涨 蓝色粗线段下持币观 ★同心协力花开富贵顺势而为★:STRLEFT('★群号:11539437★',18),coloryellow;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,COLORFFFFFF;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
天:(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
地:(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
人:(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
STICKLINE(CROSS(C,地),O,C,5,0),coloryellow;
STICKLINE(CROSS(天,C),O,C,5,0),colorblue;
突破:=REF(EMA(C,14),1);
//www.fxjgsw.com
A1X:=(EMA(C,7)-突破)/突破*100;
多:=IF(A1X>=0,REF(EMA(C,7),BARSLAST(CROSS(A1X,0))-1),0);
空:=IF(A1X<0,REF(EMA(C,7),BARSLAST(CROSS(0,A1X))+1),0);
STICKLINE(多,多*0.99990,多*0.99999,20,0),colorgreen;
STICKLINE(空,空*1.00002,空*1.00007,20,0),coloryellow;
B1:=MA(C,1);//www.fxjgsw.com
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ;
SMA2:=MA(B2,3);
多方:=IF(b2>sma2,REF(EMA(C,7),BARSLAST(CROSS(b2,sma2))-3),0);
空方:=IF(b2<sma2,REF(EMA(C,7),BARSLAST(CROSS(sma2,b2))+3),0);
STICKLINE(b2>sma2,b2,SMA2,10,0),colormagenta;
STICKLINE(b2<sma2,b2,SMA2,10,0),colorblue;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MM:=EMA(CLOSE,21);
DY1:=(2*CLOSE+HIGH+LOW)/4;
DY2:=LLV(LOW,34);
DY3:=HHV(HIGH,34);
BDC:=EMA((DY1-DY2)/(DY3-DY2)*100,4),colorred;
BDD:=EMA((0.667*REF(BDC,1)+0.333*BDC),2),colorff9900;
BDE:=EMA((DY1-DY2)/(DY3-DY2)*100,30);
BDF:=EMA(BDE,5);
底背离:=CROSS(RSI,14) AND bdc<=20;
顶背离:=CROSS(90,RSI);
STICKLINE(底背离,(LOW * 0.9997),L*0.9996,15,1),colorred;
STICKLINE(顶背离,(HIGH * 1.0007),H*1.0006,15,1),colorgreen;
DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(55,50,0),RGB(0,25,1000),1));
DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(80,0,0),RGB(100,20,1000),1));
ema13:=EMA(C,20),COLORFF8080;
ema34:=EMA(C,60),colorFFFF00;
ema55:=EMA(C,80),colorff00ff;
|
