Hi dhirbisht
I would call the EST trailing stop a profit stop. From memory the stop kicks in on the second bar of the trade unless you say otherwise by setting a delay. Unless the trade moves above the purchase price (on a long trade) you will definitely be stopped out by any low that drops to the purchase price once the delay has expired. The actual Profit stop allows you to set a profit target. What the trailing stop does is it tries to prevent you losing more than a set amount of profit. However the percentage you set applied to loss of trade profit, not the loss of trade capital. Suppose you have the stop set at 50% and your trade moves up by 2%, if that trade then moves down by 1% the stop will say "whoops, 50% of profit has just disappeared so I'd better kill the trade". Great.
I think you would do better by coding a trailing stop loss into your exit code window and stay well clear of the EST trailing stop. The same goes for an initial stop. If you have MS 11 you might like to try the Intellistop formulas. While there's not as much flexibility with these as there is with the 4 Intellistop options available with the ICE plug-in, you might find they are of some use.
Adding OR L<Ref(Fml("MS11 - IntelliStop Buy (longer-term)"),-1) to your Long Sell code should get you started. The intellistop formulas use a couple of PREVs but the slow-down effect is not too bad. In my opinion they're quite useful for testing.
Roy