Start with one change you can see.
Begin with your first edit, or choose a module below.The learning path
Section titled “The learning path”Start with Foundations if you are new to code. Early lessons need only TradingView; connection lessons state their PineConnector prerequisites and demo checks. Otherwise, choose a module or find a task. Each lesson links to useful background.
Pine Script foundations
Find your way around Pine Editor, make a visible change, and create your first practice alert.
Build signals
Combine rules, define entries and exits, and choose when an indicator should send a message.
Connect to PineConnector
Build the intended message, choose its destination and size, then verify the full path on demo.
Work with strategies
Understand simulated orders, select the matching alert events, and review an existing strategy before connecting it.
Check and maintain your workflow
Trace a missing event, review a higher-timeframe filter, and complete a demo workflow you can explain.
I want to…
Section titled “I want to…”Find the lesson for the change you need.
Find the change you need
- Change something in a scriptPine Script foundations
Create and save an indicator, change a value, and check the result on your chart.
- Understand why a signal repeatsPine Script foundations
Distinguish a condition that stays true from a new crossing event.
- Update an alert after editing codePine Script foundations
Create a text-only alert, inspect its log, and replace its saved inputs after a change.
- Add an editable setting to a scriptPine Script foundations
Recognise the values your script uses and expose the ones you want to change.
- Fix a script that will not compilePine Script foundations
Read an error message, locate the affected line, and test a small correction.
- Require two conditions before a signalBuild signals
Use more than one condition without losing track of why a signal appears.
- Create a separate exit signalBuild signals
Give entry and exit events distinct conditions and visible chart markers.
- Allow signals only during a sessionBuild signals
Limit a condition to a chosen session and inspect what happens outside it.
- Choose between alert() and alertcondition()Build signals
Choose the indicator alert mechanism that fits your script and message.
- Build a message from Pine Script valuesConnect to PineConnector
Assemble a message and identify which parts control the action and destination.
- Choose sizing and stop-loss unitsConnect to PineConnector
Choose explicit sizing and stop units and check their dependencies before testing.
- Send an indicator's messages to PineConnectorConnect to PineConnector
Connect the indicator's intended events to the correct PineConnector alert route.
- Check whether the intended demo order arrivedConnect to PineConnector
Follow one event through the TradingView log, PineConnector result and intended demo account.
- Close a position or reverse directionConnect to PineConnector
Explain the requested exit or direction change and verify what happens to existing positions.
- Change automation without leaving old alerts runningConnect to PineConnector
Replace a saved alert after a change and account for older active copies.
- Understand indicator and strategy differencesWork with strategies
Recognise strategy code and distinguish simulated orders from a broker outcome.
- Choose order fills or alert() callsWork with strategies
Identify which strategy event should send a message and avoid listening to overlapping routes.
- Connect a strategy you already useWork with strategies
Inspect a strategy's intended actions and choose an appropriate adaptation path.
- Check exits, reversals and simulated fillsWork with strategies
Review entries, exits, timing and position changes before relying on an adapted strategy.
- Find why an expected trade is missingCheck and maintain your workflow
Locate the last observed stage before changing a script or repeating a request.
- Add another timeframe to a signalCheck and maintain your workflow
Use a confirmed higher-timeframe value and understand the timing tradeoff.
- Check an entire workflow before expanding itCheck and maintain your workflow
Adapt a workflow, document its expected actions, and verify its demo results and cleanup.
No lesson matches. Try a shorter term or choose another module.
Check your work as you learn
Section titled “Check your work as you learn”Complete each exercise in your own practice copy. Inspect the chart, alert log or demo-account result it asks for. Navigation does not check your account or certify trading readiness; a picture, copied example or successful compilation does not verify the complete workflow.
Add PineConnector alerts
Section titled “Add PineConnector alerts”- Add alerts to your script: existing Pine v5 indicator and strategy examples.
- Pine Script converter to convert supported v5/v6 source, then configure its PineConnector inputs in TradingView.
- Connect a Pine Script to PineConnector: manual adaptation and prerequisites.
- Connect without code access: use suitable existing alert conditions.
Work with an older script
Section titled “Work with an older script”Convert Pine Script to v5 or v6 for legacy examples. Upgrading the language and adding PineConnector alerts are separate tasks.
Review messages and verification
Section titled “Review messages and verification”Check commands, broker symbols, sizing and required parameters in PineConnector Syntax. Follow Test your setup, then verify your script’s realtime alerts and resulting demo trades.
Browse Strategy examples or return to Learn PineConnector.












