文华财经均线日内短线金叉死叉多空买卖点幅图指标公式源码:
支撑压力自动画线主图指标源码:
N:=15;///改参数原10
TYP:=(CLOSE+HIGH+LOW)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),NODRAW;
J:=CROSS(CCI,100);
S:=CROSSDOWN(CCI,-100);
JJ:=COUNT(J,BARSLAST(S))=1&&J,NODRAW;
SS:=COUNT(S,BARSLAST(J))=1&&S,NODRAW;
LL:=CROSS(BACKSET(REFX(JJ,1)||ISLASTBAR&&BARSLAST(SS)<BARSLAST(JJ),LLVBARS(L,BARSLAST(SS)+1)+1 ),0.5);
HH:=CROSS(BACKSET(REFX(SS,1)||ISLASTBAR&&BARSLAST(SS)>BARSLAST(JJ),HHVBARS(H,BARSLAST(JJ)+1)+1 ),0.5);
DRAWSL(HH,H,0,6,0,COLORWHITE),LINETHICK4;
DRAWSL(LL,L,0,6,0,COLORYELLOW),LINETHICK4;
幅图指标公式源码:
//A:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);
//B:=-100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));
//D:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);
A:=MA(-100*(HHV(H,204)-C)/(HHV(H,204)-LLV(L,204)),114);
B:=-100*(HHV(H,84)-C)/(HHV(H,84)-LLV(L,84));
D:=EMA(-100*(HHV(H,204)-C)/(HHV(H,204)-LLV(L,204)),24);
长线:A+100,RGB(128,128,128),LINETHICK2;
中线:D+100,COLORLIGHTGREY,LINETHICK2;
短线:=B+100,COLORGRAY;
STICKLINE( CROSS(中线,长线),0,90,20,1 ),COLORRED;
STICKLINE( CROSS(长线,中线),90,0,22,1 ),COLORGREEN;
//,DASHDOTDOT
//RGB(255,128,128)
AA:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);
DDD:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);
BB:=-100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));
短长:AA+100,COLORMAGENTA,LINETHICK1;
短中:DDD+100,COLORYELLOW,LINETHICK1;
//短短:BB+100,DASHDOTDOT;
//J:(3*K-2*DD),COLORCYAN;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
DD2:=SMA(K2,3,1);
J2:=(3*K2-2*DD2),COLORCYAN,DOT;
LC := REF(CLOSE,1);
见顶:=((REF(中线,1)>85 AND REF(短线,1)>85 AND REF(长线,1)>65) AND CROSS(长线,短线));
顶部区域:=(中线<REF(中线,1) AND REF(中线,1)>80) AND (REF(短线,1)>95 OR REF(短线,2)>95 ) AND 长线>60 AND 短线<83.5
AND 短线<中线 AND 短线<长线+4,COLORGREEN;
//{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}
顶部:=FILTER(顶部区域,4);
STICKLINE( {见顶 OR} 顶部,99,103,20,1 ),COLORRED,LINETHICK2;
底部区域:=(长线<12 AND 中线<8 AND (短线<7.2 OR REF(短线,1)<5) AND (中线>REF(中线,1) OR 短线>REF(短线,1)))
OR (长线<8 AND 中线<7 AND 短线<15 AND 短线>REF(短线,1)) OR (长线<10 AND 中线<7 AND 短线<1) ,COLORGREEN;
STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;
低位金叉:50*(长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1) AND CROSS(短线,长线) AND 短线>中线
AND (REF(短线,1)<5 OR REF(短线,2)<5 ) AND (中线>=长线 OR REF( 短线,1)<1 )),COLORRED;
80,COLOR996699,NOTEXT;
20,COLOR9966FF,NOTEXT;
10,COLORCC6633,NOTEXT;
90,COLORLIGHTGREEN,NOTEXT;
50,NOTEXT,COLORRED;