Retour à Import et Synchronisation auto

Robot NinjaTrader : installation, réglages et assistance

Installez le robot TradeLog dans NinjaTrader 8, configurez-le correctement et comprenez chaque réglage et chaque message affiché.

Le robot TradeLog pour NinjaTrader est un panneau de trading et un garde-fou du risque, posé sur votre graphique. Il calcule la taille de position correspondant au risque que vous avez choisi, place l'ordre avec son stop et son objectif, continue de surveiller après l'exécution et synchronise tout vers votre journal TradeLog.

Ce qu’il ne fera jamais

Ce sont des limites que le robot s’impose, pas des fonctions manquantes. Mieux vaut les connaître avant de commencer.

  • Il ne déplace jamais un stop sur une position déjà ouverte. La ligne qui suit le prix est une ligne de plan, rien d’autre.
  • Il ne décide jamais quand acheter ou vendre. Aucun signal, aucune entrée automatique : vous cliquez, il dimensionne et protège.
  • Il ne touche jamais un ordre plus grand que la position à laquelle il appartient : ce n’est pas une protection, et le robot ne peut pas deviner votre intention.
  • Il ne peut pas lire les transactions passées avant son installation. NinjaScript ne les expose pas.

Ce qu’il vous faut

  • NinjaTrader 8, version 8.1 ou plus récente.
  • Un compte NinjaTrader sur lequel vous pouvez trader. Sim est le bon point de départ.
  • Un plan TradeLog incluant la synchronisation automatique — Basic ou Premium.
  • Votre clé API TradeLog, dans Paramètres puis Clés API.

Installation

  1. 1Dans TradeLog, allez dans Paramètres puis Clés API et créez une clé pour NinjaTrader. Elle n’est affichée qu’une fois : copiez-la tout de suite.
  2. 2Téléchargez le fichier du robot depuis votre page Connexions. C’est une seule archive zip — ne la décompressez pas.
  3. 3Uniquement si vous avez déjà installé le robot sous forme de fichier source — un .cs collé dans le NinjaScript Editor, comme l’ont fait les testeurs avant septembre 2026 : supprimez-le d’abord, sinon l’import échoue avec « duplicate method names ». Dans le NinjaScript Editor, ouvrez Indicators, faites un clic droit sur TradeLogSyncV3, choisissez Remove et laissez NinjaTrader recompiler.
  4. 4Dans NinjaTrader, ouvrez le Control Center et choisissez Tools, puis Import, puis NinjaScript Add-On…
  5. 5NinjaTrader affiche un avertissement standard concernant les add-ons tiers. Il apparaît dès que vous choisissez l’entrée de menu, avant de sélectionner le fichier, et pour tout add-on qui ne vient pas de NinjaTrader — y compris le nôtre. Appuyez sur OK.
  6. 6Choisissez le fichier zip et confirmez. NinjaTrader le compile et confirme la réussite. S’il demande un redémarrage, redémarrez.
  7. 7Ouvrez un graphique de l’instrument que vous voulez trader.
  8. 8Clic droit sur le graphique, choisissez Indicators…, trouvez TradeLogSyncV3 dans la liste de gauche et double-cliquez. C’est le nom sous lequel NinjaTrader le liste ; sur le graphique il affiche ensuite TradeLog Sync avec sa version.
  9. 9Remplissez les réglages à droite — la section suivante indique lesquels et dans quel ordre — puis appuyez sur OK.
Le robot TradeLog en fonctionnement sur un graphique NinjaTrader

Votre première configuration, dans l’ordre

  1. 1Réglage 1.1 API Key : collez la clé copiée depuis TradeLog. Collez-la exactement, sans espace avant ni après. Rien ne fonctionne sans elle.
  2. 2Réglage 2.1 Risk per trade - manual override ($) : laissez-le vide, sauf si vous voulez fonctionner sans que TradeLog pilote votre risque. Normalement le risque vient de Strict Risk Management dans l’application et cette case est ignorée.
  3. 3Réglage 2.2 Default reward:risk : à quelle distance la ligne Take-Profit est tracée par rapport au stop. Vous pouvez la déplacer à chaque trade.
  4. 4Réglage 3.2 Guardian: watch every symbol on the account : laissez-le activé pour que tout le compte soit protégé, pas seulement ce graphique.
  5. 5Réglage 6.1 Write diagnostics to the Output window : laissez-le désactivé. Ne l’activez que si l’assistance le demande.

Chaque réglage, expliqué

Voici la liste complète des Parameters, dans l’ordre affiché par NinjaTrader, générée depuis le robot lui-même pour ne jamais diverger de votre écran. Les numéros sont ceux que vous pouvez citer à l’assistance.

Les réglages ci-dessous sont affichés exactement comme dans la boîte de dialogue Parameters de NinjaTrader, en anglais. NinjaTrader ne les traduit pas : les mots ici correspondent à ceux de votre écran.

1. TradeLog Account

1.1API KeyPar défaut: (empty)
START HERE. Your TradeLog API key, so the robot can reach your account. Where to find it: sign in at tradelog.cot-reports.com, then Settings -> API Keys. Paste it exactly as shown. Without a key the robot cannot size a trade or send anything to your journal.

2. Risk

2.1Risk per trade - manual override ($)Par défaut: 0
OPTIONAL. Normally your Risk comes from TradeLog: whatever you set under Strict Risk Management in the app is what the robot uses, and this box is ignored. Fill it in only to run WITHOUT that - then also switch on 'Use the manual Risk above' below. Example: 500 means a stop-out costs about 500. 0 = nothing is trimmed (fail-safe).
Plage acceptée: 0 or more
2.2Default reward:riskPar défaut: 2
How far the Take-Profit line is first drawn compared with the Stop-Loss distance. 2 means the target sits twice as far from entry as the stop. You can always drag the line afterwards.
Plage acceptée: 0.1 to 100.0
2.3Maximum contracts per orderPar défaut: 100
A fat-finger ceiling: the panel never sends more than this many contracts in one order, whatever the Risk works out to. 0 = no ceiling.
Plage acceptée: 0 or more
2.4Size up to the full RiskPar défaut: OFF
OFF by default. ON = when a plan would risk LESS than your Risk, the robot adds contracts until it reaches it, and your Stop-Loss stays exactly where you put it. Only if the contract count hits your 'Maximum contracts per order' cap first does the Stop-Loss move AWAY from entry instead - and the panel says so when it happens. Example: Risk 150, one contract risks 1.50 - it takes 100 contracts, so with a 100 cap nothing moves; with a 20 cap the stop moves out until 20 contracts risk the full 150. One of the two settings that can INCREASE position size, which is why it is off unless you turn it on.
2.5Allow 1 contract even if it exceeds the RiskPar défaut: OFF
OFF by default. When your Stop-Loss is so far from Entry that even ONE contract would risk more than your Risk, the panel refuses and shows Contracts: 0. ON = it places that one contract anyway and says in red, on the panel, that you are over your Risk. It NEVER places more than one, so the overshoot is only ever what a single contract costs at the stop you drew. Example: Risk 500 on ES with a 55-tick stop - one contract risks 687.50. The second of the two settings that can INCREASE what you lose, which is why it is off unless you turn it on.

