请金融工程师修改一下? [金字塔]
咨询内容:
请金融工程师修改成金字塔可用的语句?文华止盈:BKHIGH>=BKPRICE*1.1&&BKHIGH<BKPRICE*1.2&&C<=BKHIGH-(BKHIGH-BKPRICE)*0.05,SP(BKVOL/3);BKHIGH>=BKPRICE*1.2&&BKHIGH<BKPRICE*1.3&&C<=BKHIGH-(BKHIGH-BKPRICE)*0.03,SP(BKVOL/2);
BKHIGH>=BKPRICE*1.3&&BKHIGH<BKPRICE*1.4&&(C<=BKHIGH-(BKHIGH-BKPRICE)*0.01 OR (H>MAX(O,C)*1.1)),CLOSEOUT;
BKHIGH>=BKPRICE*1.4&&CROSSDOWN(C,MA(C,10)),CLOSEOUT;
BKHIGH>=BKPRICE*1.1&&BKHIGH<BKPRICE*1.2&&PROFIT/VOLMARGIN<0.05,CLOSEOUT;
BKHIGH>=BKPRICE*1.2&&BKHIGH<BKPRICE*1.3&&PROFIT/VOLMARGIN<0.15,CLOSEOUT;感谢!
技术交流:
通不过
技术交流:
是不是复制错了,可以编译成功
BKHIGH>=BKPRICE*1.3&&BKHIGH<BKPRICE*1.4&&(C<=BKHIGH-(BKHIGH-BKPRICE)*0.01 OR (H>MAX(O,C)*1.1)),CLOSEOUT;
BKHIGH>=BKPRICE*1.4&&CROSSDOWN(C,MA(C,10)),CLOSEOUT;
BKHIGH>=BKPRICE*1.1&&BKHIGH<BKPRICE*1.2&&PROFIT/VOLMARGIN<0.05,CLOSEOUT;
BKHIGH>=BKPRICE*1.2&&BKHIGH<BKPRICE*1.3&&PROFIT/VOLMARGIN<0.15,CLOSEOUT;感谢!
来源: WWW.CXH99.COM
金字塔资深技术: [PEL] 复制代码IF HHV(HIGH,ENTERBARS+1)>=ENTERPRICE*1.1 and HHV(HIGH,ENTERBARS+1)<ENTERPRICE*1.2 and C<=HHV(HIGH,ENTERBARS+1)-(HHV(HIGH,ENTERBARS+1)-ENTERPRICE)*0.05 THEN BEGIN SELL(1,CEILING(HOLDING/3),MARKET);//持仓手数可能除不尽,采用向上舍入处理 END if HHV(HIGH,ENTERBARS+1)>=ENTERPRICE*1.2 and HHV(HIGH,ENTERBARS+1)<ENTERPRICE*1.3 and C<=HHV(HIGH,ENTERBARS+1)-(HHV(HIGH,ENTERBARS+1)-ENTERPRICE)*0.03 THEN BEGIN SELL(1,CEILING(HOLDING/2),MARKET); END if HHV(HIGH,ENTERBARS+1)>=ENTERPRICE*1.3 and HHV(HIGH,ENTERBARS+1)<ENTERPRICE*1.4 and (C<=HHV(HIGH,ENTERBARS+1)-(HHV(HIGH,ENTERBARS+1)-ENTERPRICE)*0.01 OR (H>MAX(O,C)*1.1)) then BEGIN SELL(1,HOLDING,MARKET); end if HHV(HIGH,ENTERBARS+1)>=ENTERPRICE*1.4 and CROSS(MA(C,10),C) then BEGIN SELL(1,HOLDING,MARKET); end VOLMARGIN_D:ABS(ENTERPRICE*MULTIPLIER*HOLDING*TACCOUNT(41)); VOLMARGIN_K:ABS(ENTERPRICE*MULTIPLIER*HOLDING*TACCOUNT(42)); VOLMARGIN:IF(HOLDING>0,VOLMARGIN_D,VOLMARGIN_K); if HHV(HIGH,ENTERBARS+1)>=ENTERPRICE*1.1 and HHV(HIGH,ENTERBARS+1)<ENTERPRICE*1.2 and OPENPROFIT/VOLMARGIN<0.05 then BEGIN SELL(1,HOLDING,MARKET); end if HHV(HIGH,ENTERBARS+1)>=ENTERPRICE*1.2 and HHV(HIGH,ENTERBARS+1)<ENTERPRICE*1.3 and OPENPROFIT/VOLMARGIN<0.15 then BEGIN SELL(1,HOLDING,MARKET); end
下载附件
2021-11-5 09:19 上传
截图202111050923539637.png (60.63 KB, 下载次数: 315)
下载附件
2021-11-5 09:23 上传
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容