定(买卖决策依据源码图)副图优化 2,SKDJ小波段 与 3,牛熊系数 合并成为一个指标:SKDJ波段 源码: DRAWBAND(10,RGB(25,60,68),5,RGB(0,0,0)); DRAWBAND(95,RGB(25,60,68),90,RGB(0,0,0)); A1:=LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6)<HHV(LOW,41)*71/100; B2:=HIGH>LOW*1.033; STICKLINE(A1>0 AND B2,10,5,4,0),COLORRED; DPK30:=SMA(((INDEXC-LLV(INDEXL,30))/(HHV(INDEXH,30)-LLV(INDEXL,30))*100),3,1); HYK30:=SMA(((HY_INDEXC-LLV(HY_INDEXL,30))/(HHV(HY_INDEXH,30)-LLV(HY_INDEXL,30))*100),3,1); K30:=SMA(((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100),3,1); DRAWBAND(K30,RGB(0,250,250),10,RGB(250,250,0)); STICKLINE(C>0,90,10,10,0),COLOR000000; 大盘值:DPK30*P,COLORLICYAN,DOTLINE; 行业值:HYK30*P,COLORGRAY,DOTLINE; 系数值:K30,COLORRED; 牵牛值:SMA(((CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100),3,1),COLORMAGENTA; DRAWICON(CROSS(90,K30),90,2); DRAWICON(CROSS(90,牵牛值),96,12); DRAWICON(CROSS(K30,牵牛值),K30,1); P:=21; WH1:=IF(L=LLV(L,P),L,DRAWNULL); WH2:=CONST(BARSLAST(WH1!=DRAWNULL)); IF(CURRBARSCOUNT<=WH2+1 AND L=LLV(L,P),40,0),COLOR0000FF,LINETHICK2; P1:=21; H1:=IF(H=HHV(H,P1),H,DRAWNULL); H2:=CONST(BARSLAST(H1!=DRAWNULL)); IF(CURRBARSCOUNT<=H2+1 AND H=HHV(H,P1),40,0),COLORGREEN, LINETHICK2; LOWV:=LLV(LOW,N); HIGHV:=HHV(HIGH,N); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M); K:EMA(RSV,M); D:MA(K,M); 变成:一主三副 |
|
来自: 昵称40786914 > 《gpjc》