input: Len(200,"波段長度");
var: _hbar(0); //不含今日近期最高點相對位置
var:_hvol(0); //高點大量
setbackBar(Len+40,"D");
_hbar = highestbar(H[1],Len)+1;
_hvol = maxList(V[_hbar-1],V[_hbar],V[_hbar+1]);
if H[_hbar]>lowest(L[_hbar+1],Len)*1.5 //這波上漲50%
and _hbar<60 and _hbar>=5 //盤整區位置在5-60根K
and average(V[1],_hbar-2)<_hvol*0.3 //均量縮到30%以下
and lowest(L[1],_hbar-2)>_hbar*0.8 //量縮位置不跌回20%以上
and Close > open //紅K
then ret=1;
input: Length(9), RSVt(3), Kt(3);
variable: rsv(0), k(0), _d(0);
SetInputName(1, "天數");
SetInputName(2, "RSVt權數");
SetInputName(3, "Kt權數");
Stochastic(Length, RSVt, Kt, rsv, k, _d);
if k < 50
then ret=1;
請問為什麼跳出警示的個股,會有一堆黑K的呢?
是有那裡錯誤嗎?謝謝
1 評論