3. Protection

3.1Use the manual Risk above instead of TradeLogPar défaut: OFF
OFF (default, recommended) = your Risk comes from TradeLog and the box above is ignored. ON = run without TradeLog driving the Risk: the Guardian trims to the manual amount above instead. Switch this on only if you want the robot to ignore the app.
3.2Guardian: watch every symbol on the accountPar défaut: ON
ON (default) = the whole account is protected, not only the instrument on this chart - including trades you opened outside the TradeLog panel. OFF = only this chart's instrument is protected and every other instrument is left alone. This is SCOPE only - it never switches trimming on by itself. With the robot on several charts of one account, only ONE of them trims; the others say so on their panel.

4. Sync

4.1Sync interval (seconds)Par défaut: 30
How often open positions are sent to your TradeLog journal. Lower = fresher, and more requests. 30 suits almost everyone.
Plage acceptée: 10 to 300

5. Display

5.1Show the trading panelPar défaut: ON
ON (default) = the Buy/Sell panel is drawn on the chart. OFF = no panel; the robot still watches and protects, it just gives you nothing to click.
5.2Panel coloursPar défaut: Dark
Auto = follow the chart background. Or force Light / Dark.
AutoLightDark
5.3Panel positionPar défaut: TopLeft
Which corner of the chart the panel starts in. You can also drag it by its header.
TopLeftTopRightBottomLeftBottomRight
5.4Messages on the chartPar défaut: Expanded
Where the message card starts: Expanded (default) or Collapsed (only its header chip, for a clean chart). The arrow opens and closes it either way, and an ALARM is never missed - while one is standing the folded chip turns red and carries the warning mark.
ExpandedCollapsed
5.5Show shortcut keys on the buttonsPar défaut: ON
ON (default) = each button shows the key that triggers it - BUY (B), SELL (S), LONG (L), SHORT (K), MARKET/PENDING (O), REFRESH (R). The keys keep working either way; this changes the LABEL only.
5.6Show tooltips on active buttonsPar défaut: OFF
OFF (default) = hovering a button that is READY to be pressed shows nothing, so the panel never covers the chart while you wait for your moment. ON = every button explains what the press will do. A button that is GREYED OUT always explains why it cannot be pressed, whatever this is set to - that reason exists nowhere else. The 'i' in the panel header is exempt for the same reason.
5.7Labels on the plan linesPar défaut: ON
ON (default) = each Entry / Stop-Loss / Take-Profit line carries a small label with its price.
5.8Label text colourPar défaut: White
The colour of the words inside the Entry / Stop-Loss / Take-Profit label. The label itself is a filled marker in the LINE'S own colour (blue / red / green), the way NinjaTrader draws its own order labels, so White (default) reads on all three. Choose Black if you prefer dark text on the coloured marker.
BlackWhite
5.9Label positionPar défaut: Left
Where each label sits on its line. Left (default) = in a box at the left end of the line, set back from the right-hand price scale, the way NinjaTrader keeps its own order labels clear. Center = over the middle of the line.
CenterLeft
5.10How long the plan lines arePar défaut: To last candle
To last candle (default) = the lines stop at the newest candle, like a NinjaTrader order line. To right edge = they carry on past it, so you can read the level against price. Full width = right across the visible chart.
To last candleTo right edgeFull width
5.11Prices on the price scalePar défaut: ON
ON (default) = the Entry / Stop-Loss / Take-Profit prices also appear on the price scale at the right. OFF = the lines and their labels stay exactly as they are, with no price on the scale.
5.12Stop-Loss line follows pricePar défaut: ON
ON (default) = while you are setting a trade up, the Stop-Loss line is pushed along so it stays on the correct side of Entry - never back towards Entry. PLANNING LINES ONLY: it can never move a stop on a trade you have already opened.
5.13Take-Profit line follows pricePar défaut: ON
ON (default) = the same for the Take-Profit line, so the market cannot end up past your target before you have even entered. PLANNING LINES ONLY: it can never move a target on a trade you have already opened.
5.14First Stop-Loss distance (ticks)Par défaut: 0
How far from Entry the Stop-Loss line is drawn the FIRST time, in ticks. 0 = automatic, from recent volatility. Set a value if the lines seed too close together to grab with the mouse. DISPLAY ONLY - you still drag the lines to your real levels, and position size is always calculated from where you drag them.
Plage acceptée: 0 to 1000000
5.15First Take-Profit distance (ticks)Par défaut: 0
How far from Entry the Take-Profit line is drawn the FIRST time, in ticks. 0 = automatic, from the reward:risk above. DISPLAY ONLY - you still drag the lines to your real levels.
Plage acceptée: 0 to 1000000

6. Advanced

6.1Write diagnostics to the Output windowPar défaut: OFF
OFF (default). ON = the robot prints what it is doing, for support. It does not change how it trades.

Le panneau et ce qu’il vous dit

Le panneau explique ce qu’il fait avec des mots plutôt que de vous laisser deviner. Un bouton grisé explique toujours pourquoi il ne peut pas être pressé, et la carte de messages sous le panneau porte tout ce qui demande votre attention. Voici les principaux.

Comment lire les nombres R

Deux chiffres du panneau portent une lettre, et la lettre indique à quelle question il a été répondu. F, c'est le R Financier, et il parle d'argent : le montant divisé par le Risque que vous avez défini pour une position, donc « -0.92R F » signifie que vous perdez 92 % du risque d'une position. Il divise par le risque que vous aviez prévu, et non par celui que prend réellement le nombre de contrats arrondi — c'est pourquoi un même plan peut afficher 1.67R F sur la ligne de gain alors que le ratio au-dessus indique 1 : 2.0. NinjaTrader n'a aucun réglage de commission que le robot puisse lire : F correspond donc à l'argent brut issu du prix, avant ce que prélève votre courtier. T, c'est le R Technique, et il parle de distance : « Risk to Reward (T) 1 : 2.0 » signifie que l'objectif est deux fois plus loin de l'entrée que le stop. T est un ratio, jamais un multiple — c'est pourquoi il s'écrit 1 : 2.0 et non 2.00R.

Ce sont les deux mêmes lettres que votre journal utilise. Sur un plan, le journal les mesure exactement comme le panneau ; une fois la position clôturée, il recalcule les deux sur l'argent réellement encaissé, si bien que le F d'une position clôturée est net des frais que vous avez vraiment payés. Les lettres gardent leur sens — c'est l'argent qu'elles divisent qui change.

