Sign in · Print
Manual v4.08 · for Publisher EA v4.08 (your download: v4.0.6)

Publisher EA manual

Publisher EA has no strategy of its own. You decide the entries (your trades, TradingView alerts or the lines you draw); it publishes them as trade plans with 4 charts and manages the exits.

Open LEFTURN (traders)
Prefer an AI to explain it?

Copy the whole manual as plain text and paste it into ChatGPT, Claude or Gemini. Then ask anything, e.g. "How do I set up a limit entry from a TradingView alert?"

Download .txt
MetaTrader 5 on WindowsA PC or a Windows VPS, signed in to your personal trading account.
Your Publisher KeyTrader Area › Downloads › Publisher EA. Starts with lfrk_, shown once.
The EA fileLEFTURN_Publisher_EA_v4.06.ex5 · v4.0.6

Install it

Five steps. Do them in order.

  1. Make your Publisher Key

    Add your MT5 account under My Accounts, then on Downloads › Publisher EA press Generate Publisher Key and copy it straight away. It's shown once. Lost it? Regenerate: the old key stops working.

  2. Download and copy the EA into MetaTrader 5

    Press Download Publisher EA on the same page. In MT5: File › Open Data Folder › MQL5 › Experts, paste LEFTURN_Publisher_EA_v4.06.ex5 there.

    Back in MT5, right-click Navigator › Expert Advisors and press Refresh.

  3. Allow the LEFTURN address

    Tools › Options › Expert Advisors: tick Allow algorithmic trading and Allow WebRequest for listed URL, then add:

    https://master.manage.forex

    Forgot it? The EA tells you: a pop-up, and a red card on its dashboard ("Allow LEFTURN in MT5") until it's added.

  4. Drag it onto one chart and paste your key

    Any symbol. One chart per MT5 account. On the Inputs tab the Publisher Key is the very first input, on its own. Set these and leave the rest for now:

    PublisherKeyyour key (lfrk_…)
    TraderNameyour name, shown on the chart (optional)
    PlanPublishpublish at once, or save as a draft in your Trade Journal
    AllowLiveTradingtrue (default) trades demo and real money; set false to keep a real-money account from trading while you test

    Press OK. The Algo Trading button in the MT5 toolbar must be green.

  5. Check it's online

    The dashboard on the chart says Connected, and within a minute the Publisher EA page shows Online with your broker and account. To test without trading, set TestConnectionNow = true: the chart says "connection test PASSED".

    Your trading statement uploads by itself: the chart shows Statement: sent, and it appears under My Performance. No second EA needed. The Free plan uses one MT5 account.

Enter trades your way

Use one, two, three or all four. Every trade becomes a trade plan with your 4 charts.

Your own trades

  1. Place the trade or pending order in MT5 with a stop loss and take profit.
  2. Press Instant Publish Trade Plan or Upload Trade Plan to Draft on the chart.

TradingView alerts

  1. Create your webhook key on Webhooks.
  2. In the alert, paste the webhook URL and one of the example messages.
  3. The EA places market, limit or stop orders (input EntryType).

Lines you draw

Trendline Legend / Commands: Lime = Pending Limit · Purple = Pending Stop · Yellow = Triggered.

Lime: nothing is placed when you colour it. The EA follows the line, also on an angle, and enters only when price touches it.

Each line you colour shows on every chart of that symbol (all timeframes). Move or delete it on any chart and it changes everywhere.

Purple: a candle closes beyond the line and holds, then the EA enters.

A traded line turns yellow. Recolour it to use it again.

Your own strategy EA My own EA: ON

Keep the EA you already trade with. Run it on one chart and the Publisher EA on another chart of the same MT5. Every new pending order or trade your EA places is published as a trade plan with your 4 charts, then followed until it closes. Your EA needs no change and no key.

Single trade or basket

Decide how the EA handles more than one signal on the same symbol. Input sections 4 and 10.

Single

One trade per symbol and direction.

BUYBUY signal · skippedBUY signal · skipped

Every trade is its own trade plan. Use it when your strategy never adds to a position.

Basket default

More signals in the same direction are added, up to MaxPositionsPerBasket (5).

BUY 1BUY 2BUY 3

All of them belong to the first trade plan ("Latest trade update: 3 positions") and are copied to followers.

