×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

Why chart shows no trades

19 bytes removed, 13:32, 24 January 2023
m
Reverted edits by Vlada Krutogolovaya (talk) to last revision by KateMultiCharts
Please make sure you have applied at least 1 signal to the chart and it is turned on to make backtesting or auto-trading possible:
# '''Right-Clickсlick''' on the chart,
# '''Format Signals''':
#* If '''Format Signals''' is grayed out, it means no signals are currently applied to the chart to generate orders. [[Using Studies#Inserting Studies| '''Add signals''']] to the chart.
#* If '''Format Signals''' is available, click it to see the list of signals applied signals to the chart. Make sure at least 1 signal [[Using Studies#Turning Studies Off and On| '''is ON''']].
# Click '''OK'''.
<div style="background-color: #E3FBE5;">'''Note''': '''if a signal is applied successfully, this does not mean it should show you display orders'''. Please [[Why chart shows no trades#Strategy is applied and calculated, but no orders are shown on chart| read this passage]].</div>
<br>
==="Error", "No" or "Unverified" for a signal in the Status in Format Signals window===
Follow the next these steps exactly as they are described:
# '''Close''' all MultiCharts parts and make sure all [[MultiCharts Processes]] are ended in the Windows Task Manager,
# Launch only MultiCharts,
#* If it is not compiled, debug the script,
#* If it is compiled successfully, go back to MultiCharts,
# MultiCharts: '''right-click''' on the chart, where the signal is applied to,
# '''Format Signals''',
# '''Select''' the signal,
<div style="background-color: #E3FBE5;">'''Note''': If it still shows "Error", "No" or "Unverified", please [http://www.multicharts.com/support/contact/| contact our support team].</div>
<br>
 
===Strategy is constantly "calculating" in the status line===
Each signal code requires at least 1 bar to be calculated on it before it can place an order. For signals, the number of bars a code should be calculated on before it can place an order is defined by the [[Strategy Properties#Setting Maximum Bars Back| Maximum number of bars a study will reference (MaxBarsBack) in Strategy Properties]]. If you have an incorrect MaxBarsBack value, you will see '''calculating...''' in the Status Line of the chart, and therefore you need to change this value. In order to see this, make sure your Status Line is configured correctly:
# '''Right-Clickclick''' on the chart,
# '''Format Window''',
# '''Status Line''' tab,
===Strategy is applied and calculated, but no orders are shown on the chart===
If there is no order on a backtested chart, it means either the '''order generation conditions in your code''', or the '''conditions for order execution''' (prices on chart) '''were not met on the chart'''. The same is '''true''' also for '''real-time script calculation''' (so -called "forwardtestingforward testing") and '''auto-trading'''.
Please [[Why an Order Was or Was Not Executed| '''read this article''']] in order to learn more and find out how you can trace your order generation and execution from within the code to understand why it does not work as expected.
<div style="background-color: #E5F6FF;">'''Example''': If standard signals '''Custom Strategy LX''' and '''Custom Strategy SX''' are applied to a chart, there will be no order on a chart, because '''LX''' and '''SX''' stand for '''Long Exit''' and '''Short Exit''' respectfully. [[How Scripts Work#Order Execution Priority| If there are no entries, no exit orders can be generated]].</div>
The distinguishing feature of the [[Auto Trading#Mode Selection| Synchronous mode of auto-trading]] in MultiCharts is that the orders are shown on the chart only if they are actually executed and the broker returned a confirmation of it through the broker's API. Please check the following:
* [[Why the chart shows no trades#General information| Are the requirements to show orders on the chart met?]]* [[Why the chart shows no trades#Strategy is applied and calculated, but no orders are shown on chart| Should the orders be sent and executed?]]
<br>
==Manual trades or trades placed from other software==
In order to see such orders, the same requirements as [[Why chart shows no trades#General information| described at the beginning of this page]] should be met.
[[Category:FAQ]]