Les messages sont repris mot pour mot, en anglais, pour que vous puissiez les faire correspondre à ce qui s'affiche sur votre graphique. L'explication sous chacun est traduite.

(+{count} more instrument over-protected)

Chart — the message card under the panel

A tail added to the STOP/TARGET over-protection alarm when a second instrument is also over-protected. It never appears on its own.

Que faire. Check that instrument as well.

(+{count} more instrument)

Chart — the message card under the panel

A tail added to an orphan- or resting-order alarm when a SECOND instrument has the same problem. It never appears on its own — look for it at the end of one of those lines.

Que faire. Check your other instruments too — the message names only the first.

(+{count} more instruments over-protected)

Chart — the message card under the panel

The same tail when several more instruments are over-protected. It never appears on its own.

Que faire. Check every open instrument as well.

(+{count} more instruments)

Chart — the message card under the panel

The same tail when several more instruments are affected. It never appears on its own — look for it at the end of an orphan- or resting-order alarm.

Que faire. Check every open instrument — the message names only the first.

An ATM strategy manages {instrument} — TradeLog will NOT resize its stop/target (NinjaTrader forbids it) and has STOPPED auto-trimming this instrument. Reduce it from the ATM, or close it.

Chart — the message card under the panel

An ATM strategy owns the protection on that instrument. NinjaTrader forbids anything outside the ATM from resizing it, so the robot has stopped trimming that instrument.

Que faire. Reduce the position from the ATM itself, or close it.

an older TradeLog robot is still installed — remove it

Chart — the message card under the panel

An older version of this robot is still installed on this machine. If both are on charts, two copies are watching the same account and both may act.

Que faire. Remove the old one from every chart, delete its file from Documents\NinjaTrader 8\bin\Custom, and press F5 in the NinjaScript Editor. Keep only the current one.

AUTO (not connected)

Panel — the licence row, and the sentence on the chart

The Risk value should come from TradeLog, but the connection is not confirmed.

Que faire. Check the API key first — that is the usual cause. If the key is right and your own connection is fine, ours is down; the robot keeps retrying and your broker link is unaffected.

AUTO (refreshing)

Panel — the licence row, and the sentence on the chart

A refresh of the Risk value from TradeLog is in flight.

Que faire. Wait a moment.

AUTO (syncing)

Panel — the licence row, and the sentence on the chart

The Risk value is being read from your TradeLog account right now.

Que faire. Wait a moment. Sizing arms as soon as it arrives.

cannot read the Chart Trader account ({ex})

Chart — the message card under the panel

NinjaTrader raised an error when the robot asked which account is selected.

Que faire. Re-pick the account in Chart Trader. If it keeps happening, send us the Output window.

Chart Trader is not open on this chart — open it and pick your account

Chart — the message card under the panel

The robot reads which account to protect from Chart Trader, and Chart Trader is not open.

Que faire. Open Chart Trader on this chart and select your account.

CLOSE {cw} after SL/TP were cancelled — position UNPROTECTED, act now

Panel — the red alarm banner

The same state, when the close was cancelled or rejected rather than failing outright.

Que faire. Close it in NinjaTrader, or place a stop by hand, right now.

CLOSE failed after SL/TP were cancelled — position UNPROTECTED, act now

Panel — the red alarm banner

The robot cancelled your stop and target in order to close, and then the close itself failed. You are holding a position with nothing behind it.

Que faire. Close it in NinjaTrader, or place a stop by hand, right now. Then send us the Output window.

EXIT ORDER with NO POSITION on {instrument} ({quantity}) — if it fills it will OPEN a position. Cancel it.

Chart — the message card under the panel

A stop or target order is still working on an instrument where you have no position. If it fills, it opens a new trade.

Que faire. Cancel it — CANCEL PENDING on the panel, or in NinjaTrader.

EXIT ORDER, NO POSITION

Panel — the red alarm banner

The banner form of the orphan-exit-order alarm.

Que faire. Cancel that order — CANCEL PENDING, or in NinjaTrader.

GUARDIAN INACTIVE — {the reason}

Chart — the message card under the panel

The robot has no account to protect, so it is not trimming anything. The rest of the sentence says exactly why.

Que faire. Follow the reason given. In almost every case it is Chart Trader: open it and pick your account.

no account is selected in Chart Trader

Chart — the message card under the panel

Chart Trader is open but no account is chosen, so there is nothing to protect.

Que faire. Pick your account in the Chart Trader account dropdown.

No account: {the reason}

Chart — the message card under the panel

The reason the robot could not bind to an account, in plain words.

Que faire. Open Chart Trader on this chart and select your account. If the chart is still loading, wait a few seconds.

PROTECTION ALARM

Panel — the red alarm banner

A protection alarm is standing but the specific wording could not be resolved. The message card under the panel carries the detail.

Que faire. Read the message card. If it is empty too, send us a screenshot and the Output window.

PROTECTION SHORT — set SL manually ({totalSL}/{livePosQty})

Panel — the red alarm banner

Your resting stop covers fewer contracts than you hold — the numbers in brackets are stop size against position size. The uncovered part has no floor under its loss.

Que faire. Increase the stop order to cover the whole position, or reduce the position to match the stop.

REVERSED — FLATTEN NOW

Panel — the red alarm banner

The worst outcome the panel can report. A close over-filled and you are now in a position the OTHER WAY round, with nothing protecting it.

Que faire. Flatten it by hand in NinjaTrader, immediately. Do not wait for the robot to fix it — it will not.

REVERSED after the close — opposite position UNPROTECTED, flatten it manually NOW

Panel — the red alarm banner

The full sentence for the line above: the close reversed you and the new position is naked.

Que faire. Flatten manually in NinjaTrader now.

starting up

Chart — the message card under the panel

The robot has not finished binding to an account yet.

Que faire. Wait a few seconds.

STOP/TARGET {protected size} > POSITION {position size} on {instrument} — it REVERSES you if touched. Resize or cancel it by hand.

Chart — the message card under the panel

The protective orders cover MORE contracts than you actually hold. If they trigger, they will close your position and open the opposite one.

Que faire. Resize or cancel the excess order by hand. This is the one case the robot will not fix for you.

STOP/TARGET > POSITION

Panel — the red alarm banner

The banner form of the over-protection alarm.

Que faire. See that message: resize or cancel the excess order by hand.

stuck TradeLog order on {instrument} — never sent, so a cancel is accepted but never completes and a CLOSE waits on them and TIMES OUT. If it does, press Close again — that has worked. A NinjaTrader restart should clear them, but that is not confirmed.

Chart — the message card under the panel

An order this robot created never reached the broker. A cancel on it is accepted but never completes, and a CLOSE will wait on it and time out.

Que faire. Press Close again — that has cleared it before. If it does not, restart NinjaTrader and send us the Output window.

STUCK TRADELOG ORDERS

Panel — the red alarm banner

