应该是这个,对吗?
if 多头势 then tsell(tholding>0 and close>enterprice*1.005 and NOT(tTYPE(1)=2),tholding*0.60,stp,mkt);
if 多头势 then tsell(tholding>0 and close>enterprice*1.005 and NOT(tTYPE(2)=1),tholding*0.60,mkt);
if 多头势 then sell(holding>0 and close>enterprice*1.005 and NOT(TYPE(1)=2),intpart(holding*0.30),thisclose);
这里的close ,如果用动态函数,比如DYNAINFO( 7),可以吗?
如果这个可以的话,我就可以实行追踪止盈了。比如,我的目标价格是A,如果行情继续上涨,上涨中如果出现回调5个价位的,就止盈,否则,继续持有。比如,目标价格1000,行情继续上涨,我将止损位置先抬高到1000,结果一路涨到了1050,出现了回调,到了1040,我就止盈。老师指导一下,给个模型?