rules

Trading Rule Indicator

The Trading Rule Indicator operating inside a chart tests a user-specified trading signal. When the trading signal fires true, the trading rule indicator executes a user-specified trading order.

Tutorial - Rule Testing In Backtests

If you click on BUYSTOP in the list of actions, the description appears "Buy to Exit Short Position". This rule action is normally used as a stop loss rule to buy (cover) the short position if the market rises against you above some level. For example, you can have a BUYSTOP rule with the signal formula CL > ENTRY * 1.05; This would exit the short position if the price of the stock rose more than 5% higher than the price at which you shorted.