How to setup an alert in ProfitView & TradingView.
For your indicators and custom strategies on TradingView to be able to place and cancel orders, check or close positions etc. on an exchange through ProfitView, you have to create an alert on TradingView.
How it works
Put either the name of a script you defined in the ProfitView options window under Setup: PV Alerts or some of the commands listed under Setup: Commands directly into the alert's Message section.
- Step 1 Create a TV alert On TradingView (Alt+A), put the name of a PV Alert or commands into the alert's
Message. - Step 2 ProfitView intercepts it Each line of the message is looked up as the name of a PV Alert (optionally filtered by its filter options).
- Step 3 Orders are executed The matching PV Alert runs. If none matches, the commands are executed directly as a legacy alert.
Interception is done by directly listening to TradingView's event stream and also intercepting events in any open TradingView tabs as a backup. You have to log in to your TradingView account at least once while ProfitView is installed for it to get the necessary credentials.
Basic syntax for entries
10Setup: Commands in the app itself for an up to date list of available commands!