載入中...
在線檢測未來函數
載入中...

在這個KDJ K線圖中輸出以收盤價為準的每條直線所對應的數值

來源:Internet,編輯:股旁網,2012-04-07

編寫要求:

股旁網解答:

 網友求助:

{refline:0,20,50,80,100;}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=ma(3*d-2*k,m4);
HORILINE(CROSS(k,d),c,BARSTATUS=2),COLOR0099ff;
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),colorred;
STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),colorcyan;
STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),OPEN,CLOSE,7,0),colorcyan;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(K>D,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(K>D,CLOSE,OPEN,8,0) ,COLORFF00FF;
STICKLINE(K>D,CLOSE,OPEN,7,0) ,COLORFF22FF;
STICKLINE(K>D,CLOSE,OPEN,6,0) ,COLORFF44FF;
STICKLINE(K>D,CLOSE,OPEN,5,0) ,COLORFF66FF;
STICKLINE(K>D,CLOSE,OPEN,4,0) ,COLORFF88FF;
STICKLINE(K>D,CLOSE,OPEN,3,0) ,COLORFF99FF;
STICKLINE(K>D,CLOSE,OPEN,2,0) ,COLORFFAAFF;
STICKLINE(K>D,CLOSE,OPEN,1,0) ,COLORFFBBFF;
 

在這個KDJ K線圖中輸出以收盤價為準的每條直線所對應的數值

解答如下:
DRAWTEXT(CROSS(D,K)OR BARSTATUS=2,REF(C,BARSLAST(CROSS(K,D))),STR(REF(C,BARSLAST(CROSS(K,D))))),COLORFFFFFF;

 

相關文章

腾讯棋牌欢乐斗地主 足球胜负怎么理解 99099香港马会开奘结果 重庆时时彩手机app 云南时时纪录 6y7y8y开奖香港开奖历史记录 香港赛马会全年资料查看 两肖两码中特网站 广西快三一定牛遗漏值 彩票聊天室全天计划 重庆时时开奖号破解