The banner form of the stuck-order alarm.

Que faire. Press Close again; if it does not clear, restart NinjaTrader and send us the Output window.

stuck TradeLog orders on {instrument} — never sent, so a cancel is accepted but never completes and a CLOSE waits on them and TIMES OUT. If it does, press Close again — that has worked. A NinjaTrader restart should clear them, but that is not confirmed.

Chart — the message card under the panel

The same as the line above, with more than one stuck order.

Que faire. Press Close again; if that does not clear it, restart NinjaTrader and send us the Output window.

the account selected in Chart Trader is no longer available

Chart — the message card under the panel

The account that was selected has gone — usually a disconnected connection.

Que faire. Reconnect in NinjaTrader, then re-pick the account in Chart Trader.

the chart window is still loading

Chart — the message card under the panel

The chart is not finished opening yet.

Que faire. Wait a few seconds.

this is not a chart — add TradeLog Sync to a CHART

Chart — the message card under the panel

The robot was added somewhere that is not a chart — a Market Analyzer column or a SuperDOM. There is no Chart Trader there, so it has no account and stays inert.

Que faire. Remove it from there and add it to a CHART instead.

TradeLog has STOPPED auto-trimming {instrument} until it is flat — {the reason}.

Chart — the message card under the panel

The robot tried to trim that instrument and could not, so it has stood down until you are flat again. The end of the sentence names the exact cause.

Que faire. Act on the named cause — usually resizing or cancelling an order by hand. Trimming resumes on the next position.

Trading BLOCKED — {the reason} (see your TradeLog Journal)

Chart — the message card under the panel

Your TradeLog account has hit a limit you set, and trading is blocked until it resets.

Que faire. Open your TradeLog journal to see which limit and when it resets.

Trading BLOCKED — Daily/weekly limit reached (see your TradeLog Journal)

Chart — the message card under the panel

The same block, when the server did not say which limit was hit.

Que faire. Open your TradeLog journal to see which limit and when it resets.

Trading PAUSED — TradeLog cannot check your limits right now

Chart — the message card under the panel

TradeLog could not be reached to check your limits, so trading is paused rather than allowed past a limit that might already be hit.

Que faire. Nothing — it resumes on its own once the check succeeds, and your broker connection is not involved. If it lasts and your own connection is fine, the problem is ours.

GUARDIAN INACTIVE — this chart cannot identify its account, so it does NOT trim

Chart — the message card under the panel

An account is selected, but the robot cannot work out which one it is, so it refuses to trim rather than trim the wrong account.

Que faire. Re-pick the account in Chart Trader on this chart. If it persists, send us the Output window.

Guardian: OFF here — protected by {the other chart}

Chart — the message card under the panel

Not a problem. You have the robot on more than one chart of this account, and another chart is the one doing the trimming. Only ever one does, on purpose.

Que faire. Nothing. The named chart is protecting the account. Everything else on this chart works normally.

NO STOP-LOSS on {instrument} — the Guardian cannot size a risk it cannot see

Chart — the message card under the panel

You have an open position with no stop-loss order behind it. The robot cannot measure a risk that does not exist, so it cannot protect you on this one.

Que faire. Place a Stop Market order for that position now, or close it.

RESTING ORDER on {instrument} ({quantity}) with no position — if it fills it OPENS one

Chart — the message card under the panel

A working order is sitting on an instrument you are flat on. It can fill at any time.

Que faire. Leave it if you meant it. Cancel it if you did not.

Risk Source: {the value}

Chart — the message card under the panel

Not a warning — this is the panel repeating its Risk Source line on the chart because the row was too narrow to show it whole.

Que faire. Nothing. Widen the panel if you would rather read it there.

SL extended — size reached your {your contract cap}-contract cap first, so the Stop-Loss moved out far enough to reach the active Risk.

Chart — the message card under the panel

While sizing up to your full Risk, the contract cap was reached first, so the Stop-Loss was moved further out instead. Your risk in money is unchanged; the stop is not where you drew it.

Que faire. Nothing, if that is what you wanted. Raise 2.3 Maximum contracts per order, or turn off 2.4 Size up to the full Risk, to keep the stop exactly where you put it.

STOP on the WRONG SIDE on {instrument} ({quantity}) — it does not protect this position, it ADDS to it.

Chart — the message card under the panel

There is a stop order on the same side as your position. If it triggers it will ADD to the position instead of closing it.

Que faire. Cancel that order. CLOSE POSITION cancels it along with the position; CANCEL PENDING removes it once you are flat.

STOP-LIMIT ONLY on {instrument} ({quantity}) — a stop-limit can trigger and NEVER FILL, so it does not bound your loss and the Guardian will not size against it. Replace it with a Stop Market.

Chart — the message card under the panel

The only protection on that position is a stop-LIMIT. A stop-limit can trigger and never fill, so it does not put a floor under the loss.

Que faire. Replace it with a Stop Market order.

Target and stop on {instrument} are not linked (no OCO) — when one fills, cancel the other.

Chart — the message card under the panel

The stop and the target are not tied together, so filling one will not cancel the other. You could be left with a live order after the trade is over.

Que faire. When one of them fills, cancel the other by hand.

{leftToStrategy} owned by a strategy left alone.

Panel — the status row

Appended to a cancel: some orders belong to a strategy or ATM, so the robot did not touch them.

Que faire. Cancel those where they were placed.

1 contract exceeds the active Risk

Panel — the status row

Even one contract would risk more than your limit at this stop distance, so the panel refuses to place it.

Que faire. Move the Stop-Loss closer to the entry, raise 2.1 Risk per trade, or switch on 2.5 to allow the single contract deliberately.

1 contract requires a tighter Stop-Loss, or a higher Risk setting.

Panel — the status row

The full sentence behind the line above.

Que faire. Tighten the stop or raise the Risk.

A close is still settling. The panel arms when it completes.

Panel — the status row

The full sentence behind "Close in progress".

Que faire. Wait a second.

A Guardian trim is still settling on this instrument. The panel arms when it completes.

Panel — the status row

The full sentence behind "Risk trim settling".

Que faire. Wait a second.

a hand-placed order cannot go below 1

Inside another message, where it names the reason

Why the Guardian stood down: it may shrink a hand-placed order but never cancel it, so it cannot go below one contract.

Que faire. Cancel that order by hand if you want the position trimmed further.

A pending entry order placed from this panel is still live at the broker, but this robot has stopped tracking it (the account or the chart changed). If it fills it will have NO Stop-Loss and NO Take-Profit. Cancel it in NinjaTrader, or set its protection by hand.

Panel — the status row

The full sentence behind "Resting order — no SL/TP will attach". If it fills it will be naked.

Que faire. Cancel it in NinjaTrader, or be ready to set its protection by hand.

a stand-alone order bigger than the position

Inside another message, where it names the reason

Why the Guardian stood down: an order larger than the position is not protection, so it will not act on it.

