金叉死叉 [金字塔]
- 咨詢內(nèi)容:
當(dāng)5日均線與30日均線死叉時(shí),在上一次金叉與這次死叉之間的k線的最高點(diǎn)標(biāo)出最高價(jià)?
[此貼子已經(jīng)被作者于2014/7/28 14:40:29編輯過(guò)] - 金字塔客服:
ma5:ma(c,5);
ma30:ma(c,30);
nn:=barslast(cross(ma5,ma30));
hh:=hhv(h,nn+1);
if cross(ma30,ma5) then hh1:=hh;
[此貼子已經(jīng)被作者于2014/7/28 14:52:32編輯過(guò)] - 用戶回復(fù):
runmode:0;
ma5:=ma(c,5);ma30:=ma(c,30);
nn:=barslast(cross(ma5,ma30));
hh:=hhv(h,nn+1);
if cross(ma30,ma5) then hh1:=hh;
drawtext(h=hh1,h,numtostr(hh1,2));
- 網(wǎng)友回復(fù):
謝jinzhe版主,但是沒(méi)有顯示出來(lái)。
- 網(wǎng)友回復(fù):
runmode:0;
ma5:=ma(c,5);ma30:=ma(c,30);
nn:=barslast(cross(ma5,ma30));
hh:=hhv(h,nn+1);
if cross(ma30,ma5) then hh1:=hh;
drawtext(h=hh1,h,numtostr(hh1,2)),colorred;
加了一個(gè)顏色,這下能看清了
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容