PROTECTED SOURCE SCRIPT
BookYourTrade

Happy trade,
This is a semi-automated tool that allows you to define a trade setup in advance, including multiple exit levels. It incorporates a proven method for managing risk and reward. You specify a fixed entry price, an initial stop loss, two take profit levels, and a trailing stop loss for the remaining position—aiming to maximize gains from the trend. Alerts are included so you can step away from the screen and still be notified when any predefined price level is reached. The tool sends trade orders as market orders to your exchange or broker via webhooks. You provide the general webhook format, and the script automatically fills in the correct values.

How to Use
This tool is intended for manual day traders.
Here is an evolution of one trade in images:
The trade setting are defined but the trade has not started

The trade has started

The price reached the first take profit level and a part of the investment was liquidated.

The trade reached it's end date and the remaining investment was liquidated.

cheers
This is a semi-automated tool that allows you to define a trade setup in advance, including multiple exit levels. It incorporates a proven method for managing risk and reward. You specify a fixed entry price, an initial stop loss, two take profit levels, and a trailing stop loss for the remaining position—aiming to maximize gains from the trend. Alerts are included so you can step away from the screen and still be notified when any predefined price level is reached. The tool sends trade orders as market orders to your exchange or broker via webhooks. You provide the general webhook format, and the script automatically fills in the correct values.
How to Use
This tool is intended for manual day traders.
Define Entry Conditions:
Set your planned entry price and, optionally, a start and end time for trade activation. The script will not run unless the price reaches your specified level during this time window.
Set Stop Loss:
Define the stop loss as a fixed number of points from the entry price (above or below). This also determines whether the trade is long or short.
Configure Take Profits:
Specify the risk-reward ratio and position size for Take Profit 1.
Do the same for Take Profit 2.
Trailing Stop Loss:
For the remaining position after Take Profit 2, set a trailing stop loss. This is also defined in points, relative to the previous bar's closing price.
Time and Session Filters:
Set the earliest date to begin trading and the latest date by which all positions should be closed.
Optionally, define specific time windows (daily and or weekly) during which trading should be disabled. These off-times will be visually grayed out.
Define Capital and Fees:
Input the dollar amount you want to invest, along with any applicable percentage-based fees or fixed fees per trade. This is useful since different brokers, exchanges, or webhook service providers may charge in different ways (fixed, percentage, or both).
Configure Webhooks:
Enter your broker- or exchange-specific webhook for each trade event: entry, Take Profit 1, Take Profit 2, Stop Loss, and trailing exit. You’ll need to include placeholder strings in the webhook that the script will replace with actual trade values. The script provides a helper table to display these placeholders directly on the chart.
Some values you can deliver to the webhook service provider as an $ value or a deviation in percentage. For example the quantity of a trade or the take profit price. choose the correct replacement accordingly.
The script sends all orders as market orders.
Multiple Instances:
If you want to run multiple instances of this script, you must assign a unique name to each one. This ensures that the webhook service provider can correctly route trade signals to the appropriate bot.
Here is an evolution of one trade in images:
The trade setting are defined but the trade has not started
The trade has started
The price reached the first take profit level and a part of the investment was liquidated.
The trade reached it's end date and the remaining investment was liquidated.
cheers
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。