Que faire. Resize or cancel that order by hand.

A strategy or ATM owns the order resting on this instrument, so TradeLog will not touch it — cancelling one leg of a bracket can leave a position unprotected. Cancel it where you placed it.

Panel — the status row

The full sentence behind "Resting order — owned by a strategy".

Que faire. Cancel it where you placed it, not from this panel.

A TradeLog subscription is required. Renew it at tradelog.cot-reports.com to use this robot.

Inside another message, where it names the reason

Your TradeLog plan does not currently allow the robot.

Que faire. Renew your plan, then press REFRESH.

Account not linked to TradeLog

Panel — the status row

This NinjaTrader account has not been linked to TradeLog, so no Risk can be read for it.

Que faire. Link the account in TradeLog, then press REFRESH.

Alerts

Panel — the status row

The folded message card, red, because at least one of the lines behind it is an ALARM.

Que faire. Click it — an alarm is never hidden without saying so.

An ATM strategy manages the {instrAtClick} position — use CLOSE POSITION, or scale out from the ATM

Panel — the status row

HALF and QUARTER cannot act on a position an ATM owns.

Que faire. Use CLOSE POSITION, or scale out from the ATM itself.

an ATM/strategy owns it

Inside another message, where it names the reason

Why the Guardian stood down: an ATM strategy owns the protection and NinjaTrader forbids resizing it from outside.

Que faire. Reduce the position from the ATM, or close it.

An order is still being placed. The panel arms when it completes.

Panel — the status row

The full sentence behind "Order in progress".

Que faire. Wait a second.

API KEY INVALID

Inside another message, where it names the reason

TradeLog answered and rejected the key. Nothing is wrong with your subscription.

Que faire. Copy the key again from your TradeLog account and paste it into the robot inputs.

API KEY REQUIRED

Inside another message, where it names the reason

No TradeLog API key has been entered at all.

Que faire. Paste your key into the robot inputs. It is on your TradeLog account page.

Bracket attach failed

Panel — the status row

The Stop-Loss and Take-Profit could not be attached to a fill. The position is open and UNPROTECTED.

Que faire. Set a stop by hand right now, or close the position. Then send us the Output window.

Cancel requested for {sent} resting orders on {instrument}.{left}

Panel — the status row

The cancel was sent for several resting orders.

Que faire. Nothing — confirm they disappear from your Orders tab.

Cancel requested for the resting order on {instrument}.{left}

Panel — the status row

The cancel was sent for one resting order.

Que faire. Nothing — confirm it disappears from your Orders tab.

Cannot reach TradeLog. Your broker connection is not affected - charts, orders and your positions are unaffected. Sizing stays off until the connection is restored. You can still close an open position.

Inside another message, where it names the reason

The connection to TradeLog was confirmed once and has since aged out — we cannot reach our own server. Nothing is wrong with your subscription or your key, and your BROKER connection is untouched: charts, orders and open positions carry on normally.

Que faire. Check your own connection, then press REFRESH. If yours is fine, the problem is ours and the robot keeps retrying. You can still CLOSE an open position from the panel meanwhile.

cause not recorded

Inside another message, where it names the reason

The Guardian stood down and the reason was not recorded — this one should not happen.

Que faire. Send us the Output window; we want to see this.

Close error: {ex}

Panel — the status row

An error was raised while closing. The text after the colon is NinjaTrader’s own.

Que faire. Check the position in NinjaTrader and close it there if it is still open.

Close in progress

Panel — the status row

A close is still settling.

Que faire. Wait a second.

Close order create failed

Panel — the status row

NinjaTrader refused to create the closing order.

Que faire. Close the position in NinjaTrader directly, then send us the Output window.

Connected

Inside another message, where it names the reason

The link word: TradeLog is reachable and your account is confirmed.

Que faire. Nothing.

Connecting

Inside another message, where it names the reason

The link word: the first check is in flight.

Que faire. Wait a moment.

Connecting to TradeLog

Panel — the status row

The robot is establishing its connection to TradeLog.

Que faire. Wait. If it stays here, check the API key and the connection.

Connecting to TradeLog. Sizing arms as soon as the connection is confirmed.

Inside another message, where it names the reason

The full sentence behind "Connecting to TradeLog".

Que faire. Wait. If it stays here, check the API key.

Currency mismatch — can't size

Panel — the status row

The instrument is not priced in your account currency. The robot will not guess an exchange rate, so it refuses to size rather than give you a wrong number.

Que faire. Trade this instrument from an account in its own currency.

Download it from your Connections page on tradelog.cot-reports.com.

Panel — the status row

The panel is showing a newer version, and this is where the file is. It appears on the badge hover when the server did not send a direct link, and in the Output window once per session.

Que faire. Open tradelog.cot-reports.com, go to Connections, and download the NinjaTrader robot. Then in NinjaTrader: Tools then Remove NinjaScript Assembly, remove the TradeLog entry, and import the new zip from Tools then Import.

Flatten did not complete

Panel — the status row

The flatten was accepted but the position is still not flat.

Que faire. Use NinjaTrader's own Close button.

Flatten failed

Panel — the status row

NinjaTrader refused the flatten.

Que faire. Use NinjaTrader's own Close button. Then send us the Output window.

Flattening {position size} through NinjaTrader (ATM strategy) — this also cancels working orders on this instrument, entries included...

Panel — the status row

The position is ATM-owned, so the robot is using NinjaTrader’s own flatten — which also cancels working orders on this instrument, entries included.

Que faire. Nothing, but check your working orders afterwards.

Locked In

Panel — the status row

On the Open Risk row: your stops now guarantee a profit. The figure beside it is how much.

Que faire. Nothing. This is good news.

Margin NOT verified

Inside another message, where it names the reason

Some connections do not report free margin to NinjaTrader. When they do not, the robot says so rather than implying it checked.

Que faire. Nothing — your connection still checks margin when the order is submitted.

Margin NOT verified — size not checked against free margin

Inside another message, where it names the reason

The full sentence for the line above.

Que faire. Nothing; the broker still checks at submission.

Messages

Panel — the status row

The folded message card. The number beside it is how many lines are behind it.

Que faire. Click it to open them.

Minimum size is over the active Risk

Panel — the status row

The smallest tradable size already costs more than your Risk at this stop distance. The panel tells you exactly how much more.

Que faire. Move the Stop-Loss closer to the entry, or raise 2.1 Risk per trade.

No Access

Inside another message, where it names the reason

The link word: TradeLog refused this account — a lapsed plan or a bad key.

Que faire. Check your plan and your API key.

No entry price

Panel — the status row

The Entry line has no usable price.

Que faire. Drag the Entry line onto a real price level.

No free margin left

Inside another message, where it names the reason

Your account reports no free margin, so the broker may refuse this order.

Que faire. Close something, or reduce the size.

