在線檢測未來函數

選股,股價今日有過三日內的低點,而收盤主力持倉有增加

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

編寫要求:

JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW); 買1:=QJ0*(MIN(OPEN,CLOSE)-LOW); 買2:=QJ0*(JJ-MIN(CLOSE,OPEN)); 賣1:=QJ0*(MAX(CLOSE,OPEN)-JJ); 賣2:=QJ0*(HIGH-MAX(OPEN,CLOSE)); DT:=((買1+買2)-(賣1+賣2))/10000; 主力持倉:SUM(DT,66),COLORWHITE,LINETHICK1; STICKLINE(DT>0,主力持倉,主力持倉+DT,1,0),COLOR0000FF; STICKLINE(DT<0,主力持倉+DT,主力持倉,1,0),COLOR00FF00; 請老師幫我做一個選股,股價今日有過三日內的低點,而收盤主力持倉比昨天有增加,謝謝了,股價就是今日有創三日新低過

股旁網解答:

 JJ:=(HIGH+LOW+CLOSE)/3;

QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
買1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
買2:=QJ0*(JJ-MIN(CLOSE,OPEN));
賣1:=QJ0*(MAX(CLOSE,OPEN)-JJ);
賣2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
DT:=((買1+買2)-(賣1+賣2))/10000;
主力持倉:=SUM(DT,66);
L=LLV(L,3) AND 主力持倉>REF(主力持倉,1);

相關文章

高手二肖中特