User contributions
23 January 2012
Portfolio GrossProfit
Created page with "Returns a numerical value, indicating the total currency value of all completed winning trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_GrossProfit</synt..."
Portfolio GrossLoss
Example
-1
Portfolio GrossLoss
Example
+2
Portfolio GrossLoss
Created page with "Returns a negative numerical value, indicating the total currency value of all completed losing trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_GrossLoss..."
Category:Portfolio Strategy Performance
Created page with "Category:PowerLanguageKeywords"
SetPlotBGColor
Created page with "Assigns a specified color to the cell background for the indicated study plot for the duration of the current bar. Use of SetBGPlotColor is effective only for the Scanner. ..."
SetPlotColor
Created page with "Assigns a specified color to the specified plot for the duration of the current bar. ==== Usage ==== <syntaxhighlight>SetPlotColor(PlotNumber,PlotColor)</syntaxhighlight> ..."
PlotPB
Created page with "Same as the PlotPaintBar Category:Plotting"
PlotPaintBar
Created page with "Plots the specified numerical expressions in the form of a bar chart. Plot name, color, and plot line width can be specified by using the optional parameters. PlotPaintBar ..."
Plot
Created page with "Plots the specified numerical or string expression on a chart, up to 999 different plots can be used simultaneously. Numerical: Plot offset, name, color, and plot line width ..."
NoPlot
Created page with "Removes a specified plot from the current bar. A conditional plot that is already drawn will remain even if the conditions become no longer true before the bar is closed. NoP..."
GetPlotWidth
Created page with "Returns the plot line width value of the specified plot. Plot line width values range from 0 to 14. ==== Usage ==== <syntaxhighlight>GetPlotWidth(PlotNumber)</syntaxhighlig..."
GetPlotColor
Created page with "Returns an RGB color number or a legacy color value that correspond to the color of the specified plot. ==== Usage ==== <syntaxhighlight>GetPlotColor(PlotNumber)</syntaxhigh..."
GetBackgroundColor
Created page with "Returns an RGB color number or a legacy color value that correspond to the background color of the chart. ==== Usage ==== <syntaxhighlight>GetBackgroundColor</syntaxhighlig..."
Default
Created page with "Used in plot statements to specify a default style. Default styles are set by the user. For more information see Plot ==== Usage ==== <syntaxhighlight>Default</syntaxh..."
Category:Plotting
Created page with "Category:PowerLanguageKeywords"
Print
Parameters
-1
Print
Created page with "Sends one or more specified expressions to the PowerLanguage Editor Output Log or another output target, if specified. Any combination of string, true/false, numerical series,..."
PlaySound
Created page with "Plays the specified wave (.wav) sound file. ==== Usage ==== <syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight> Where: PathFilename - a string expression spe..."
MessageLog
Created page with "Displays one or more specified expressions in the PowerLanguage Editor Output Log. Any combination of string, true/false, numerical series, or numerical expressions can be spe..."
FileDelete
Created page with "Deletes the specified file. ==== Usage ==== <syntaxhighlight>FileDelete("PathFilename")</syntaxhighlight> Where: PathFilename - a string expression specifying the pa..."
FileAppend
Example
+1
FileAppend
Created page with "Appends the specified string expression to the end of the specified ASCII file; if the specified file does not exist, the file will be created. ==== Usage ==== <syntaxhighl..."
File
Example
+1
File
Created page with "Used in Print statements to specify an ASCII file as the output location; must precede the expressions to be printed and be followed by a comma. If the specified file does not..."
ClearPrintLog
Created page with "Same as ClearDebug Category:Math and Trig"
ClearDebug
Created page with "Clears the PowerLanguage Editor Output Log. ==== Usage ==== <syntaxhighlight>ClearDebug</syntaxhighlight> ==== Example ==== <syntaxhighlight>ClearDebug; will clear the ..."
Category:Math and Trig
Created page with "Category:PowerLanguageKeywords"
RecalcLastBarAfter
no edit summary
RecalcLastBarAfter
Created page with "Initializes the calculation after expiration of the timeout, set in seconds. ==== Usage ==== <syntaxhighlight>RecalcLastBarAfter(Timeout)</syntaxhighlight> Where: [[Tim..."
RaiseRunTimeError
Created page with "Generates a run-time error and displays the specified error message. A run-time error will cause the execution of the study to be aborted. ==== Usage ==== <syntaxhighligh..."
FpcVeryLowAccuracy
Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-8; can be substituted by a numerical..."
FpcVeryHighAccuracy
Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-16; can be substituted by a numerica..."
FpcMedAccuracy
Example
+70
FpcMedAccuracy
Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-12; can be substituted by a numerica..."
FpcLowAccuracy
Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerica..."
FpcHighAccuracy
Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerica..."
Events
Created page with "#Events Supported by PowerLanguage. A detailed description and usage examples have been published by TradeStation Technologies: EasyLanguage Extension SDK [[Categ..."
FpcExactAccuracy
Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 0.00; can be substituted by a numerical value of 5. ==== ..."
Abort
Created page with "Generates a run-time error and aborts the execution of the study. ==== Usage ==== <syntaxhighlight>Abort</syntaxhighlight> ==== Example ==== <syntaxhighlight>Abort the s..."
Category:Execution Control
Created page with "Category:PowerLanguageKeywords"
ExecOffset
Example
CurrentDataNumber
Example
+1
CurrentDataNumber
Example
BaseDataNumber
Example
BaseDataNumber
Example
MaxBarsForward
Created page with "Returns a numerical value indicating the size, in bars, of the right margin on the chart. Right margin is used by the studies that visualize the predicted price movement. ..."
MaxBarsBack
Created page with "Returns a numerical value indicating the Maximum Bars Back setting for the study. All studies based on past data use a certain number of bars for their calculations. The num..."
GetUserID
Created page with "Returns a unique identification number (UserID) for the PC that the study is being run on. UserID number is used for study protection. ==== Usage ==== <syntaxhighlight>Ge..."
GetCurrency
Created page with "Returns the currency symbol selected in the Regional Options settings of the Windows XP Control Panel. ==== Usage ==== <syntaxhighlight>GetCurrency</syntaxhighlight> ===..."