一個(gè)思路請(qǐng)版主寫成指標(biāo)!! [金字塔]
- 咨詢內(nèi)容:
在多筆線圖上使用。
1,能夠取得N天的均價(jià),如三天就取1,2,3號(hào)三天的均價(jià),等第4天開盤時(shí)就取2,3, 4號(hào)的均價(jià),把1號(hào)的價(jià)格排除。
2, 以均線表示,當(dāng)價(jià)格上穿或下穿均線時(shí)用劍頭標(biāo)明,當(dāng)一個(gè)劍頭出現(xiàn)時(shí)鎖定30秒鐘,之后再重新計(jì)算。
3, 向上劍頭出現(xiàn)時(shí)把K線涂染成紅色,向下時(shí)染成藍(lán)色。
先這么多了,謝謝!!
- 金字塔客服:
ma3:ma(c,3);
cond1:=cross(c,ma3);
cond2:=cross(ma3,c);
drawicon(cond1,close,4);
drawicon(cond1,close,5);
if cond1 then begin
extgbdataset('time',timetot0(currenttime));
end
if cond2 then begin
extgbdataset('time1',timetot0(currenttime));
end
if cond1 and timetot0(currenttime)=extgbdata('time')+15 then stickline(islastbar,o,c,10,0),colorred;
if cond2 and timetot0(currenttime)=extgbdata('time1')+15 then stickline(islastbar,o,c,10,0),colorblue;
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容