以下是分析家天衣无缝公式源码
分析家顶底天衣无缝公式源码:
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35 =VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
火焰山底:EMA(IF(LOW =VARE,(VARD+VARF*2)/2,0),3)/618*VAR10,coloryellow;
今量:=火焰山底;
STICKLINE(火焰山底 0,0,今量*1.2,3,0),COLOR00EEFF;
STICKLINE(火焰山底 0,0,今量*0.8,3,0),COLOR00BBFF;
STICKLINE(火焰山底 0,0,今量*0.6,3,0),COLOR0099FF;
STICKLINE(火焰山底 0,0,今量*0.4,3,0),COLOR0066FF;
STICKLINE(火焰山底 0,0,今量*0.2,3,0),COLOR0000FF;
VARG:=HHV(HIGH,30);
火焰山顶:EMA(IF(HIGH =VARG,-(VARD+VARF*2)/2,0),3)/618*VAR10,colorcyan;
STICKLINE(火焰山顶 0,0,火焰山顶,3,0),colorcyan;
盘底:15,COLORGREEN;
盘顶:85,COLORMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORYELLOW;
D:=SMA(K,3,1),COLORYELLOW,;
STICKLINE(K D,K,D,2,0),COLORLIRED;
STICKLINE(D K,K,D,2,0),COLORLIBLUE;
VAR1:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR2:=(CLOSE-MA(CLOSE,26))/MA(CLOSE,21)*100;
VAR3:=(CLOSE-MA(CLOSE,90))/MA(CLOSE,34)*100;
VAR4:=(VAR1+3*VAR2+9*VAR3)/13;
VAR5:=(100-ABS(VAR4));
VAR6:=LLV(LOW,10);
VAR7:=HHV(HIGH,25);
黄:EMA((CLOSE-VAR6)/(VAR7-VAR6)*4,4)*25,COLORYELLOW,LINETHICK2;
白:SMA(黄,2,1),COLORWHITE;
DRAWICON(CROSS(黄,白),(黄,白),29);
MA6:MA(CLOSE,6);
MA13:MA(CLOSE,13);
MA62:MA(CLOSE,62);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
X:=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),68);
Y:=EMA(CLOSE,10);
LL:=REF(CLOSE,2);
MM:=((SMA(MAX((CLOSE-LL),0),6,1)/SMA(ABS((CLOSE-LL)),6,1))*100);
DB:=IF(((MM REF(MM,1))AND(MM 79)),MM,0);
DRAWTEXT(CROSS(Y,X),(LOW*0.985),'▲'),LINETHICK2,colorred;
DRAWTEXT(CROSS(X,Y),(HIGH*1.02),'◆'),LINETHICK2,color00ff00;
DRAWTEXT(DB,(HIGH*1.02),'●'),LINETHICK2,color00ff00;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*100),5);
AK:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*50),13);
DD:=EMA(((0.667*REF(AK1,1))+(0.333*AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE-VAR3)/(VAR4-VAR3))*100),3);
VAR6:=((AK+VAR5)/2);
VAR7:=EMA(((0.667*REF(VAR5,1))+(0.333*AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667*REF(VAR8,1))+(0.333*VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB)AND(BB 30));
CD:=(BB1*0.6);
DRAWTEXT((CD=0.6),(LOW*0.99),'□'),LINETHICK2,color33CC99;
DRAWTEXT((AB=1),(LOW*0.99),'□'),LINETHICK2,colorwhite;
c1:=(CLOSE+LOW+HIGH)/3;
c2:=EMA(c1,6);
c3:=EMA(c2,5);
c4:=CROSS(c2,c3);
DRAWTEXT(c4,LOW/1.01,'★'),COLORRED;
c5:=CROSS(c3,c2);
DRAWTEXT(c5,HIGH*1.03,'★'),COLORBLUE;
分析家顶底天衣无缝公式截图