💬 Message Tools
TradingView alerts must include messages using with correct syntax to be processed. The syntax was designed to be simple, consistent, and easy to use. However, alert messages are powerful and flexible, mastering the format can take a bit of time.
The good news? You don't have to memorize or learn the syntax to use it correctly. We provide these tools for all users:
- Message Generator - Create correct messages effortlessly with just a few clicks.
- Message Parser - Check whether your message is valid and see exactly how it will be interpreted.
📢 You can send free-form messages through Telegram/Discord connection! Just only limit at 512 characters length.
📌 How to Access Message Tools
- Log in to the Dashboard
- Click Message Tools
- The tools are now ready to use
🪄 Message Generator
How to Use
- Select the action you want
- Adjust the inputs as needed
- Copy generated message generated and paste into TradingView alert
📢 1. Buy action
Symbol, Entry Type, and Size are mandatory fields. All other fields are optional.
- Symbol: Enter the trading symbol you want to buy.
-
Trade Size: Specific the size of buy order. Select the unit, then enter the value.
Supported units:
- Volume: Buy a fixed lot size of the symbol
- % Account: Buy a size calculated as a percentage of Balance, Equity, or Free Margin
- Amount: Buy using a fixed monetary value
Notes:
- You can specify whether the percentage is based on Balance, Equity, or Free Margin by configuring it in the Pip Receiver using the Size Percent input.
- The Amount option uses your account's currency.
-
Entry Type: Select how the buy order should be placed.
Supported options:
-
Market Price: Executes immediately at the current market price (a market order will be placed).
-
Fixed Price: Executes at a specific price you define.
- A Value field will appear for you to enter the desired price.
- If the price is above the current market price → a Buy Stop order will be placed.
- If the price is below the current market price → a Buy Limit order will be placed.
-
-
Stop Loss: Specific the stop loss level. Select the unit, then enter the value.
Supported units:
- Price: A fixed stop loss price
- Point Change: A specific number of points away from the entry price
- % Change: A percentage distance from the entry price
Notes:
- Leave the Value field blank if you don't want to set a stop loss.
- You can set the point value multiplier in the Pip Receiver using the Point Multiple input.
- Take Profit: Specific the take profit level. As same as Stop Loss.
-
Breakeven: Configure breakeven settings. Toggle the switch to enable. It requires two parameters:
- Start: The trigger level, measured from the entry price, that activates the Breakeven. It must be > 0 and > Offset
- Offset: The price offset, calculated from the entry price, to which the stop loss is adjusted. Must be >= 0
The breakeven logic is fully managed by the Pip Receiver, values are measured in points and the Point Multiple setting is applied. If the existing stop-loss level provides a more favorable profit, it will remain unchanged.
-
Pip Trailing Stop: Configure a Pip trailing stop. Toggle the switch to enable. It requires 3 parameters:
- Start: The trigger level, measured from the entry price, that activates the trailing stop. Must be >= 0
- Distance: The gap maintained between the current price and the stop-loss level. Must be > 0
- Step: The minimum price movement in your favor required before each new stop-loss adjustment. Must be > 0
The trailing stop logic is fully managed by the Pip Receiver, values are measured in points and the Point Multiple setting is applied. If the existing stop-loss level provides a more favorable profit, it will remain unchanged.
-
ATR Trailing Stop: Configure a ATR trailing stop. Toggle the switch to enable. It requires 5 parameters:
- Start: The trigger level, measured from the entry price, that activates the trailing stop. Must be >= 0
- Timeframe: The timeframe used to calculate the ATR value.
- Period: The number of periods used in the ATR calculation. Must be > 0.
- Multiplier: he ATR multiplier used to determine the trailing stop distance. Must be > 0.
- Shift: The candle offset used for ATR calculation; 0 refers to the current candle. Must be >= 0.
MT4 supported timeframe values : M1, M5, M15, M30, H1, H4, D1, W1, MN1
MT5 supported timeframe values: M1, M2, M3, M4, M5, M6, M10, M12, M15, M20, M30, H1, H2, H3, H4, H6, H8, H12, D1, W1, MN1
The trailing stop logic is fully managed by the Pip Receiver, values are measured in points and the Point Multiple setting is applied. If the existing stop-loss level provides a more favorable profit, it will remain unchanged.
- Comment: Enter a trade comment.
- No spaces or special characters allowed
- Maximum 31 characters
📢 2. Sell action
This works exactly the same as the way you generate message for Buy action.
📢 3. Close action
All fields are optional. If nothing is specified, all positions will be closed.
-
Close Size: Specify how much of the position to close. Select the unit, then enter the value.
Supported units:
- Volume: Close a fixed lot size
- % Position: Close a percentage of the position
-
Select Positions By: Choose which positions to close.
Supported filter types:
-
All: Apply to all open positions
-
Ticket: Target a specific position by ticket
-
Filter: Filter positions by Symbol and Type
Enter the desired symbol in the Symbol field and select the position type in the Type field.Position types:
- Long: Long positions
- Short: Short positions
-
-
Min Profit: Filter positions by a minimum profit value.
-
Max Profit: Filter positions by a maximum profit value.
📢 4. Cancel action
All fields are optional. If nothing is specified, all orders will be canceled.
-
Select Orders By: Choose which orders to cancel.
Supported filter types:
-
All: Apply to all pending orders
-
Ticket: Target a specific order by ticket
-
Filter: Filter orders by Symbol and Type
Enter the desired symbol in the Symbol field and select the position type in the Type field.Order types:
- Buy: All Buy orders (BuyStop, BuyLimit, BuyStopLimit)
- BuyStop: Buy stop orders
- BuyLimit: Buy limit orders
- BuyStopLimit: Buy stop-limit orders
- Sell: All Sell orders (SellStop, SellLimit, SellStopLimit)
- SellStop: Sell stop orders
- SellLimit: Sell limit orders
- SellStopLimit: Sell stop-limit orders
Some order types (such as BuyStopLimit or SellStopLimit) are not supported in MT4.
-
📢 5. Update action
Select By is a mandatory field. All other fields are optional. However, at least one update detail should be specified. Otherwise, nothing will be updated.
-
Select By: Choose which trades to update.
Supported filter types:
-
Ticket: Target a specific trade by ticket
Enter the ticket number in the Ticket Id field. -
Orders: Filter by pending orders
Optionally enter a symbol in the Symbol field, and select an order type in the Type field if you want more specific filtering. -
Positions: Filter by open positions
Optionally enter a symbol in the Symbol field, and select an position type in the Type field if you want more specific filtering.
-
-
Stop Loss: Specific the stop loss level. Select the unit, then enter the value.
Supported units:
- Price: A fixed stop loss price
- Point Change: A specific number of points away from the entry price
- % Change: A percentage distance from the entry price
Notes:
- Leave the Value field blank if you don't want to set a stop loss.
- You can set the point value multiplier in the Pip Receiver using the Point Multiple input.
- Take Profit: Specific the take profit level. As same as Stop Loss.
-
Breakeven: Update breakeven settings.
- No Update: Keep the existing breakeven settings
- New Setup: Apply a new breakeven configuration
- Remove: Delete the current breakeven setup
- Pip Trailing Stop: Update a pip trailing stop.
- No Update: Keep the existing trailing stop settings
- New Setup: Apply a pip trailing stop configuration
- Remove: Delete the current trailing stop setup
- ATR Trailing Stop: Update a ATR trailing stop.
- No Update: Keep the existing trailing stop settings
- New Setup: Apply a ATR trailing stop configuration
- Remove: Delete the current trailing stop setup
💡 Message Parser
How to Use
- Copy a message you generated with the Message Generator or one you wrote yourself
- Paste the message into the input box
- Review the parsing result
Parsing Results
-
If the message is invalid
There's an issue with the content. You'll see an error message explaining what went wrong. -
If the message is valid
You'll get a detailed explanation of how the action will be executed in your trading account.