Exits work on ExitsApplyTo

  • The whole basket together (default): break even, trailing and targets use the basket's average price and close every trade together.
  • Each trade on its own: every trade gets its own break even and trail from its own entry, and a target closes only that trade.

A signal the other way OppositeSignal

  • Close the opposite trades first, then enter (default): a sell signal closes your buys, then sells. Best for strategies that flip.
  • Keep both: hedge.
  • Skip: ignore it while the opposite trades are open.

How exits work

Break even is on from the start; the rest you switch on when you want them.

On from the start

  • Break even ON: once 15 pips in profit, the stop moves to the entry (basket: the average price) + 2 pips.
  • Lot size from your equity: 0.01 per $10k on major pairs, per $20k on gold, BTC and indices, per $15k on other pairs.

Turn on when you want them sections 12 and 13

  • Trail behind a moving average, and close when a candle closes beyond it
  • Trail behind the previous candle's low (buys) or high (sells), on 15m, 1h, 4h…
  • Close when a candle closes beyond the previous candle
  • Close at a % / money / pips target
  • Close every trade on the account at x% profit

The rules

Every alert is tradedOne trade plan per day is published (section 1). Later trades still trade; they just get no plan.
Daily loss limit 2.9%Down 2.9% today (closed + open trades)? Everything closes and new trades pause for 24 hours (section 9).
Account profit target 1%All open trades together at +1% of the balance: everything closes (section 9).
SessionsSydney, Tokyo, London and New York are all on (section 2). Turn one off to skip it.
Stop and target for a planA trade with "No stop loss" or "No take profit" is traded, but gets no trade plan.
No entries 4:30–6:30 PM New YorkSpreads are widest at the daily close. You get an alert if a trade opens then.
One Publisher EA per accountA second copy on another chart stays idle.
Keep MT5 runningA Windows VPS is best. Changes and closes are sent while MT5 is open.

Set up your 4 chart pictures

Every trade plan shows 4 pictures of the traded symbol, from your lowest timeframe to your highest. You make 4 MT5 templates once; they work on every symbol.

Picture 115mTemplate1Your entry timeframe
Picture 21hTemplate2Structure
Picture 34hTemplate3Bigger picture
Picture 41DTemplate4The trend
  1. Open a clean chart

    Any symbol (EURUSD is fine). Make sure Publisher EA is not on this chart. Switch it to your lowest timeframe (e.g. 15 Minutes).

  2. Make it look the way you want

    Add your indicators, colours and grid. Your trendlines don't need to be there: the EA adds your lines from your charts of the traded symbol.

  3. Save it as Template1

    Right-click the chart › Templates › Save Template…, type Template1, Save. LEFTURN1 works too: the EA finds either name, and tells you in Toolbox › Experts which one it used.

    Trading
    Depth of Market
    Templates ▸Save Template…Remove TemplateDefault
    Refresh
    Properties… F8
  4. Repeat for the higher timeframes

    Switch the same chart to 1 Hour, adjust if you like, save as Template2. Then 4 Hours as Template3 and Daily as Template4.

  5. Match the timeframes in the EA

    Input section 14: Picture 1 to 4 timeframes default to 15m, 1h, 4h, 1D. A scalper might use 1m, 5m, 15m, 1h: change them there; the template names stay Template1–4.

The dashboard on your chart

Top left of the chart. The ▲ / ▼ in its header folds it to one line and back. It's left out of your trade-plan pictures.

Every input, explained

When you drag the EA onto a chart, MT5 opens this window. Here's where everything is, then every input group by group.

Expert – LEFTURN_Publisher_EA_v4.06✕
AboutCommonInputs1Dependencies
VariableValue
////////////// == PUBLISHER KEY == //////////////
ab► Publisher Key (from LEFTURN > My Accounts)lfrk_••••••••••••2
 
////////////// == 1. YOU AND YOUR TRADE PLANS == //////////////
abYour name (shown on the chart and your trade plans)Mike
≡Allow trading on a REAL-money accounttrue ▾
01Trade plans per day (all trades still trade)1
 