No free margin left — the broker may reject this order

Inside another message, where it names the reason

The full sentence for the line above.

Que faire. Close something, or reduce the size.

No market price yet

Panel — the status row

There is no bid or ask yet to measure a MARKET entry from.

Que faire. Wait for the next price and press again.

No open position on {instrument}

Panel — the status row

A label on the exit row: you are flat on this instrument.

Que faire. Nothing.

No plan lines on the chart

Panel — the status row

The Entry / Stop-Loss / Take-Profit lines are not on the chart, so there is no plan to place.

Que faire. Press L for a long plan or K for a short plan, position the lines, then press BUY or SELL.

No TradeLog API key is set. Enter your key in the robot inputs.

Inside another message, where it names the reason

The full sentence behind "API key required".

Que faire. Paste your key into 1.1 API Key.

Offline

Inside another message, where it names the reason

The link word: the robot cannot reach the TradeLog licence server right now. It keeps retrying, and your broker connection is not affected — orders and open positions are untouched.

Que faire. Nothing while your licence still has time on it. If it stays amber for days and your own connection is fine, the problem is ours — tell us.

on {instrument} cannot be split into {denominator}. {scope} needs at least {denominator}, so CLOSE POSITION is the one that can act.

Panel — the status row

You do not hold enough contracts to take a half or a quarter.

Que faire. Use CLOSE POSITION.

Order in progress

Panel — the status row

An order is still being placed. The panel arms again when it completes.

Que faire. Wait a second.

Order resting — SL/TP on fill

Panel — the status row

Your pending entry is waiting at the broker. Its stop and target are NOT there yet — the robot attaches them the moment it fills.

Que faire. Leave the chart open until it fills.

Override capped to Risk

Panel — the status row

You typed an Override larger than the Risk the Guardian trims to, so it was capped down. A bigger size would have been trimmed the moment it filled.

Que faire. Nothing — this is the panel keeping the two consistent. Raise 2.1 if you want a bigger size.

Override Risk

Panel — the status row

The Risk in use is the amount you typed into the Override box on the panel, not your usual per-trade Risk. It applies until you clear the box.

Que faire. Nothing, if that is what you wanted. Clear the Override box to go back to your usual Risk.

Pending

Panel — the status row

A label on the position row: you have resting orders but no open position.

Que faire. Nothing.

POSITION

Panel — the status row

A label on the exit button — CLOSE POSITION closes the whole position.

Que faire. Nothing.

Position already at the full Risk

Panel — the status row

Your open position already uses the whole Risk, so adding to it would go over.

Que faire. Close part of the position to make room, or leave it as it is.

Position unavailable

Panel — the status row

NinjaTrader did not return the position this time.

Que faire. Wait for the next update. If it persists, check the connection.

POSITION UNPROTECTED — ACT NOW

Panel — the status row

The worst state the panel can show: the protective orders were cancelled and the close did not go through, so you hold a position with nothing behind it.

Que faire. Act immediately — close it in NinjaTrader, or place a stop by hand.

PROTECTION SHORT

Panel — the status row

The resting stop covers fewer contracts than you hold. Part of the position is unprotected.

Que faire. Increase the stop order to cover the whole position, or reduce the position.

R comes in two kinds, the same two the TradeLog journal uses. F is FINANCIAL: a multiple of the Risk you set for one trade, so -0.92R F means you are down 92% of one trade's risk. T is TECHNICAL: the shape of the plan on the chart, so Risk to Reward 1 : 2.0 means the target sits twice as far from entry as the stop. F is about money, T is about distance.

Panel — the status row

The two kinds of R this robot prints. F (Financial) is a multiple of the Risk you set for one trade, so it answers "how much of one trade of risk is this?". T (Technical) is the shape of the plan on the chart, so "1 : 2.0" means the target is twice as far from entry as the stop. The same two letters the TradeLog journal uses, so the robot and the journal read alike.

Que faire. Nothing — it is a legend. Hover the "Risk to Reward (T)" caption on the panel to see it again.

Refreshing risk from TradeLog...

Panel — the status row

A Risk refresh from TradeLog is in flight.

Que faire. Wait a moment.

Resting order — no SL/TP will attach

Panel — the status row

A pending entry from this panel is still live at the broker, but the robot has stopped tracking it. If it fills it will have no stop and no target.

Que faire. Cancel it in NinjaTrader, or be ready to set its protection by hand.

Resting order — nothing will protect it

Panel — the status row

There is a working order on this instrument that this robot did not place. It is real exposure, and the robot will not attach protection to it.

Que faire. Manage it where it was placed, or cancel it.

Resting order — owned by a strategy

Panel — the status row

A strategy or ATM owns the resting order, so the robot will not touch it — cancelling one leg of a bracket can leave a position unprotected.

Que faire. Cancel it where you placed it.

Risk could not be read from TradeLog. Sizing needs a valid API key and a working connection.

Panel — the status row

The full sentence behind the line above.

Que faire. Check the API key and the connection, then press REFRESH.

Risk is still being read from TradeLog for this account. Sizing arms as soon as it arrives.

Panel — the status row

The full sentence behind "Syncing Risk".

Que faire. Wait a moment.

Risk trim settling

Panel — the status row

The Guardian is part-way through trimming this instrument.

Que faire. Wait a second.

Risk unavailable

Panel — the status row

The Risk could not be read from TradeLog, so nothing can be sized.

Que faire. Check the API key and the connection, then press REFRESH.

RISK-FREE

Panel — the status row

On the Open Risk row: your stops sit exactly at breakeven, so the trade can no longer lose.

Que faire. Nothing.

Room left on this position

Panel — the status row

The Risk in use was reduced to the room left on an open position, so a new entry cannot push you over your limit.

Que faire. Nothing. Close part of the position if you want more room.

Set API Key

Inside another message, where it names the reason

The link word: no API key has been entered yet.

Que faire. Paste your key into 1.1 API Key.

Size:

Panel — the status row

A label on the position row, before the number of contracts you hold.

Que faire. Nothing.

SL extended

Panel — the status row

The short form on the status row of the SL-extended note explained above.

Que faire. See that note.

SL must be ABOVE entry (SHORT plan)

Panel — the status row

A short plan needs its stop above the entry, and yours is not.

Que faire. Drag the Stop-Loss above the Entry line, or press L for a long plan instead.

SL must be BELOW entry (LONG plan)

Panel — the status row

A long plan needs its stop below the entry, and yours is not.

Que faire. Drag the Stop-Loss below the Entry line, or press K for a short plan instead.

Stop is bigger than what you'd keep on {instrument} — use CLOSE POSITION, or resize it by hand

Panel — the status row

A partial close would leave more stop than position — the one outcome the robot refuses to create.

Que faire. Use CLOSE POSITION, or resize the stop by hand first.

Stop-Loss required

Panel — the status row

