Why chart shows no trades

From MultiCharts
Revision as of 20:46, 25 November 2013 by Andrew MultiCharts (talk | contribs) (Created page with "==Strategy Trades== ===Applying signals=== Please make sure you have applied at least 1 signal to the chart and it is turned on in order to make backtesting or auto-trading ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Strategy Trades

Applying signals

Please make sure you have applied at least 1 signal to the chart and it is turned on in order to make backtesting or auto-trading possible:

  1. Right-Click on the chart,
  2. Format Signals:
    • If Format Signals is grayed out, it means no signals are currently applied to the chart to generate orders. Add signals to the chart.
    • If Format Signals is available, click it to see the list of applied signals to the chart. Make sure at least 1 signal is ON.
  3. Click OK.

"Error", "No" or "Unverified" for a signal in the Status in Format Signals window

Follow the next steps exactly as they are described:

  1. Close all MultiCharts parts and make sure all MultiCharts Processes are ended in Windows Task Manager,
  2. Launch only MultiCharts,
  3. Open the workspace where the problematic signals are applied to charts,
  4. File -> New -> PowerLanguage Editor,
  5. PowerLanguage Editor: File -> Open -> select your signal -> Ok,
  6. Click Compile button (if it is grayed out, add a space anywhere to the script of the opened signal and then click Compile button),
    • If it is not compiled, debug the script,
    • If it is compiled successfully, go back to MultiCharts,
  7. MultiCharts: right-click on the chart, where the signal is applied to,
  8. Format Signals,
  9. Select the signal,
  10. Turn it off first by clicking on Status button,
  11. Turn it on by clicking on Status button again.

Strategy is constantly "calculating" in 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 Maximum number of bars a study will reference (MaxBarsBack) in Strategy Properties. The indication that the MaxBarsBack value or the number of bars on chart should be changed is calculating... in the Status Line of the chart. In order to see this. make sure your Status Line is configured correctly:

  1. Right-Click on the chart,
  2. Format Window,
  3. Status Line tab,
  4. Make sure Enable Status Line box is checked,
  5. Scroll down the list of items for status line and make sure the Study box is checked,
  6. Click OK.

If there is no calculating... in the status line after that, this is not the reason of the absence of strategy-generated orders on chart.

=