////////////// == 6. STOP LOSS (used when the alert or line has none) == //////////////
≡Stop lossFixed distance (set for each market below) ▾
½Forex pairs: stop loss in pips (20 = 0.0020 on EURUSD)20.0
½Gold XAUUSD: stop loss in $ (10 = 4000.00 to 3990.00)10.0
LoadSave4OK3CancelReset
  1. Inputs tab. The Publisher Key comes first, on its own. Then 15 numbered sections, each starting with ////// == TITLE == ////// after an empty row, so you can take one section at a time.
  2. Double-click a value to change it: type text, or pick from the list.
  3. OK starts the EA with these settings.
  4. Save keeps your settings in a file; Load brings them back on another chart or computer.

MT5 shows each input's description; the name in grey below is its short name (it's what you see if you hover).

PUBLISHER KEYThe first input, on its own.
PublisherKey(empty)
Your Publisher Key. Traders: from Downloads › Publisher EA (lfrk_…): runs everything below. A statement key from My Performance (LFPK-…) runs the EA statement-only: it never trades. Without a key the EA doesn't start.
Change it: Always: paste your key.
1. YOU AND YOUR TRADE PLANSWho you are, real-money trading, and how many trade plans are published.
TraderName(empty)
Your name. Shown on the chart and on your trade plans.
Change it: Type your trading name.
TraderEmail(empty)
Your email, for LEFTURN only. Optional.
Leave as is
ShowNameOnCharttrue
Shows your name on the chart.
Change it: false if you share screenshots and want it off.
PortalURLhttps://master.manage.forex
The LEFTURN address the EA talks to.
Change it: Never.
AllowLiveTradingtrue
The EA trades on a real-money account too. false = the EA trades demo accounts only (a safety lock).
Change it: false while you are still testing on a live account.
AutoUploadPlanstrue
Turns the EA's trades into trade plans with your 4 chart pictures.
Change it: false only to test entries without publishing.
PlansPerDay1
How many NEW trade plans the EA publishes per day (New York day). Every alert is still traded: later trades simply get no plan. Extra trades that join an open basket update its plan and don't count. 0 = no limit.
Change it: Leave at 1: LEFTURN Marketplace traders publish one plan per day.
PlanPublishUse my LEFTURN setting
Where a new trade plan goes: follow your LEFTURN setting, publish on the Marketplace right away, or save it as a draft you publish yourself.
Change it: Draft if you want to check each plan before followers see it.
SendStatementtrue
Sends this account's trading history to your LEFTURN statement (My Performance) every few hours. Read-only: no second EA needed.
Change it: Free plan: one MT5 account. On another account the EA says so and sends nothing.
StatementAccountA broker account
Statement keys (LFPK-) only: is this a broker account or a prop-firm account? Shown on your statement.
Change it: A prop-firm account, for a challenge or funded account.
1b. ENTRY EA (your own strategy EA on another chart)Run any strategy EA (your own, or LEFTURN Rockstar Strategy v2) on another chart. Its orders are published here, with your 4 charts. That EA needs no change. Switch it on the dashboard: TRADES COME FROM, "My own EA".
EntryEAOntrue
Every NEW pending order or trade another EA places on this account becomes a trade plan (4 timeframes), followed until it fills, moves and closes, exactly like this EA's own trades. Orders that were already there when you turned it on are never published. Trade plans per day (section 1) still applies.
Change it: false if the other EA should not be published. The dashboard switch does the same without opening the inputs. A Webhook Portfolio whose Stage 3 is "My Entry EA" is asked first: if its Stages 1 and 2 don't agree, the order is cancelled (or kept without a plan, as set on the portfolio).
EntryEAMagics(empty)
Only orders with these EA ID numbers (magic numbers), separated by commas. Rockstar Strategy: 9001310 (HHLL) and 9001208 (trendlines). Empty = any EA.
Change it: When several EAs run on the account and only one should be published.
EntryEAMarkettrue
Also publish their instant (market) trades, not only pending orders. Subscribers get every copy as a limit at your price or better, so instant trades copy too.
Change it: false to publish pending orders only.
EntryEAManualfalse
Also publish trades you place by hand. Normally you publish those with the Publish / Draft buttons.
Change it: true to publish every hand-placed trade automatically.
EntryEANoStopsAdd my stop loss + take profit (sections 6-7)
A trade plan needs a stop loss and a take profit. When their order has none, this EA adds them from sections 6 and 7 (e.g. 20 pips and 1.5 x the stop), then publishes. "Leave it" = that order trades without a plan.
Change it: Leave it, if your EA uses hidden stops that must not be changed.
EntryEAWaitSec10
Many EAs place the order first and set the stop loss a moment later. The EA waits this many seconds before adding its own.
Leave as is
EntryEAExitsfalse
Also run break even, trailing and candle exits (sections 11-13) on their trades. Off = their own EA manages its exits; the daily loss limit and account profit target still cover them.
Change it: true if your EA has no exits of its own.
2. WHEN THE EA MAY OPEN TRADES (New York time)All four sessions are on: the EA can trade around the clock.
TradeSydneytrue
Open trades during the Sydney session: 5 PM to 2 AM New York time.
Change it: false to skip alerts and lines during Sydney.
TradeTokyotrue
Open trades during the Tokyo session: 7 PM to 4 AM New York time.
Leave as is
TradeLondontrue
Open trades during the London session: 3 AM to 12 PM New York time.
Leave as is
TradeNewYorktrue
Open trades during the New York session: 8 AM to 5 PM New York time.
Leave as is
BlockNYClosetrue
No new trades 4:30–6:30 PM New York (the daily close, when spreads are widest). Unfilled EA orders are cancelled then.
Leave as is
AlertTradeInWindowtrue
A pop-up if any trade opens 4:30–6:30 PM New York.
Leave as is
3. TRADINGVIEW ALERTS (WEBHOOK)Every alert LEFTURN receives is traded. These settings only change how.
WebhookOntrue
Trade your single TradingView alerts (webhooks). Also a switch on the dashboard: TRADES COME FROM.
Change it: false to stop alert trading on this account.
WebhookPortfoliosOntrue
Trade your Webhook Portfolio setups (three confirmations, one trade), and check your Entry EA's orders against a portfolio whose Stage 3 is "My Entry EA". Also a switch on the dashboard.
Change it: false to ignore portfolios on this account.
EntryTypeMarket order: enter right away
Market order = enter now. Limit order = wait for a better price. Stop order = wait until price moves further in your direction.
Change it: Limit if you want a better price than the alert's.
EntryDistancePips5
Limit or stop order: how far from the alert price the order goes, in pips* (see below).
Change it: With Limit / Stop entries.
PendingExpiryMin240
A limit or stop order not filled after this many minutes is cancelled. 0 = never.
Leave as is
AlertMayOverridetrue
An alert that sends its own "type" and "distance" uses them for that one trade.
Change it: false to always use the two settings above.
MaxSignalAgeSec60
Skips an alert that reaches MT5 more than this many seconds after TradingView sent it (protects you from late fills).
Leave as is
WebhookPollSec2
How often the EA checks LEFTURN for new alerts (seconds).
Leave as is
SymbolSuffix(empty)
Your broker's ending on symbol names, e.g. ".r" or "m", so EURUSD finds EURUSD.r.
Change it: If an alert says "symbol not found".
SymbolMap(empty)
Different names at your broker, e.g. XAUUSD=GOLD;US30=DJ30;NAS100=USTEC
Change it: If your broker names gold or indices differently.
AllowedSymbols(empty)
Only these symbols may trade, e.g. EURUSD,XAUUSD. Empty = all.
Change it: To lock alerts to a few symbols.
pips*
pips* = forex pips. On other markets 1 pip* is: Gold $1 · BTC $40 · Oil/Silver $0.02 · US30 5 points · NAS100 4 · US500 1 · GER40 3 · JP225 10. Used by the entry distance, trendlines, swing buffer, break even and trailing.
Leave as is
4. MORE THAN ONE TRADE ON A SYMBOLTake every signal (basket), or one trade per symbol. And what an opposite signal does.
PositionModeTake them all (up to the maximum below)
More signals in the same direction: take them all (a basket, managed and published as one trade plan), or only one trade per symbol and direction.
Change it: Only one if your strategy never adds to a trade.
MaxPositionsPerBasket5
The most trades in one direction on one symbol.
Leave as is
OppositeSignalClose my open trades, then take the new one
A buy signal while you hold sells (or the other way): close them first, keep both open, or ignore the new signal.
Change it: Ignore if you only want to exit with your stop and target.
MaxOpenTrades15
The most open trades + pending orders from this EA, all symbols together.
Leave as is
5. TRENDLINES (colour a line, the EA trades it)Draw a line on any chart and colour it.
TL_Ontrue
Trade the lines you colour (trendlines and horizontal lines).
Leave as is
TL_LimitColorLime
LIME = enter when price TOUCHES the line. Nothing is placed when you colour it; the EA follows the line (also on an angle).
Change it: Line below price = buy on the touch, above = sell.
TL_BreakColorPurple
PURPLE = enter when a candle CLOSES BEYOND the line and holds.
Leave as is
TL_UsedColorYellow
A traded line turns this colour. Colour it lime or purple again to re-use it.
Leave as is
TL_LimitOffsetPips0
Lime lines: enter this many pips* before price reaches the line. 0 = on the line.
Change it: e.g. 1–2 when price often turns just before your line.
TL_TouchMaxPips5
Lime lines: no trade if price jumps more than this many pips* past the line (a gap). The line then shows MISSED.
Leave as is
TL_AllChartstrue
Each line shows on every open chart of that symbol. Move, recolour or delete it on any chart and it changes everywhere.
Leave as is
TL_HoldCandles1
Purple lines: candles that must close beyond the line after the break.
Leave as is
TL_BreakEntryMarket order once the candle(s) closed beyond the line
Purple lines: enter at market, or a limit order at the middle of the breakout candle.
Leave as is
6. STOP LOSS (used when the alert or line has none)No stop, a fixed distance for each market, or a swing stop.
SLModeFixed distance (set for each market below)
Fixed distance = the 4 values below. Swing = beyond the lowest low (buys) or highest high (sells) of the last candles. No stop loss = the trade opens without one (it gets no trade plan: a plan needs a stop).
Leave as is
SLPips20
Forex pairs: stop loss in pips. 20 pips = 0.0020 on EURUSD, 0.20 on USDJPY.
Change it: Your usual forex stop.
SLGoldUSD10.0
Gold XAUUSD: stop loss in dollars of price. 10 = from 4000.00 to 3990.00.
Leave as is
SLBitcoinUSD500
Bitcoin BTCUSD: stop loss in dollars of price. 500 = from 90000 to 89500.
Leave as is
SLIndexPoints50
Indices (US30, NAS100, US500, GER40…): stop loss in points. 50 = from 45000 to 44950.
Leave as is
SLSwingCandles10
Swing stop: how many closed candles to look at.
Leave as is
SLSwingBufferPips3
Swing stop: extra room beyond that low or high, in pips*.
Leave as is
SLSwingTFcurrent
Swing stop: timeframe (current = the alert's or the line's chart).
Leave as is
Other markets
Silver, oil, ETH and other markets use the forex value (SLPips), converted with the pips* table.
Leave as is
7. TAKE PROFIT (used when the alert or line has none)A multiple of the stop, a fixed distance for each market, or none.
TPModeA multiple of the stop loss (risk : reward)
Risk : reward = take profit is the stop distance × the number below. Fixed distance = the 4 values below. No take profit = the trade opens without one (no trade plan).
Leave as is
TPRiskReward1.5
Risk : reward. 1.5 = the take profit is 1.5 × as far as the stop loss. With no stop loss there is nothing to multiply: no take profit.
Change it: Your usual reward-to-risk.
TPPips40
Forex pairs: take profit in pips.
Leave as is
TPGoldUSD20.0
Gold XAUUSD: take profit in dollars of price. 20 = from 4000.00 to 4020.00.
Leave as is
TPBitcoinUSD1000
Bitcoin BTCUSD: take profit in dollars of price.
Leave as is
TPIndexPoints100
Indices: take profit in points.
Leave as is
8. LOT SIZEHow big each trade is.
SizeMode0.01 lot for every step of equity (set below)
Equity steps (the 3 values below), risk a % on each trade, or risk a % on all trades of one symbol + direction.
Change it: Risk % if you size by risk.
RiskPerTradePct0.5
Risk on each trade, % of equity.
Leave as is
RiskPerBasketPct1.0
The most risk on all trades of one symbol + direction together, % of equity. Also caps the equity steps.
Leave as is
MajorsEquityPer00110000
0.01 lot for every 10,000 of equity on major forex pairs.
Leave as is
MinorsEquityPer00115000
0.01 lot for every 15,000 on other forex pairs.
Leave as is
MetalsEquityPer00120000
0.01 lot for every 20,000 on gold, bitcoin and indices.
Leave as is
MaxLotsPerTrade5.0
Never more than this many lots in one trade.
Leave as is
No stop loss
A risk % needs a stop loss to measure, so a trade without one always uses the equity steps.
Leave as is
9. ENTIRE ACCOUNT RISK MANAGEMENTProtects the whole account: a daily loss limit and a profit target. Both on.
DailyLossOntrue
Daily loss limit. When the account is down this much today, the EA closes everything, cancels unfilled orders and opens no new trade for 24 hours. The pause survives an MT5 restart.
Change it: Never turn it off on a prop-firm account.
DailyLossPct2.9
The limit, as a % of the day's starting balance (the higher of balance and equity at the broker's midnight). Counts closed AND open trades.
Change it: Just under your prop firm's daily limit (e.g. 2.9 for a 3% firm, 4.5 for 5%).
DailyLossScopeEvery trade on this account
What the limit closes: every trade on the account (manual and other EAs too), or only this EA's trades.
Leave as is
AccountTargetOntrue
Close ALL trades when the account profit target below is reached.
Change it: false to let trades run to their own targets.
AccountTargetPct1.0
The profit target: all open trades together at +1% of the balance.
Leave as is
AccountTargetDeletePendingtrue
When the profit target closes everything, also cancel orders that have not filled yet.
Change it: false to keep waiting orders.
10. EXITS: WHICH TRADESWhich trades sections 11–13 look after.
ExitScopeThis EA's trades + trades I published with the buttons
Only the EA's trades, plus the trades you published with the buttons, or every trade on the account.
Leave as is
ExitsApplyToAll trades of a symbol + direction together (average price)
Together: break even, trailing and targets use the average price and close every trade together. Each trade: every trade is managed from its own entry.
Change it: Each trade if you scale in and want every entry protected on its own.
11. EXITS: BREAK EVENOn by default.
BE_Ontrue
Move the stop loss to break even.
Leave as is
BE_TriggerPips15
… once the trade is this many pips* in profit.
Leave as is
BE_LockPips2
… and lock in this many pips* of profit (the stop goes to the entry + 2).
Leave as is
12. EXITS: TRAILING STOPMoving average or candle trail. Off by default.
TrailMA_Onfalse
The stop follows a moving average.
Change it: true to ride trends.
TrailMA_TFcurrent
MA trail: timeframe.
Change it: e.g. 1 Hour.
TrailMA_Period20
MA trail: period.
Leave as is
TrailMA_MethodExponential
MA trail: type (Simple, Exponential…).
Leave as is
TrailMA_BufferPips2
MA trail: the stop sits this many pips* beyond the MA.
Leave as is
TrailMA_CloseOnCrosstrue
Also close when a candle closes beyond the MA.
Leave as is
TrailMA_StartPips10
Start trailing once this many pips* in profit (0 = at once).
Leave as is
TrailCandle_Onfalse
The stop follows the previous candle's low (buys) or high (sells).
Change it: true for tight trailing.
TrailCandle_TFcurrent
Candle trail: timeframe.
Leave as is
TrailCandle_Count1
1 = the previous candle, 2 = the lowest of the last 2…
Leave as is
TrailCandle_BufferPips1
Candle trail: the stop sits this many pips* beyond that low or high.
Leave as is
TrailCandle_StartPips10
Start trailing once this many pips* in profit.
Leave as is
13. EXITS: CLOSE RULESCandle-close exit and a profit target per symbol.
CandleExit_Onfalse
Close when a candle closes past the previous candle (below its low for buys).
Change it: true for a quick exit on reversal.
CandleExit_TFcurrent
… on this timeframe.
Leave as is
CandleExit_StartPips0
… only once this many pips* in profit.
Leave as is
BasketTargetModeOff
Close one symbol's trades at a profit target: a % of the balance, money, or pips*.
Change it: e.g. % with value 0.5.
BasketTargetValue1.0
The target, in the unit chosen above.
Leave as is
14. CHART PICTURES FOR EACH TRADE PLANThe 4 pictures in every trade plan. See "Set up your 4 chart pictures".
ShotSourceMy 4 chart templates (set below)
Take the pictures from your 4 saved templates, or from your open charts of the symbol.
Leave as is
ShotUseOpenChartsfalse
true = use your open chart of that symbol and timeframe first (other EAs' text on it shows too).
Change it: Leave false: templates first.
Shot1TemplateTemplate1
Picture 1: your lowest timeframe (where you enter). LEFTURN1 is found too.
Leave as is
Shot1TF15 Minutes
Picture 1 timeframe.
Leave as is
Shot2TemplateTemplate2
Picture 2.
Leave as is
Shot2TF1 Hour
Picture 2 timeframe.
Leave as is
Shot3TemplateTemplate3
Picture 3.
Leave as is
Shot3TF4 Hours
Picture 3 timeframe.
Leave as is
Shot4TemplateTemplate4
Picture 4: your highest timeframe (the trend).
Leave as is
Shot4TFDaily
Picture 4 timeframe.
Leave as is
ShotCleanLevelstrue
Hides MT5's trade lines (they show lot sizes) and draws only entry, stop and target.
Leave as is
ShotWidth1280
Picture width in pixels.
Leave as is
ShotHeight720
Picture height in pixels.
Leave as is
15. DASHBOARD AND TOOLS5 inputs
ShowDashboardtrue
Shows the dashboard panel (top left). The ▲ / ▼ in its header folds it.
Leave as is
ShowLineTabletrue
Shows the trendline colours and your active lines on the dashboard.
Change it: false if you never use lines.
ManualButtonstrue
The "Instant Publish" and "Upload to Draft" buttons for your own trades.
Leave as is
MagicNumber9003001
The ID number on this EA's trades.
Change it: Only if another EA uses the same number.
TestConnectionNowfalse
Tests the key and the LEFTURN link once. Places no trade.
Change it: true once after setup, then back to false.

TradingView webhooks, step by step

Your TradingView alert reaches LEFTURN, your Publisher EA picks it up within about 2 seconds, places the trade and publishes the plan. Your followers get the copy.

TradingViewyour alert fires
LEFTURNchecks your key, holds the signal
Publisher EAon your MT5, every 2 s
Trade + planwith your 4 charts
Followerscopy it
📈 The alert says WHENYour TradingView chart decides it's time: buy or sell.
🧩 The strategy says HOWOptional. Entry type, stop, target, risk and what followers read.
🖥️ The Publisher EA DOES ITPlaces the trade on MT5, manages the exit, publishes the plan.

One alert = one trade. Want three timeframes to agree before a trade (trend, confirmation, entry)? That's a Webhook Portfolio: three alerts = one trade.

TradingView paid planWebhooks need Essential or higher.
2-step sign-in on TradingViewTradingView asks for it before webhooks work.
Publisher EA runningWith WebhookOn = true (the default).
  1. Create your webhook key

    Trader Area › My Marketplace › ⚡ Webhooks › Create my webhook key. Copy it straight away: it's shown once. It's not your Publisher Key.

    Your webhook
    Webhook URL
    Webhook keylfwh_7f3a…shown once: copy it now
    SenderTradingView only (on)
  2. Check the EA is listening

    The dashboard says Webhook: ON · Waiting for TradingView. If it says PAUSED, LEFTURN paused alerts; if OFF, set WebhookOn = true.

  3. Optional: create a strategy

    Trading more than one idea, or want limit or stop entries, your own stop, target and risk, and a description for followers? Create a strategy (details in Several strategies below). Skip this and your Publisher EA inputs decide.

  4. Build your alert message

    Easiest: on the Webhooks page, Make your TradingView alert writes it for you: pick your strategy and whether a strategy or an indicator sends the alert, then press Copy message. Or build it here: paste your key in the box (it stays in your browser) and copy the message.

    Stop and target in pips are EURUSD-sized on every market: 1 pip = 1.00 on gold, 5 on US30, 40 on BTC. Leave both at 0 to use the EA's own stop and target.

  5. Create the alert in TradingView

    On your chart: Alert (clock icon) › Create alert.

    SettingsMessageNotifications
    Condition
    My Strategy ▾1
    Trigger
    Once per bar close
    Expiration
    Open-ended
    SettingsMessageNotifications
    Message
    {"key":"lfwh_…","action":"{{strategy.order.action}}",
    "symbol":"{{ticker}}","price":{{close}},…}2
    SettingsMessageNotifications
    Create4
    1. Condition: your strategy, or your indicator's buy (or sell) condition. {{strategy.order.action}} only works when a TradingView strategy sends the alert; for an indicator use "action":"buy" and "action":"sell" in two alerts.
    2. Message: paste the message from step 3, all of it.
    3. Notifications: tick Webhook URL and paste the URL from step 1.
    4. Create. For an indicator, make one alert for buy and one for sell.
  6. Send a test (no trade)

    On Webhooks press Send test signal. Within seconds the list shows:

    skippedBUY EURUSD · test received by Publisher EA v4.08 on #9001 (EURUSD found). No trade placed.

    That proves TradingView → LEFTURN → your EA works. Then wait for your first real alert.

What the Signals list tells you

queuedLEFTURN has it; your EA hasn't picked it up yet (is MT5 running?).
deliveredYour EA has it and is placing the trade.
executedDone: it shows the order, lots, stop and target.
rejectedNot traded. The reason is next to it (symbol name, 4:30–6:30 PM, risk limit…).
expiredThe EA didn't collect it within 120 s: MT5 was off.
skippedA test, or a duplicate of an alert already handled.

Several strategies on one account

Run one Publisher EA per MT5 account, never two: two copies would race for the same alerts. Give each TradingView alert its own strategy instead.

1. Create the strategy

Trader Area › My Marketplace › Strategies. Choose its entry (market, limit or stop), distance, expiry, stop, target, risk and single or basket. Then write the 3 texts followers read: what it is, why it enters, how it exits.

2. Name it in the alert

Copy the strategy's message. It contains "strategy":"nyopen". Add "why" for a reason on this one trade, or "expire":30 to cancel an unfilled order after 30 minutes.

3. The EA keeps them apart

Each strategy has its own baskets, limits and trade plans. A close alert with a strategy closes only that strategy's trades. Change settings on LEFTURN any time; MT5 needs no change.

Example: "NY Open Breakout" enters with limits 3 pips away, cancelled after 30 minutes, one trade at a time. "Gold Pullback" enters with stops, up to 3 trades in a basket. Both run on the same account with the same EA. Break even, trailing and targets use the EA's exit inputs for every strategy. Trendline trades and alerts without a strategy share their own baskets.

Which setting wins?

1stThe alert's own message. A "type", "distance", "sl_pips"… in one alert applies to that one trade.
2ndThe strategy named in the alert. Its entry type always applies, even if the EA input says Market execution.
3rdThe Publisher EA inputs: for alerts without a strategy, and for anything the strategy leaves at 0 (e.g. stop 0 = the EA's stop setting).

Example: strategy "HHLL" is Limit, 5 pips, cancel after 45 min; the EA input says Market execution. An HHLL alert places a limit 5 pips away. An alert without a strategy trades at market.

If something's wrong

A pop-up or a red card says "Allow LEFTURN in MT5"

MT5 is blocking the EA from reaching LEFTURN. Add https://master.manage.forex exactly, with https, in Tools › Options › Expert Advisors › Allow WebRequest for listed URL (step 3), and press OK. The EA connects by itself.

"Algo Trading is off"

Press the Algo Trading button in the MT5 toolbar so it turns green. If it's already green, open the EA's properties (double-click its name top right of the chart) › Common › tick Allow Algo Trading.

"Publisher Key refused" or the status says Invalid Key

The EA has an old or mistyped key. Paste the current key, or regenerate one on Downloads › Publisher EA and paste that.

The Publisher EA page stays Not Connected or Offline

Check the Algo Trading button is green and the EA is on a chart. MT5 › Toolbox › Experts shows its messages. Offline means MT5, the PC or the VPS was off: it reconnects by itself.

A TradingView alert didn't trade

If the message says {{strategy.order.action}} but the alert comes from an indicator, TradingView sends those words as they are and LEFTURN refuses it: use "action":"buy" / "sell" instead. Open Webhooks: each signal says what happened. Common reasons: the symbol has a different name at your broker (set SymbolSuffix or SymbolMap), the alert arrived during 4:30–6:30 PM New York, or AllowLiveTrading is false on a real-money account.

No trade plan was sent

The trade needs a stop loss and a take profit. Check AutoUploadPlans is true, and look at the Latest line on the dashboard: "PLAN NOT SENT" says why.

"Publisher EA access is suspended"

Write to support@manage.forex.

Get the Publisher EA. It's free for LEFTURN traders: create your free LEFTURN account, open the Trader Area, connect your personal MT5 account (live or demo at a regulated broker, never a prop firm account) and download it from Downloads. Create a free account · Sign in
Keep your Publisher Key private. Don't share it or show it in screenshots. If someone may have seen it, regenerate it on Downloads › Publisher EA.