{乾坤黑马副图源码如下}
HGW:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,HGW,REF(HGW,1),4,0),COLORRED;
STICKLINE(A< B,HGW,REF(HGW,1),4,0),COLORGREEN;
XG1:=A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10 AND HGW>50 AND REF(HGW,1) < 50 AND C/REF(C,1)>1.02 AND C/REF(C,1)< 1.05 AND H/C< 1.03 AND C>O;
AAA:=A>B,HGW,REF(HGW,1);
XG2:=C/REF(C,1)>1.05 AND A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10;
XG:=XG1 OR XG2;
AAQ:=C>MA(C,50);
乾坤线:50 DOTLINE;
AA:=A>B>乾坤线;
DRAWICON(CROSS(AAA,50),50*1.002,9);
{乾坤黑马主图源码如下}
操作线:MA(CLOSE,5),COLORYELLOW,DOTLINE;
ABC1:=IF(DATE< 2342.459961*500,1,1);
主趋势线:EMA(EMA(CLOSE,5),5)*ABC1,COLORRED,LINETHICK3;
ABC2:=IF(DATETODAY(DATE)< 9871,1,1);
ABC3:=主趋势线>REF(主趋势线,1)*ABC1;
IF(ABC3-1,主趋势线,DRAWNULL)*ABC1,COLORGREEN,LINETHICK3;
AA1:=C>MA(C,(EMA(EMA(CLOSE,10),10)*ABC1));
HGW:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
XG1:=A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10 AND HGW>50 AND REF(HGW,1) < 50 AND C/REF(C,1)>1.02 AND C/REF(C,1)< 1.05 AND H/C< 1.03 AND C>O;
AAA:=A>B,HGW,REF(HGW,1);
XG2:=C/REF(C,1)>1.05 AND A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10;
XG:=XG1 OR XG2;
AAQ:=C>MA(C,50);
ABB:=50 DOTLINE;
AA:=A>B>ABB;
STICKLINE(CROSS(AAA,50) AND AA1,O,C,2,0),COLORRED;
DRAWICON(CROSS(AAA,50) AND AA1,L*1.002,9);