+1 888 340 6572
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_stroke.svg
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-957

Variable plot number: Plot(N, value, name) in addition to PlotN(value, "name")

minus.svg
Please log in to vote
8
Votes
pluse.svg
Please log in to vote
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

Sometimes when coding complex indicators, it would be far more efficient to write code where the plot number can be specified by a variable. In such cases rather than having to code PlotN(value, "name"); it would be far more efficient to code Plot(N, value, name), where N is an integer and name is a string. This is actually two feature requests, one for variable plot numbers (N) and one for variable names (name); either one is useful, both together are very useful.

Steps to reproduce this issue

Try to efficiently code a 100 plots where the difference between the plots is based on a formula where the outputs are figured in a for loop.

Comments (2)
#0
user-offline.png  Fabrice
May 19, 2012 - 08:20

Another "feature request" showing clearly that El needs to evolve as a true OO language.
F.

#0
user-offline.png  Yves BENOIT
Mar 31, 2014 - 19:12

I need to plot in the same subchart, a function computed on a set of 10 Instruments:
arrays: Colors10;
(... Initialisation of the 10 colors...)
for n=1 to 10 Begin
Plot(n, MyFunction(Close of data(n), Symbol of data(n), Colors[n]);
End;

History
Issue basics
  • Type of issue
    Feature request
  • Category
    Usability
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
  • Posted by
    user-offline.png  mechtrader
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    2 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
Commits (0)
There are no code checkins for this issue
×

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.