老师你好,我是金字塔新用户,我想编一个手动开仓,程序化自动平仓的请问如何编写?
思路是,我手动开仓后N周期内利润达到N个点,然后以开仓价为止损价;请问如何编写?
不是,我是新用户,免费版的
不过这个无法跟踪到你的手工下单价格
所以如果要实现根据手工开仓价来止损,那么必须要购买专业版实施后台交易
哪麻烦帮我编下可以吗,我向客服购买
if close>tenterprice+n and tenterbars>n and tbuyholding(0)>0 then tsell(1,0,mkt);
if close<tenterprice and tbuyholding(0)>0 then tsell(1,0,mkt);
if close<tenterprice-n and tenterbars>n and tsellholding(0)>0 then tsellshort(1,0,mkt);
if close>tenterprice and tsellholding(0)>0 then tsellshort(1,0,mkt);