Multiple profit targets

Hi,

I'd like to sell at 'buyprice+10%' if the buyprice > MA, and sell at 'buyprice+5%' if buyprice < MA. How would I do that please? Do I use ApplyStop, SellPrice or something else?

x = IIf(BuyPrice>MA(C,200),10,5));
ApplyStop(stopTypeProfit,stopModePercent,x);

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.