+1 888 340 6572
MultiCharts Project Management
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Feature request MC-2532

PowerLanguage - expose the .NET equivalent of .BarsOfData(N) and PortfolioStrategies[0].Signals[0].StrategyInfo, rather than messing around with GlobalVars

Go to the next issue (open or closed)
Go to the next open issue

I start to see more and more the benefits of the .NET version ... through its powerful classes.
Would be great to see a catch up in terms of API capabilities. Some examples are .BarsOfData(N) and PortfolioStrategies[0].Signals[0].StrategyInfo which are accessible from a MM signal.
No idea how can these be nicely accessed from PowerLanguage (other than using local vars exported with pmm(s) functions, or global variables - which tend to have a lot of Gotcha's and idiosyncrasies you'd like not to waist time with).


Comments (1)
user-offline.png  andb (andb)
Nov 29, 2018 - 07:14

To add a little bit of context, pmm(s) MM functions will be lagging:

whatever (say, var - milk = 1) is exposed in Strategy 0 and available within the MM signal for Bar N - if we want to push milk to strategy 2, then strategy 2 will only get access to milk's value in bar N+1 ... since strategies are evaluated sequentially in their order, whilst the MM signal is evaluated last - for each and every bar.

Issue basics
  • Type of issue
    Feature request
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates