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

在這個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;

 

相關文章

腾讯棋牌欢乐斗地主 相关推荐:北京pk10高手计划群 精选三肖3码公开 时时彩大小单双技巧 必中一位 快乐十分计划软件安卓 pk10官网开奖8197771 4519中特网四肖选一肖 捕鱼大师从哪里可以下载 重庆时时彩大小技巧 欢乐推筒子二八杠下载