You pressed BUY or SELL with no Stop-Loss. Without one there is no defined risk to size against.

Que faire. Drag the Stop-Loss line to where you want it, then press again.

Strict Risk is on, so the typed override was capped down to the Risk this account trims to. A larger size would have been trimmed the moment it filled.

Panel — the status row

The full sentence behind "Override capped to Risk".

Que faire. Nothing. Raise 2.1 Risk per trade if you want a bigger size.

SUBSCRIPTION REQUIRED

Inside another message, where it names the reason

TradeLog answered and said this account does not have an active subscription that covers the robot. This one IS about the subscription — the other three below are not.

Que faire. Renew or upgrade at tradelog.cot-reports.com. The panel arms itself once that is done.

Syncing Risk

Panel — the status row

The Risk for this account is still being read from TradeLog.

Que faire. Wait. Sizing arms as soon as it arrives.

The cancel could not be sent — the order is still resting.

Panel — the status row

The cancel never reached the broker. The order is still live.

Que faire. Cancel it in NinjaTrader.

The Entry line has no usable price, so this plan cannot be sized.

Panel — the status row

The full sentence behind "No entry price".

Que faire. Drag the Entry line onto a real price.

The entry order is resting at the broker. Its Stop-Loss and Take-Profit are NOT there yet — they are attached the moment it fills, by this robot, so leave the chart open until it does.

Panel — the status row

The full sentence behind "Order resting — SL/TP on fill".

Que faire. Leave the chart open until it fills, so the robot can attach the protection.

The Entry, Stop-Loss and Take-Profit lines are no longer on the chart, so there is no plan to place. Press L for a LONG plan or K for a SHORT plan, then press BUY or SELL.

Panel — the status row

The plan lines were removed between drawing them and pressing.

Que faire. Press L or K to draw them again, position them, then press BUY or SELL.

The instrument could not be read from NinjaTrader. It may read on the next attempt.

Panel — the status row

NinjaTrader did not return the instrument when you pressed.

Que faire. Press again in a moment.

The instrument is not priced in the account currency, so this plan cannot be sized.

Panel — the status row

The full sentence behind "Currency mismatch". The robot will not invent an exchange rate.

Que faire. Trade this instrument from an account in its own currency.

The LONG plan requires the Stop-Loss below the entry. Press K for a SHORT plan instead.

Panel — the status row

A long plan needs its stop below entry.

Que faire. Drag the stop below Entry, or press K for a short plan.

The LONG plan requires the Take-Profit above the entry.

Panel — the status row

A long plan needs its target above entry.

Que faire. Drag the Take-Profit above Entry.

The open position on this instrument already uses the full Risk, so adding to it would exceed it. Closing part of the position frees room for another entry.

Panel — the status row

The full sentence behind "Position already at the full Risk".

Que faire. Close part of the position to make room, or leave it.

the order book could not be read

Inside another message, where it names the reason

Why the Guardian stood down: it could not read the orders, and it will not reduce a position behind protection it never measured.

Que faire. Check that NinjaTrader is connected, then press REFRESH.

The order book could not be read — nothing was cancelled.

Panel — the status row

The account’s orders could not be read, so the robot cancelled nothing rather than guess.

Que faire. Check the connection and press again.

The plan on the chart is LONG

Panel — the status row

You pressed SELL while a LONG plan is drawn, so the stop is on the wrong side for that order.

Que faire. Press K to draw a short plan, then press SELL.

The plan on the chart is SHORT

Panel — the status row

You pressed BUY while a SHORT plan is drawn, so the stop is on the wrong side for that order.

Que faire. Press L to draw a long plan, then press BUY.

The plan sizes to zero contracts. Check the Stop-Loss distance and the instrument's point value.

Panel — the status row

The full sentence behind "Volume = 0".

Que faire. Move the stop closer to entry, or raise your Risk.

The position could not be read from NinjaTrader. It may read on the next attempt.

Panel — the status row

The full sentence behind "Position unavailable".

Que faire. Wait for the next update.

The position is still not flat. NinjaTrader's own Close button is the way out of this state.

Panel — the status row

The full sentence behind "Flatten did not complete".

Que faire. Use NinjaTrader's own Close button.

the position would be left with less stop than size

Inside another message, where it names the reason

Why the Guardian stood down: trimming would have left part of the position unprotected.

Que faire. Add stop coverage, or reduce the position by hand.

the resizes were not accepted

Inside another message, where it names the reason

Why the Guardian stood down: NinjaTrader refused the resize attempts.

Que faire. Resize or cancel the order by hand.

The SHORT plan requires the Stop-Loss above the entry. Press L for a LONG plan instead.

Panel — the status row

A short plan needs its stop above entry.

Que faire. Drag the stop above Entry, or press L for a long plan.

The SHORT plan requires the Take-Profit below the entry.

Panel — the status row

A short plan needs its target below entry.

Que faire. Drag the Take-Profit below Entry.

The Stop-Loss and Take-Profit could not be attached to the fill. This position is unprotected until they are set by hand.

Panel — the status row

The full sentence behind "Bracket attach failed". The position is open and unprotected.

Que faire. Set a stop by hand now, or close the position. Then send us the Output window.

The TradeLog API key was rejected. Check the key in the robot inputs.

Inside another message, where it names the reason

The full sentence behind "API key invalid".

Que faire. Re-copy the key from Settings then API Keys and paste it again.

There is a working order on this instrument that this robot did not place. It is real exposure and it can fill at any time, but TradeLog will NOT attach a Stop-Loss or a Take-Profit to it — manage it where it was placed.

Panel — the status row

The full sentence behind "Resting order — nothing will protect it".

Que faire. Manage it where it was placed, or cancel it.

There is no bid or ask to measure a MARKET entry from yet. Wait for the next price, then press again.

Panel — the status row

The full sentence behind "No market price yet".

Que faire. Wait for the next price and press again.

This account has not been linked to TradeLog yet, so no Risk can be read for it.

Panel — the status row

The full sentence behind "Account not linked to TradeLog".

Que faire. Link the account in TradeLog, then press REFRESH.

TP must be ABOVE entry (LONG plan)

Panel — the status row

A long plan needs its target above the entry.

Que faire. Drag the Take-Profit above the Entry line.

TP must be BELOW entry (SHORT plan)

Panel — the status row

A short plan needs its target below the entry.

Que faire. Drag the Take-Profit below the Entry line.

TradeLog could not be reached. The robot keeps retrying on its own.

Panel — the status row

The full sentence behind "TradeLog disconnected". Your broker connection is not affected.

Que faire. Check your own connection. If it is fine, ours is down — the robot keeps retrying either way.

TradeLog disconnected

Panel — the status row

TradeLog could not be reached. The robot keeps retrying on its own, and your broker connection is not affected.

Que faire. Check your own connection. If it is fine, the problem is on our side.

TRADELOG UNREACHABLE

