请问用
if(MarketPosition ==1 and High[1]>=EntryPrice*1.2)
sell(0,O);
来表达盈利幅度到20%的时候平仓,可以吗?
可以的,你的基本表达没有错