TradingView

Where the world does markets

50M+

Traders and investors use TradingView

#1

Top website in the world for all things investing.

1.5M+

Mobile reviews with 4.9 average rating.

10M+

Custom scripts and ideas shared by users.

Pine Script

Pine Script, TradingView's proprietary scripting language, stands out as a powerful tool designed to meet the diverse needs of traders and analysts. Its unique capabilities enable users to create custom indicators, strategies, and alerts with remarkable ease and precision. Unlike many other trading platforms, TradingView offers an integrated development environment directly within its interface, making it seamless for users to transition from idea to implementation. This tight integration ensures that Pine Script can leverage the full potential of TradingView’s advanced charting tools and real-time data, providing a robust platform for technical analysis.

What makes Pine Script particularly special is its simplicity and accessibility. The language is designed with both novice and experienced programmers in mind, offering a syntax that is easy to learn while still being capable of complex functions. With a comprehensive library of built-in functions and a supportive community, users can quickly develop and deploy their scripts. Pine Script also supports backtesting, allowing traders to test their strategies against historical data to optimize performance before executing them in live markets. This combination of ease of use, versatility, and powerful features makes Pine Script an indispensable tool for anyone looking to enhance their trading experience on TradingView.

TradingView Alerts & Webhooks

TradingView offers a powerful alerting system that allows you to receive notifications when market conditions meet your specific criteria. Imagine getting an SMS alert right to your phone when a stock price crosses a key level, or a notification on your desktop when an indicator generates a buy signal.

TradingView alerts go beyond simple notifications. With webhooks, a feature available to higher tier plans, you can automate actions based on your alerts. Webhooks act like messengers, sending data from TradingView to another application whenever an alert is triggered. This opens up a world of possibilities. You could send trade execution commands to a broker, receive push notifications to a custom trading app, or even trigger sound alerts on your computer. Webhooks essentially turn your TradingView alerts into powerful triggers for automated actions, keeping you informed and potentially one step ahead of the market.

Visit Wikipedia for more on: Webhooks

Conditions

TradingView offers a powerful alert system that goes beyond just price notifications. You can receive alerts based on various conditions, including:

Price Movements

Get notified when a price crosses a specific level, goes above/below a certain value, or breaks through resistance/support levels.

Technical Indicators

Set alerts based on any pinescript TradingView indicator, including community-created ones. You can use predefined conditions or create custom triggers.

Strategies

Receive alerts whenever a strategy executes an order.

Custom Drawings

Create trend lines, channels, and other drawings on your charts and get alerts based on price interaction with those drawings.

Alert Types

Various alert types provide additional flexibility when determining exactly what type of alert you want to trigger.

Crossing

Receive alerts when the price crosses a specific level. This is the most common alert, essentially signaling "inform me when the price reaches X" which activates when the current price intersects the preset value at the time of alert creation. 

Crossing Up / Crossing Down

This is a refined variation of the Crossing alert where you can determine if the price crosses during an upward or downward trend. The Crossing Down alert activates when the current price moves down past the set value in the alert. Conversely, the Crossing Up alert notifies you when the price surpasses the set value in an upward direction.

Greater Than/Less Than

Be alerted when the price breaks above or below a certain level. This alert is useful when you need to be informed not just when the price reaches a specific level, but actually surpasses it. The Greater Than alert is activated when the price series attains a value exceeding the one specified in the alert. On the other hand, the Less Than alert goes off when the series drops to a value below the predetermined level in the alert.

Channel Alerts

Get notified when the price enters, exits, stays inside, or moves outside a defined price channel. Channels represent specified limits above and below a certain price, typically outlining the normal random fluctuations in a stock's price. A movement across these channel boundaries is often considered significant or unusual. When the price series enters a predefined channel, an Entering Channel alert is activated. Conversely, an Exiting Channel alert occurs when the price series leaves the channel. You can set the boundaries of these channels based on series or specific levels, or a mix of both. These boundaries help in monitoring the position of the last bar in relation to the channel.

Moving Up/Down

Get notified when the price enters, exits, stays inside, or moves outside a defined price channel. This alert is a variation of the Crossing Up / Crossing Down alert, with an added element of time. It notifies you if the stock price increases or decreases by $X within a specified time frame (measured in bars). The Moving Up alert activates if the price ascends by a value you determine in the alert, all within a predefined number of bars. Similarly, the Moving Down alert functions in the same way but for when the price declines.

Moving Up%/Down%

Get notified when the price enters, exits, stays inside, or moves outside a defined price channel. The Moving Up % alert operates similarly to the one mentioned previously, but it deals with percentage changes instead of fixed dollar amounts. This alert is activated when the price increases by a specific percentage that you set. Likewise, the Moving Down % alert is triggered when the price decreases by the predetermined percentage.

Drawing Alerts

You can also set alerts based on some technical drawings you create on the chart. These alerts are dynamic and adjust automatically if you modify the drawings. Drawing alerts depend on the chart resolution you're using.

Sending Webhooks with CrossTrade

With CrossTrade sending your TradingView webhooks is simple. Select the condition type and add the correctly formatted message instructions into the Message field. On the notifications tab, you'll check the box for Webhook URL and supply your specific CrossTrade URL.

alert window for sending webhooks

Start using TradingView Today

Sign up for a free TradingView account and find your market.
Visit TradingView