A question on Equity(1)

Short=mycondition
Cover=SystemExitTime;
Short=ExRem(Short, Cover);
Cover=ExRem(Cover, Short);
ApplyStop(stopTypeLoss, stopModePoint, 10, 1);
Equity(1);

Consider the above code. Lets assume that the short condition was met but the stopLoss condition was never met hence ApplyStop() did not actually come into play because the price did not reach (shortPrice +10 pts) and eventually SystemExitTime was hit. What i can see is that Equity(1) is negating the cover signal (SystemExitTime). So the above code generates a short signal but no cover signal. If i comment out Equity (1) then it works fine. But i need Equity(1) to visualise ApplyStop(). Can someone please explain this to me?

without equity(1),

did you try right clicking on your trade list in AA window and then go to “show actual trades”?

The trade is there but the start time are different. On the chart it starts at 09:37 but in AA it is 09:51

Please keep in mind that Equity uses last backtest settings. If your settings are so that you do not have “Long and Short” selected it will remove short side.

Please also do NOT create duplicate topics.
This topic is duplicate of:

Duplicate of: Applystop and scaleout