九毛八公式指标
公式模块:
A:=FILTER(BacKSET(BARSTATUS=2,34),34); 0,COLORMAGENTA;
B:=FILTER(BACKSET(BARSTATUS=2,100),100); 0,COLORMAGENTA;
起始:STICKLINE(A,0,70,3,0);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
天:BArslAST(a);
天1:BARSLAST(B);
ALL(天,j);
个股J:if(天>0 ,J,0), COLORYELLOW,LINETHICK2;
个股K:if(天>0,k,0),colorgreen;
获利:=WINNER(c);
STICKLINE(crOSS(k,d),天+15,天,0,0),colorgreen,LINETHICK2;
DRAWICON(CROSS(k,d),天+23,1),ALIGN1;
STICKLINE(CROSS(天1,个股J),天1+15,天1,0,0),colorred,LINETHICK2;
STICKLINE(CROSS(d,k),天1+15,天1,0,0),colorgreen,LINETHICK2;
DRAWICON(CROSS(d,k),天1+23,2),ALIGN1;
DRAWICON(CROSS(天1,个股J),天1+23,10),ALIGN1;
DRAWTEXT(CROSS(天1,个股J),天1+28,'预警'),ALIGN1,COLORFFFF00;
DRAWICON(CROSS(个股J,0),个股J+3,7),ALIGN1;
STICKLINE(CROSS(个股J,0),个股J+20,个股J,0,0),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(个股J,0),个股J+28,'预喜'),ALIGN1,colorred;
DRAWICON(CROSS(个股J,天),天+20,7),ALIGN1;
STICKLINE(CROSS(个股J,天),天+20,个股J,0,0),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(个股J,天),天+28,'喜'),ALIGN1,colorred;
DRAWTEXT(天=1,36,' 年'), colorgreen;
DRAWTEXT(天=1,20,' 月'), colorgreen;
DRAWTEXT(天=1,10,' 日'), colorgreen;
DRAWTEXT(天=1,36,NUMTOSTRN(YEAR,0)),ALIGN2, colorred;
DRAWTEXT(天=1,20,NUMTOSTRN(MONTH,0)),ALIGN2, colorred;
DRAWTEXT(天=1,10,NUMTOSTRN(DAY,0)),ALIGN2,colorred;
STICKLINE(ma(c,5)>ref(ma(c,5),1),天,天,18,0),colorred;
是改成免费版的。不要L2 的,谢谢了[]
A:=FILTER(BACKSET(ISLASTBAR,34),34); 0,COLORMAGENTA;
B:=FILTER(BACKSET(ISLASTBAR,100),100); 0,COLORMAGENTA;
起始:STICKLINE(A,0,70,3,0);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
天:BARSLAST(A);
天1:BARSLAST(B);
EVERY(天,J);
个股J:IF(天>0 ,J,0), COLORYELLOW,LINETHICK2;
个股K:IF(天>0,K,0),COLORGREEN;
获利:=WINNER(C);
STICKLINE(CROSS(K,D),天+15,天,0,0),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(K,D),天+23,1);
STICKLINE(CROSS(天1,个股J),天1+15,天1,0,0),COLORRED,LINETHICK2;
STICKLINE(CROSS(D,K),天1+15,天1,0,0),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(D,K),天1+23,2);
DRAWICON(CROSS(天1,个股J),天1+23,10);
DRAWTEXT(CROSS(天1,个股J),天1+28,'预警'),COLORFFFF00;
DRAWICON(CROSS(个股J,0),个股J+3,7);
STICKLINE(CROSS(个股J,0),个股J+20,个股J,0,0),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(个股J,0),个股J+28,'预喜'),COLORRED;
DRAWICON(CROSS(个股J,天),天+20,7);
STICKLINE(CROSS(个股J,天),天+20,个股J,0,0),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(个股J,天),天+28,'喜'),COLORRED;
STICKLINE(MA(C,5)>REF(MA(C,5),1),天,天,8,0),COLORRED;
DRAWNUMBER(天,36,DATE+19000000);