Beginner's Guide to MultiCharts Programming

From MultiCharts
Revision as of 09:28, 27 January 2012 by JoshM (talk | contribs) (Created page with "This article highlights some PowerLanguage formatting tips, as discussed in a forum topic <ref>[http://www.multicharts.com/discussion/viewtopic.php?f=1&t=9792 MC Programing - ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article highlights some PowerLanguage formatting tips, as discussed in a forum topic <ref>MC Programing - What I’ve learned</ref>.

Layout

Some tips regarding the layout of a coding script.

Description

It's considered good programming practice to include a description, changelog and dates into your script. This helps with keeping track of changes or reverting any made changes. An example of a good description is the following.

{
   Type - Indicator
   Name - NWT SPI Day Session
   Desc - Plot a ribbon show Green for the Day Session and Red for the Night Session
      Just to enable quicker back viewing of the data
          
   Version    Date          Reason
   1         17/12/2011   Start
}

References

<references />