Using Studies (PowerLanguage Editor): Difference between revisions
From MultiCharts
Using Studies (PowerLanguage Editor) (view source)
Revision as of 16:50, 21 June 2018
, 21 June 2018no edit summary
Abeloglazova (talk | contribs) No edit summary |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 25: | Line 25: | ||
To create a signal: | To create a signal: | ||
# Open '''New '''dialog box by clicking the '''New ''' | # Open '''New '''dialog box by clicking the '''New '''[[File:PL_New.png]] icon on the toolbar, by selecting '''File '''in the main menu and clicking '''New''', or by using the Ctrl+N keyboard shortcut. | ||
# Select '''Signal'''. | # Select '''Signal'''. | ||
# Enter the signal name. | # Enter the signal name. | ||
Line 35: | Line 35: | ||
To create a function: | To create a function: | ||
# Open '''New''' dialog box by clicking the '''New''' | # Open '''New''' dialog box by clicking the '''New''' [[File:PL_New.png]] icon on the toolbar, by selecting '''File '''in the main menu and clicking '''New''', or by using the Ctrl+N keyboard shortcut. | ||
# Select '''Function'''. | # Select '''Function'''. | ||
# Enter the function name. | # Enter the function name. | ||
Line 47: | Line 47: | ||
A list of all available studies can be viewed in the '''Open''' window. Studies' '''Name''', '''Type''', '''Status''', and the last modification date ('''Modified''') are displayed in the list. | A list of all available studies can be viewed in the '''Open''' window. Studies' '''Name''', '''Type''', '''Status''', and the last modification date ('''Modified''') are displayed in the list. | ||
Studies can be | Studies can be edited, deleted and the studies' properties can be modified from the '''Open''' window. | ||
To open the '''Open''' window: | To open the '''Open''' window: | ||
#Click the '''Open ''' | #Click the '''Open ''' [[File:Portfolio_LOAD.png]] icon on the toolbar. | ||
#The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | #The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | ||
To open a study’s script from the list of recent scripts ('''available since MultiCharts 12'''): | |||
# Click on the arrow next to the '''Open ''' [[File:Portfolio_LOAD.png]] icon on the toolbar. | |||
# In the '''File''' menu choose '''Recent Scripts''' and select the required script. | |||
<br><br> | <br><br> | ||
Line 64: | Line 68: | ||
* '''Type '''column displays the study's type: Indicator, Signal, or Function. | * '''Type '''column displays the study's type: Indicator, Signal, or Function. | ||
* '''Status '''column displays the study's status: | * '''Status '''column displays the study's status: | ||
** '''Compiled''' | ** '''Compiled''' [[File:PL_Comp.png]] - the study is ready to be used; to learn more, see [[Editing_Study_Scripts#Compiling Scripts|Compiling Studies]] | ||
** '''Protected''' | ** '''Protected''' [[File:PL_Locked.png]] - the study cannot be opened for editing, and the study’s code cannot be viewed; to learn more, see [[Editing_Study_Scripts#Protecting Studies|Protecting Studies]] | ||
** No status is displayed – the study has to be compiled before it can be used; to learn more, see [[Editing_Study_Scripts#Compiling Scripts|Compiling Studies]] | ** No status is displayed – the study has to be compiled before it can be used; to learn more, see [[Editing_Study_Scripts#Compiling Scripts|Compiling Studies]] | ||
* '''Modified''' column displays the date and time that the most recent study modification has been made. | * '''Modified''' column displays the date and time that the most recent study modification has been made. | ||
Line 79: | Line 83: | ||
# Open the '''Open '''window. | # Open the '''Open '''window. | ||
#: To open the '''Open '''window: | #: To open the '''Open '''window: | ||
#:# Click the '''Open''' | #:# Click the '''Open''' [[File:Portfolio_LOAD.png]] icon on the toolbar. | ||
#:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | #:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | ||
# In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | # In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | ||
Line 88: | Line 92: | ||
== Saving Studies == | == Saving Studies == | ||
To save a study in PowerLanguage Editor, click the '''Save''' | To save a study in PowerLanguage Editor, click the '''Save''' [[File:Portfolio_Save.png]] icon on the toolbar. A study can also be saved by selecting '''File''' in the main menu and clicking '''Save''', or by using the Ctrl+S keyboard shortcut. | ||
All studies | All studies currently opened in PowerLanguage editor can be saved by selecting '''File''' in the main menu and clicking '''Save All''', or by using the Ctrl+Shift+S keyboard shortcut. | ||
<div style="background-color: #E3FBE5;">Note: If no modifications have been made to studies, the '''Save''' icon on the toolbar and '''Save''' commands will not be available.</div> | <div style="background-color: #E3FBE5;">Note: If no modifications have been made to studies, the '''Save''' icon on the toolbar and '''Save''' commands will not be available.</div> | ||
Line 99: | Line 103: | ||
A study can be renamed by one of the following methods: | A study can be renamed by one of the following methods: | ||
* Click the '''Properties''' | * Click the '''Properties''' [[File:PL_Properties.png]] icon on the toolbar; in the '''Properties''' tab of the '''Properties '''dialog box that appears, in the '''Name''' box, enter the new study name and click '''OK'''. | ||
* Right-click within the study’s window and then click '''Properties'''; in the '''Properties''' tab of the '''Properties '''dialog box that appears, in the '''Name''' box, enter the new study name and click '''OK'''. | * Right-click within the study’s window and then click '''Properties'''; in the '''Properties''' tab of the '''Properties '''dialog box that appears, in the '''Name''' box, enter the new study name and click '''OK'''. | ||
* Select '''File''' in the main menu and click '''Save As'''; in the dialog box that appears, enter the new study name and click '''OK'''. | * Select '''File''' in the main menu and click '''Save As'''; in the dialog box that appears, enter the new study name and click '''OK'''. | ||
Line 108: | Line 112: | ||
# Open the '''Open '''window. | # Open the '''Open '''window. | ||
#: To open the '''Open '''window: | #: To open the '''Open '''window: | ||
#:# Click the '''Open''' | #:# Click the '''Open''' [[File:Portfolio_LOAD.png]] icon on the toolbar. | ||
#:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | #:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | ||
# In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | # In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | ||
Line 131: | Line 135: | ||
# Open the '''Open''' window. | # Open the '''Open''' window. | ||
#: To open the '''Open '''window: | #: To open the '''Open '''window: | ||
#:# Click the '''Open''' | #:# Click the '''Open''' [[File:Portfolio_LOAD.png]] icon on the toolbar. | ||
#:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | #:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | ||
# In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | # In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | ||
Line 144: | Line 148: | ||
Properties window can be opened by one of the following methods: | Properties window can be opened by one of the following methods: | ||
* Click the '''Properties ''' | * Click the '''Properties ''' [[File:PL_Properties.png]] icon on the toolbar. | ||
* Right-click within the study’s window and then click '''Properties'''. | * Right-click within the study’s window and then click '''Properties'''. | ||
Line 152: | Line 156: | ||
# Open the '''Open '''window. | # Open the '''Open '''window. | ||
#: To open the '''Open '''window: | #: To open the '''Open '''window: | ||
#:# Click the '''Open''' | #:# Click the '''Open''' [[File:Portfolio_LOAD.png]] icon on the toolbar. | ||
#:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | #:# The '''Open '''window can also be opened by selecting '''File '''in the main menu and clicking '''Open''', or by using the Ctrl+O keyboard shortcut. | ||
# In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. | # In the Study Type section, select or clear '''Indicator''', '''Signal''', and/or '''Function''' checkboxes to specify the types of studies to be included in the list. |