公式轉換問題 [金字塔]
- 咨詢內容:
D1 AND D2 AND D3 AND MA1>REF(MA1,1),BPK;K1 AND K2 AND K3 AND MA1<REF(MA1,1),SPK;H>=BUYP&&C>=MAX(O,BUYP) AND MA1>REF(MA1,1),BK;L<=SELLP&&C<=MIN(O,SELLP) AND MA1<REF(MA1,1),SK;C<TORDERPRICE(3,1)*(1-0.001*46),BP;C>TORDERPRICE(1,1)*(1+0.001*31),SP;C>TORDERPRICE(3,1)*(1+0.0001*185),BP;//C<TORDERPRICE(1,1)*(1-0.0001*184),SP;//C<VALUEWHEN(TENTERBARS,h) -147*MINDIFF,SP;C>VALUEWHEN(TENTERBARS,l) +110*MINDIFF,BP; 請幫忙轉換成新圖表或者后臺交易。
- 金字塔客服:
BUYP SELLP 這兩是什么?
- 用戶回復:
是買入,賣出的條件
- 網友回復: if D1 AND D2 AND D3 AND MA1>REF(MA1,1) then begin sellshort(1,0,marketr); buy(holding=0,1,marketr); end if K1 AND K2 AND K3 AND MA1<REF(MA1,1) then begin sell(1,0,marketr); buyshort(holding=0,1,marketr); end if H>=BUYP&&C>=MAX(O,BUYP) AND MA1>REF(MA1,1) then buy(holding=0,1,marketr); if L<=SELLP&&C<=MIN(O,SELLP) AND MA1<REF(MA1,1) then buyshort(holding=0,1,marketr); if C<enterprice*(1-0.001*46) then sellshort(1,0,marketr); if C>enterprice*(1+0.001*31) then sell(1,0,marketr); if C>enterprice*(1+0.0001*185) then sellshort(1,0,marketr);// if C<enterprice*(1-0.0001*184) then sellshort(1,0,marketr);// if C<VALUEWHEN(ENTERBARS=0,h) -147*MINDIFF then sell(1,0,marketr); if C>VALUEWHEN(TENTERBARS=0,l) +110*MINDIFF then sellshort(1,0,marketr);
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容