Master Multi-Timeframe Trading Confirmations
Combine three TradingView indicators (a higher-timeframe bias, a mid-timeframe setup and an execution-timeframe entry) into one strategy. LEFTURN waits until all three agree, in order and on time, then sends one trade instruction to your Publisher EA. Every alert, setup and trade is recorded so you can measure what works.
Open Webhook Portfolio+ Create PortfolioA Webhook Portfolio is a trading strategy made of three TradingView alerts that must line up before LEFTURN sends a single trade.
The first two alerts, on bigger timeframes, find the trend. The third, on a small timeframe, times the entry. A trade only happens when all three agree, in order, and each one arrives before the time window of the one before it runs out. Miss a window and the setup expires: no trade.
Single Webhook = one signal, independently processed. Webhook Portfolio = three sequential confirmations, one authorized trade.
Menu: My Marketplace › Webhooks · key starts with lfwh_
Menu: My Marketplace › Webhook Portfolio · keys start with lfwp_
| Single Webhook | Webhook Portfolio | |
|---|---|---|
| Alerts needed for one trade | 1 | 3, in order |
| Keys | One lfwh_ key | Three lfwp_ keys per portfolio |
| Webhook URL | https://master.manage.forex/api/rockstar/tv.php (the same for both) | |
| Time limits | Signal valid about 2 minutes | Your windows between stages, plus about 2 minutes for the EA |
| Label in your signal and trade history | ⚡ Single Webhook | ◈ Webhook Portfolio: name |
Decides the market regime: bullish, bearish, consolidating or neutral. It is a context, never an order. Typical charts: Weekly, Daily, 12H, 8H.
Sends "state"
Confirms an opportunity is forming inside that context. It must agree with Stage 1 under your rules, and arrive within Window A. Typical charts: Daily to 1H.
Sends "state"
The entry itself: buy or sell, on the same side as the setup, within Window B. Typical charts: 1M to 1H. It can carry price, stop and target.
Sends "action"
Trader Area › My Marketplace › ◈ Webhook Portfolio › + Create Portfolio.
Name it (e.g. "EUR/USD Multi-Timeframe Portfolio"), choose the instrument (EURUSD) and add a short description. All three stages must use this instrument.
For each stage: the timeframe, the TradingView indicator name and, if you like, a short strategy description. Set how long the bias stays valid and the two windows.
a: the chart the alert comes from · b: for your records and analytics · c: Window A, independent of the chart timeframe
Direction compatibility (trend or range), trade direction, automatic publishing, entry settings, daily limit and notifications. See Portfolio Settings.
The portfolio is saved as a Draft and its page opens. In the box Set up your 3 TradingView alerts, press Generate all 3 keys. Yes, one key per stage: the key tells LEFTURN which stage an alert is for. Each key is shown once and is already put into that stage's messages.
d: only the last four characters are shown after the first time · e: the examples already contain your key right after you generate it
Open the Stage 1, Stage 2 and Stage 3 tabs. Each tab says which chart to open, how many alerts to make and gives each message with a Copy message button, worked out from your rules. The checklist ticks Alerts heard as each stage sends its first alert.
| Your rules | Stage 1 alerts | Stage 2 alerts | Stage 3 alerts |
|---|---|---|---|
| Trend, buys and sells | Bullish, Bearish | Bullish, Bearish | BUY, SELL (or 1 from a TradingView strategy) |
| Trend, buys only | Bullish (+ optional Bearish to cancel) | Bullish | BUY |
| Trend, sells only | Bearish (+ optional Bullish to cancel) | Bearish | SELL |
| Range | Consolidating (+ optional trend alerts) | Bullish, Bearish | BUY, SELL |
Press Activate. LEFTURN checks that every stage has a timeframe, an indicator name and a key. From now on alerts are processed.
The easiest way: the portfolio page's Set up your 3 TradingView alerts box writes every message with your keys in it. The details below are for reference. Webhooks need a paid TradingView plan with 2-factor sign-in. In each alert, tick Webhook URL and paste https://master.manage.forex/api/rockstar/tv.php, then paste the message for that stage.
{"key":"lfwp_YOUR_STAGE_1_KEY","state":"bullish","symbol":"{{ticker}}","tf":"{{interval}}","indicator":"RSI Directional Bias","time":"{{timenow}}","id":"{{timenow}}"}{"key":"lfwp_YOUR_STAGE_2_KEY","state":"bullish","symbol":"{{ticker}}","tf":"{{interval}}","indicator":"MACD Momentum","time":"{{timenow}}","id":"{{timenow}}"}{"key":"lfwp_YOUR_STAGE_3_KEY","action":"buy","symbol":"{{ticker}}","tf":"{{interval}}","price":{{close}},"sl_pips":20,"tp_pips":40,"time":"{{timenow}}","id":"{{timenow}}"}| Field | Stages | What it does |
|---|---|---|
key | 1, 2, 3 | That stage's key (each stage has its own). Required. |
state | 1, 2 | bullish, bearish, consolidating or neutral. Also understood: bull, up, bear, down, range, sideways, uncertain. |
action | 3 | buy or sell (also long, short, or {{strategy.order.action}}). |
symbol | 1, 2, 3 | {{ticker}}. Must be the portfolio's instrument; prefixes like OANDA: are removed. |
tf | 1, 2, 3 | {{interval}}. Recommended: LEFTURN rejects an alert from the wrong chart timeframe. |
id | 1, 2, 3 | {{timenow}}. Stops duplicates from counting twice. |
time | 1, 2, 3 | {{timenow}}. Kept as the alert time for your records; timing uses LEFTURN's receipt time. |
indicator | 1, 2, 3 | Optional label stored with the alert. |
price, sl, tp, sl_pips, tp_pips, type, distance, expire, why | 3 | Optional trade details, the same as a single webhook. Without them your Publisher EA (or the portfolio's strategy) decides. |
Every alert gets a short JSON answer, for example {"ok":true,"stage":2,"result":"confirmed","detail":"Bullish setup accepted. Waiting for a Stage 3 BUY until Nov 15, 20:41."}. result is confirmed, accepted (recorded, no change), ignored, rejected, or "duplicate":true. A wrong or replaced key gets HTTP 401.
| State | Meaning | Example indicator conditions |
|---|---|---|
| Bullish | Buyers in control | RSI above 50 and rising · Stochastic %K above %D out of oversold · MACD above signal and zero · higher highs and higher lows |
| Bearish | Sellers in control | RSI below 50 and falling · Stochastic %K below %D out of overbought · MACD below signal and zero · lower highs and lower lows |
| Consolidating | Range or regime without trend | RSI between 40 and 60 · MACD flat near zero · equal highs and lows inside a box |
| Neutral | Unclear | Mixed readings, news pending, or your indicator can't decide. A neutral bias never trades. |
These are teaching examples, not recommendations. Your Pine Script decides the state; LEFTURN only checks that the states line up.
Bullish → Bullish → BUY
Bearish → Bearish → SELL
Consolidating or neutral Stage 1: no trades until the bias changes.
Consolidating → Bullish → BUY
Consolidating → Bearish → SELL
Use a Stage 2 indicator that fires at the edges of the range.
A signal that doesn't fit is recorded with the reason and the setup keeps waiting. LEFTURN never re-reads a bearish signal as bullish.
Window A is the time allowed from Stage 1 to Stage 2. Window B is the time allowed from Stage 2 to Stage 3. The bias also has its own validity. Each is separate from the chart timeframe.
A different Stage 1 state invalidates the setup in progress. A Stage 2 in the opposite direction while waiting for Stage 3 invalidates it too. After a setup ends (traded, expired or invalidated), a new Stage 2 can start another setup on the same bias as long as that bias is still inside Window A and its validity. Stage 3 always needs a fresh Stage 2.
| Setting | What it does |
|---|---|
| Name, instrument, description | Shown on the portfolio and saved with every setup. The instrument is enforced on every alert. |
| Stage timeframe | The chart each stage's alert must come from (checked when the alert sends tf). |
| Indicator name, strategy description | Your labels, kept in the history and analytics. |
| Bias stays valid for | How long a Stage 1 state counts. 15 minutes to 30 days. |
| Window A | Stage 1 → Stage 2. 5 minutes to 30 days. |
| Window B | Stage 2 → Stage 3. 1 minute to 14 days. |
| Direction compatibility | Trend-following or range (chapter 6). |
| Trade direction | Buys and sells, buys only, or sells only. |
| Publish automatically | On: the instruction goes out the moment Stage 3 qualifies. Off: you have 15 minutes to send it from the portfolio page. |
| Entry, stop, target and risk | Your Publisher EA inputs, or one of your strategies. Stage 3 fields override. |
| Maximum trades a day | 1 to 10 instructions per portfolio per day. |
| Only accept TradingView | Refuses alerts that don't come from TradingView's servers. Switch off only to test. |
| Notifications | LEFTURN Inbox messages for each stage, qualified, expired, invalidated, instruction sent, broker execution and failures. |
| Always on | Three confirmations, strict order, one setup at a time, one instruction per setup, duplicate protection. |
When the three stages qualify, LEFTURN creates exactly one trade instruction and puts it in the same queue as your single webhook signals. Your Publisher EA collects it (usually within 2 seconds), places it on your MT5 account, publishes the trade plan as usual and reports back. Each step is recorded separately, so "sent" is never confused with "filled".
Already trade with an EA in MT5 (yours, or LEFTURN Rockstar Strategy)? Let it be Stage 3. On the portfolio's Edit page choose Stage 3 comes from: My Entry EA (MT5). Stages 1 and 2 stay TradingView alerts with their own keys; Stage 3 needs no key and no alert.
History › Activity log lists every alert and every decision, newest first. Filter by date, stage and status, or export it as CSV.
| Status | Meaning |
|---|---|
| Waiting for Stage 1 / 2 / 3 | The setup is in progress; the countdown shows the time left. |
| Qualified | All three confirmations arrived in order. |
| Sent to the EA / EA took it | Instruction created / collected by your Publisher EA. |
| Trade placed | MT5 accepted the order; the fill is shown when it happens. |
| Expired: no trade | A window ran out. |
| Invalidated: no trade | Stage 1 changed, or Stage 2 turned the other way. |
| Not executed / Rejected | The EA refused or never collected it, or the daily limit was reached. The reason is in the timeline. |
| Rejected alert | Wrong instrument, wrong timeframe, out of order, wrong direction, late, or the portfolio is paused. Nothing changed. |
Analytics counts signals, setups, expiries and instructions, then measures results from closed trades only. Results are in R (multiples of the risk on each trade), because that is how LEFTURN records each trade plan's result.
| Measure | How it's calculated |
|---|---|
| Win rate | Wins ÷ (wins + losses). Trades within ±0.05R are break-even and not counted either way. |
| Expectancy | Net R ÷ closed trades: what an average trade has earned. |
| Profit factor | Total R won ÷ total R lost. Above 1.0 means the wins outweigh the losses. |
| Max drawdown | The deepest fall of the running R total from its high point. |
| Confirmation time | Average minutes from Stage 1 to Stage 2, Stage 2 to Stage 3, and Stage 1 to Stage 3. |
| By rules version | The same results split by each saved version of your rules (timeframes, windows, indicators). |
| Single vs Portfolio | Your single-webhook trades next to your portfolio trades. |
Check the Webhook URL is exactly https://master.manage.forex/api/rockstar/tv.php, the alert's Webhook URL box is ticked, and the message is valid JSON. TradingView's alert log shows the answer LEFTURN sent.
The key was mistyped or replaced. Generate a new key on that stage card and paste it into that stage's alert only.
The alert was set on a different symbol. All three alerts must be on the portfolio's instrument.
The alert's {{interval}} doesn't match the stage's timeframe. Move the alert to the right chart, or edit the stage timeframe.
Stages 1 and 2 haven't both qualified yet, or the last setup already sent its instruction. This is working as designed.
A window ran out. Consider longer windows if your setups often need more time.
You tested from another tool. Use the testing switch on the portfolio page, then switch it back.
Add "id":"{{timenow}}". Duplicates are recorded once and never count twice.
Open the setup's timeline for the EA's reason. Check MT5 is running with the Publisher EA and Algo Trading on, AllowLiveTrading on real money, and the New York close window.
Activate or resume it on the portfolio page. Alerts during a pause are recorded but never trade later.
Yes. Edit the portfolio and choose Stage 3 comes from: My Entry EA (MT5). Your EA places its orders; the Publisher EA (v4.08+) asks this portfolio before publishing each one. Approved orders become the portfolio's trade; the others are cancelled, or kept without a plan if you chose that.
Yes. Each stage has its own key (lfwp_…), because the key tells LEFTURN which portfolio and which stage the alert belongs to. All three use the same webhook URL. One press of "Generate all 3 keys" makes them.
At least one per stage, often two: for a portfolio that trades both ways, Stage 1 needs a Bullish and a Bearish alert, Stage 2 the same, and Stage 3 a BUY and a SELL (or one alert from a TradingView strategy). The portfolio page tells you exactly which ones for your rules.
Not by itself. Extra confirmations filter trades; they don't remove risk or guarantee results. Use Analytics to see whether your portfolio actually beats your single webhooks over enough trades.
No. Stage 1 and Stage 2 alerts never trade. A Stage 3 alert trades only when Stages 1 and 2 already qualified, in order, inside their windows.
No. Each portfolio gets three new keys (they start with lfwp_). Single webhook keys (lfwh_) can't complete a portfolio, and portfolio keys can't send single trades.
No. Both kinds use https://master.manage.forex/api/rockstar/tv.php. The key inside the message tells LEFTURN which kind it is.
It counts once. Keep "id":"{{timenow}}" in every message: an alert with an id LEFTURN has already seen is recorded as a duplicate and changes nothing. Without an id, an identical message within 15 seconds is treated as the same alert.
It is recorded as rejected ("Stage 3 can't trade on its own") and nothing happens. It does not wait to be used later.
The setup is already expired ("Setup Expired — No Trade"). Late signals never revive an expired setup; the next setup needs Stage 2 again.
A different Stage 1 state ends the setup in progress (Invalidated) and, if the new bias can trade, starts a fresh one. A repeat of the same state restarts the Stage 1 → 2 window while the setup still waits for Stage 2.
No. The chart timeframe is where the indicator runs; the window is how long LEFTURN waits. Set them separately.
LEFTURN times every confirmation by the moment its server received the alert, shown in the portal's time zone (Eastern). The time TradingView put in the alert is kept beside it as the alert time.
Yes, with Direction compatibility set to trend-following and Trade direction set to Buys and sells. Or limit it to buys only or sells only.
Stage 1 must say consolidating. Stage 2 then picks the side (bullish = buy, bearish = sell), and Stage 3 must match that side.
Not in this version: one setup at a time per portfolio. Create a second portfolio (for another instrument or another idea) if you need more.
Your Publisher EA collected the trade instruction from LEFTURN. It isn't a trade yet. "Broker order confirmed" means MT5 accepted the order; "Broker fill" means it filled.
Open its timeline. Common reasons: the Publisher EA wasn't running (the instruction expires after about two minutes), AllowLiveTrading is false on a real-money account, the New York close (4:30 to 6:30 PM), the daily trade limit, or one plan per instrument per day.
Nothing is lost. Each rule change is saved as a new version. Old setups and trades keep the version and the name they were made under.
Pause stops new setups and cancels the one in progress (and any instruction the EA hasn't collected); alerts are still recorded. Archive switches the three keys off for good and keeps all history and analytics.
Win rate only counts closed trades. Signals and setups that never filled are not trades and are never counted as wins or losses.