Inside another message, where it names the reason

The robot cannot reach TradeLog. Nothing is wrong with your subscription or your key, and your BROKER connection is untouched: charts, orders and open positions carry on normally. Sizing is off because the risk figure comes from TradeLog and we will not guess one.

Que faire. Nothing. It keeps retrying. You can still CLOSE an open position from the panel while this is showing — closing is never blocked.

UNCAPPED

Panel — the status row

On the Open Risk row: some of your contracts have no stop behind them, so the loss on this position has no ceiling.

Que faire. Place a stop covering the whole position.

Volume = 0

Panel — the status row

The plan sizes to zero contracts — usually a stop so far away that nothing fits inside your Risk.

Que faire. Move the Stop-Loss closer to the entry, or raise 2.1 Risk per trade.

Without a Stop-Loss there is no defined risk, so this plan cannot be sized.

Panel — the status row

The full sentence behind "Stop-Loss required".

Que faire. Drag the Stop-Loss line into place, then press again.

Le Guardian

Le Guardian est la partie qui agit sans que vous cliquiez : il vaut donc la peine de savoir exactement ce qu’il fait. Il compare ce qu’une position ouverte perdrait si son stop était touché avec votre risque par trade. Si la perte serait supérieure, il réduit la position jusqu’à ce qu’elle ne le soit plus. Il ferme une partie du trade ; il ne déplace jamais votre stop. Avec le réglage 3.2 activé, il surveille chaque instrument du compte, y compris les positions ouvertes hors du panneau.

Si le Guardian trouve un ordre stop ou limite plus grand que la position qu’il devrait protéger, il s’arrête et le signale au lieu d’agir. Un ordre plus grand que la position n’est pas une protection, et réduire sur cette supposition pourrait fermer un trade que vous vouliez garder.
Avec le robot sur plusieurs graphiques d’un même compte, un seul effectue la réduction. Les autres le disent sur leur propre panneau : vous ne devinez jamais lequel commande.

Mettre à jour le robot

Le panneau vous prévient quand une version plus récente existe : l’en-tête affiche « Update available » avec le numéro. La mise à jour est une suppression suivie d’un import, pas un écrasement — si l’ancien assembly est encore installé, NinjaTrader refuse l’import avec « duplicate method names ».

  1. 1Téléchargez le nouveau zip depuis votre page Connections dans TradeLog. Son nom porte la version, vous le distinguez donc de celui que vous avez déjà.
  2. 2Dans NinjaTrader, fermez tous les graphiques sur lesquels le robot est posé.
  3. 3Control Center → Tools → Remove NinjaScript Assembly… → sélectionnez l’entrée TradeLog (son nom porte la version) → Remove. NinjaTrader recompile.
  4. 4Control Center → Tools → Import → NinjaScript Add-On… → choisissez le nouveau zip. L’avertissement sur les add-ons tiers réapparaît — appuyez sur OK.
  5. 5Fermez complètement NinjaTrader et rouvrez-le. Ce n’est pas facultatif : .NET ne décharge pas un assembly, donc tant que vous n’avez pas redémarré, c’est l’ancien robot qui tourne — le panneau continue d’afficher l’ancienne version et le badge de mise à jour, même si le nouveau fichier est déjà sur le disque.
  6. 6Rouvrez votre graphique et ajoutez-y le robot. Vérifiez que la version affichée dans l’en-tête du panneau est bien celle que vous venez d’installer.
Notez votre clé API et vos réglages de risque avant de commencer — après une réinstallation, vous devrez peut-être les saisir à nouveau.

NinjaTrader ne peut pas désactiver ce robot

NinjaTrader désactive de lui-même une stratégie en cours lors d’un Close ou d’un Flatten. Le robot TradeLog n’en est pas une : il survit à ces actions et continue de protéger le compte.

Questions fréquentes

  • Rien ne s’est passé après l’import. L’import installe le robot dans NinjaTrader ; il ne le place pas sur un graphique. Clic droit sur le graphique, Indicators…, trouvez TradeLogSyncV3 et double-cliquez.
  • Je clique dans une case de réglage et ma saisie n’entre pas. C’est la grille Parameters de NinjaTrader, pas le robot : un clic sélectionne la cellule, un second l’ouvre à l’édition.
  • Mes anciens trades ne sont pas apparus. NinjaScript ne peut pas lire les exécutions antérieures au robot. Exportez-les depuis Control Center, Trade Performance, Executions, et importez le CSV dans TradeLog — il fusionne sur les mêmes trades.
  • Puis-je l’utiliser sur deux comptes ? Oui, sur autant de graphiques et de comptes que vous voulez. Gardez le réglage 3.2 activé et un seul graphique par compte effectuera la réduction.
  • Le panneau annonce une mise à jour. C’est un avis, pas un blocage. Téléchargez le nouveau fichier depuis Connexions et importez-le de la même façon.
  • Le panneau affiche toujours l’ancienne version et « Update available » après la mise à jour. Vous n’avez pas encore redémarré NinjaTrader. La suppression et l’import changent le fichier sur le disque ; la copie déjà chargée en mémoire continue de tourner jusqu’à ce que NinjaTrader soit fermé puis rouvert.

Si quelque chose ne va pas

Un seul message contenant tout obtient une réponse utile du premier coup. Voici quoi envoyer.

Nous répondons sous 24 heures. Envoyer les quatre éléments ci-dessous dès le premier message rend cette réponse suffisante, au lieu d’être la première de trois.
  1. 1Le numéro de version, dans l’en-tête du panneau.
  2. 2Les 30 dernières lignes de la fenêtre Output de NinjaTrader. Activez le réglage 6.1, puis ouvrez Control Center, New, Output ; reproduisez le problème ; clic droit dans la fenêtre, Select All, puis Copy.
  3. 3Une capture du graphique entier avec le panneau visible.
  4. 4Ce que vous avez fait, ce que vous attendiez et ce qui s’est produit à la place.

Historique des versions

3.9.1The connection light now recovers as soon as TradeLog answers again, instead of waiting for the next half-hourly check, and the panel says plainly when TradeLog cannot be reached rather than showing "Connecting" indefinitely.
3.9.0The panel now catches a stop placed on the wrong side of your position, tells you how many contracts are still unprotected, and clears leftover orders when you close.
2.4.2Stability fixes for the position panel.

Les numéros de version sont ceux affichés par le panneau dans son en-tête. Si le vôtre est plus ancien, retéléchargez le robot depuis votre page Connexions.

Reliez votre compte NinjaTrader au compte TradeLog portant le profil de prop firm correspondant, afin que vos règles et limites s’appliquent aux bons trades.
Traitez votre clé API comme un mot de passe. Si elle est exposée, supprimez-la dans Paramètres puis Clés API et créez-en une nouvelle — l’ancienne cesse immédiatement de fonctionner.

Cet article vous a-t-il été utile ?