PAT Automation: Exit Conditions

The PAT Automation allows users to create, backtest, and automate strategies using features from the Price Action Toolkit. This article covers the various conditions and rules for exiting positions in long and short entries.
Exit Conditions
Exit on Opposite Signal

When enabled, a long position will close when short entry conditions are met, and a short position will close when long entry conditions are met.
Exit on Session End
%2520(14).png%3Falt%3Dmedia&w=3840&q=75)
When enabled, positions will be closed at the end of the trading session.
Take Profit Conditions
There are several methods available for setting take profit exits and conditions.
Entry Condition TP
Users can use entry conditions as triggers for take profit exits. This setting can be found under the long and short exit conditions.
Here is an example of a take-profit exit being set to trigger once a bearish CHoCH+ is detected.
%2520(16).png%3Falt%3Dmedia&w=3840&q=75)
Fixed TP
%2520(15).png%3Falt%3Dmedia&w=3840&q=75)
Users can set a fixed TP for exits. This setting can be found under the long and short exit conditions. Users can choose between the following:
Price: This method triggers a TP exit when price reaches a specified level.
For example, if you set the Price TP to 10 and buy $TSLA at $190, the trade will automatically exit when the price reaches $200 ($190 + $10).
Ticks: This method triggers a TP exit when price moves a specified number of ticks.
Percentage (%): This method triggers a TP exit when price moves a specified percentage.
ATR: This method triggers a TP exit based on a specified multiple of the Average True Range (ATR).
Stop Loss Conditions
There are several methods available for setting stop-loss exits and conditions.
Entry Condition SL
Users can use entry conditions as triggers for stop-loss exits. This setting can be found under the long and short exit conditions.
Here is an example of a stop-loss exit being set to trigger once a bullish Breaker Block is detected.
%2520(17).png%3Falt%3Dmedia&w=3840&q=75)
Fixed SL
%2520(16).png%3Falt%3Dmedia&w=3840&q=75)
Users can set a fixed SL for exits. This setting can be found under the long and short exit conditions. Users can choose between the following:
Price: This method triggers a SL exit when price reaches a specified level.
For example, if you set the Price SL to 10 and buy $TSLA at $200, the trade will automatically exit when the price reaches $190 ($200 - $10).
Ticks: This method triggers a SL exit when price moves a specified number of ticks.
Percentage (%): This method triggers a SL exit when price moves a specified percentage.
ATR: This method triggers a SL exit based on a specified multiple of the Average True Range (ATR).
Trailing SL
To use a trailing SL, set the Fixed SL input to 'Trailing'. The trailing stop-loss value entered is measured in ticks.
.png%3Falt%3Dmedia&w=3840&q=75)
If you want to only activate the Trailing SL after a certain number of ticks, you can adjust the 'Trailing Stop Activation' setting.
%2520(2).png%3Falt%3Dmedia&w=3840&q=75)
In this example, an 80-tick trailing SL is triggered once price moves 20 ticks in the intended direction.
%2520(1).png%3Falt%3Dmedia&w=3840&q=75)
If you want to use a fixed SL alongside a trailing SL, enable the Hard SL setting. This option is only applicable when the trailing SL is active.
%2520(3).png%3Falt%3Dmedia&w=3840&q=75)
Move Stop Loss to Breakeven
This setting allows the strategy to automatically move the SL to Breakeven (BE) when the position is in profit by a certain amount. Users can choose between the following:
Price: This method moves the SL to BE when price reaches a specified level.
Ticks: This method moves the SL to BE when price moves a specified number of ticks.
Percentage (%): This method moves the SL to BE when price moves a specified percentage.
ATR: This method moves the SL to BE when price moves a specified multiple of the Average True Range (ATR).