MultiCharts Easter Sale has jumped in! Up to 50% off Explore offers
+1 888 340 6572 GET STARTED
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-2025

New Custom Loader added for 9.0. (CustomInstrument) does not work with ASCII Mapped Instruments

action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

The new Custom Loader from this Link:

http://www.multicharts.com/discussion/viewtopic.php?f=19&t=46969&p=107376#p107339

does not work with ASCII Mapped Instruments.
It produces a "Symbol not found error".

Steps to reproduce this issue

ASCII map the attached "rota.csv" with QuoteManager.
Import the Custom Loader example from this link:

http://www.multicharts.com/discussion/viewtopic.php?f=19&t=46969&p=107376#p107339

or import the attached "test_custom.pln"
then change
m_MyCustomInstrument = new PowerLanguage.CustomInstrument(Bars, "XLF", Bars.Request.Resolution, false);
to
m_MyCustomInstrument = new PowerLanguage.CustomInstrument(Bars, "asc:rota", Bars.Request.Resolution, false);
in the script, compile and try to plot the indicator "test_Custom".
It produces a "Symbol not found error".

Comments (1)
#0
user-offline.png  MultiCharts Support (MultiCharts)
Mar 30, 2016 - 11:40

Hi,
Please try to load it using the following piece of code:
protected override void StartCalc()
   {
    MTPA_MCSymbolInfo2[] _symb = SymbolStorage.GetSymbols("ASCII Mapping", "AUD_CAD", ESymbolCategory.Forex, "FOREX");
    if (_symb.Length > 0)
     m_symbol = new CustomInstrument(Bars, "ASCII Mapping", _symb[0], Bars.Request.Resolution, false); 
   }

History
Issue basics
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
  • Posted by
    user-offline.png  Trp (Trp)
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    1 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
Attachments (1)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates