同花顺龙游天下主图指标公式
2020/7/17 19:03:51
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);
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);
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;
投 股票网 www. tou18.cn
股市公式下载推荐