User contributions
Jump to navigation
Jump to search
- 14:31, 25 January 2012 diff hist +386 N LowerStr Created page with "Converts the uppercase letters of a specified string expression to a lowercase. ==== Usage ==== <syntaxhighlight>LowerStr("String")</syntaxhighlight> Where: String -..."
- 14:30, 25 January 2012 diff hist +497 N LeftStr Created page with "Returns one or more leftmost characters from the specified string expression. ==== Usage ==== <syntaxhighlight>LeftStr(String,sSize)</syntaxhighlight> Where: String ..."
- 14:29, 25 January 2012 diff hist -3 InStr →Usage
- 14:28, 25 January 2012 diff hist +1,075 N InStr Created page with "Returns the position of a specified string expression inside another specified string expression. The position of the string being located is indicated by the number of char..."
- 14:26, 25 January 2012 diff hist +373 N DoubleQuote Created page with "Displays the double-quote (") character in a string. ==== Example ==== This example demonstrates how the word Hello in double quotes can be displayed on the last bar above ..."
- 14:24, 25 January 2012 diff hist +34 N Category:Text Manipulation Created page with "Category:PowerLanguageKeywords" current
- 14:17, 25 January 2012 diff hist +1,165 N Text GetFirst Created page with "Returns a numerical value, indicating an object ID number of the oldest (the first to be added to the current chart) text object of the specified origin; returns a value of -2..."
- 14:13, 25 January 2012 diff hist +1,320 N Text SetStyle Created page with "Sets the placement style of a text object relative to the bar and to the price value specified for the object; returns a value of 0 if the placement style of the object was su..."
- 14:11, 25 January 2012 diff hist +843 N Text SetString Created page with "Replaces with the specified string expression the text contained in a text object with the specified ID number; returns a value of 0 if the string expression was successfully ..."
- 14:10, 25 January 2012 diff hist +768 N Text SetSize Created page with "Assigns the specified font size to the text of a text object with the specified ID number; returns a value of 0 if the font size was successfully assigned, and a value of -2 i..."
- 14:08, 25 January 2012 diff hist +1,371 N Text SetLocation s Created page with "Modifies the location of a text object with the specified ID number; returns a value of 0 if the location of the object was successfully modified, and a value of -2 if the spe..."
- 14:06, 25 January 2012 diff hist +1,331 N Text SetLocation Created page with "Modifies the location of a text object with the specified ID number; returns a value of 0 if the location of the object was successfully modified, and a value of -2 if the spe..."
- 14:04, 25 January 2012 diff hist +817 N Text SetFontName Created page with "Assigns the specified font to a text object with the specified ID number; returns a value of -2 if the specified object ID number is invalid. Any font in the Fonts folde..."
- 14:02, 25 January 2012 diff hist +1,240 N Text SetColor Created page with "Assigns the specified color to the text of a text object with the specified ID number; returns a value of 0 if the color was successfully assigned, and a value of -2 if the sp..."
- 14:00, 25 January 2012 diff hist +960 N Text SetBorder Created page with "Adds or removes a border around the text object with the specified ID number; returns a value of 0 if the border was successfully set, and a value of -2 if the specified objec..."
- 13:58, 25 January 2012 diff hist +1,268 N Text SetBGColor Created page with "Assigns the specified background color to a text object with the specified ID number; returns a value of 0 if the color was successfully assigned, and a value of -2 if the spe..."
- 13:56, 25 January 2012 diff hist +1,019 N Text SetAttribute Created page with "Sets an attribute of the text in a text object with the specified ID number; returns a value of 0 if the attribute was successfully set, and a value of -2 if the specified obj..."
- 13:53, 25 January 2012 diff hist +1,397 N Text New self s Created page with "Displays a text object, consisting of the specified string expression located at the specified bar and specified price value, on the SubChart containing the study; returns an ..."
- 13:50, 25 January 2012 diff hist +1,361 N Text New self Created page with "Displays a text object, consisting of the specified string expression located at the specified bar and specified price value, on the SubChart containing the study; returns an ..."
- 13:49, 25 January 2012 diff hist +1,370 N Text New s Created page with "Displays a text object, consisting of the specified string expression located at the specified bar and specified price value, on the chart that the study is based on; returns ..."
- 13:47, 25 January 2012 diff hist +6 Text New →Parameters
- 13:46, 25 January 2012 diff hist +1,327 N Text New Created page with "Displays a text object, consisting of the specified string expression located at the specified bar and specified price value, on the chart that the study is based on; returns ..."
- 13:44, 25 January 2012 diff hist +922 N Text GetVStyle Created page with "Returns the vertical placement style of a text object with the specified ID number; returns a value of -2 if the specified object ID number is invalid. ==== Usage ==== <syn..."
- 13:31, 25 January 2012 diff hist +742 N Text GetValue Created page with "Returns the price value (vertical position, corresponding to a value on the price scale of a chart), at which a text object with the specified ID number has been placed; retur..."
- 13:29, 25 January 2012 diff hist +808 N Text GetTime s Created page with "Returns a numerical value indicating the time, including seconds, of the bar at which a text object with the specified ID number has been placed; returns a value of -2 if the ..."
- 13:27, 25 January 2012 diff hist +776 N Text GetTime Created page with "Returns a numerical value, indicating the time of the bar at which a text object with the specified ID number has been placed; returns a value of -2 if the specified object ID..."
- 13:26, 25 January 2012 diff hist +592 N Text GetString Created page with "Returns a string expression corresponding to the text contained in a text object with the specified ID number. ==== Usage ==== <syntaxhighlight>Text_GetString(ObjectID)</sy..."
- 13:24, 25 January 2012 diff hist +654 N Text GetSize Created page with "Returns a numerical value indicating the font size assigned to a text object with the specified ID number; returns a value of -2 if the specified object ID number is invalid. ..."
- 13:22, 25 January 2012 diff hist +1,140 N Text GetNext Created page with "Returns an ID number of the first existing text object added subsequent to a text object with the specified ID number, with both objects of a specified origin; returns a value..."
- 13:21, 25 January 2012 diff hist +821 N Text GetHStyle Created page with "Returns the horizontal placement style of a text object with the specified ID number; returns a value of -2 if the specified object ID number is invalid. ==== Usage ==== <s..."
- 13:18, 25 January 2012 diff hist +1 Text GetFontName →Example
- 13:18, 25 January 2012 diff hist +615 N Text GetFontName Created page with "Returns a string expression corresponding to the name of the font assigned to a text object with the specified ID number. ==== Usage ==== <syntaxhighlight>Text_GetFontName(..."
- 13:16, 25 January 2012 diff hist +843 N Text GetDate Created page with "Returns a numerical value, indicating the date of the bar at which a text object with the specified ID number has been placed; returns a value of -2 if the specified object ID..."
- 13:15, 25 January 2012 diff hist +923 N Text GetColor Created page with "Returns an RGB color number or a legacy color value that correspond to the color of the text contained in a text object with the specified ID number; returns a value of -2 if ..."
- 13:13, 25 January 2012 diff hist +805 N Text GetBorder Created page with "Returns a logical value, indicating whether a border is added to a text object with the specified ID number; returns a value of True if the border has been added, and a va..."
- 13:12, 25 January 2012 diff hist +1 Text GetBGColor
- 13:11, 25 January 2012 diff hist +937 N Text GetBGColor Created page with "Returns an RGB color number or a legacy color value that correspond to the background color of a text object with the specified ID number; returns a value of -2 if the specifi..."
- 13:08, 25 January 2012 diff hist +4 Text GetAttribute →Parameters
- 13:08, 25 January 2012 diff hist -7 Text GetAttribute →Parameters
- 13:08, 25 January 2012 diff hist +1,082 N Text GetAttribute Created page with "Returns a logical value indicating the setting for an attribute of a text object with the specified ID number; returns a value of True if the attribute is set to on, and a..."
- 13:05, 25 January 2012 diff hist +556 N Text GetActive Created page with "Returns a numerical value indicating the object ID number of the currently selected text object; returns a value of -1 if no text objects are currently selected. ==== Usage..."
- 13:04, 25 January 2012 diff hist +611 N Text Delete Created page with "Removes a text object with the specified ID number from a chart; returns a value of 0 if the object was successfully removed, and a value of -2 if the specified object ID numb..."
- 13:02, 25 January 2012 diff hist 0 MC Text GetActive →Example
- 13:02, 25 January 2012 diff hist +426 N MC Text GetActive Created page with "Returns a numerical value indicating the text ID number of the currently selected text; returns a value of -1 if no text is currently selected. ==== Usage ==== <syntaxhighli..."
- 13:00, 25 January 2012 diff hist +34 N Category:Text Drawing Created page with "Category:PowerLanguageKeywords" current
- 12:58, 25 January 2012 diff hist +372 N Slippage Created page with "Returns the slippage currency value entered in the Strategy Properties window. ==== Usage ==== <syntaxhighlight>Slippage</syntaxhighlight> ==== Notes ==== This function..."
- 12:57, 25 January 2012 diff hist +372 N Margin Created page with "Returns a dollar value that indicates the margin value per contract. ==== Usage ==== <syntaxhighlight>Margin</syntaxhighlight> ==== Notes ==== The margin value may not b..."
- 12:55, 25 January 2012 diff hist +74 N GetStrategyName Created page with "Retained for backward compatibility. Category:Strategy Properties"
- 12:55, 25 January 2012 diff hist +380 N Commission Created page with "Returns the commission currency value entered in the Strategy Properties window. ==== Usage ==== <syntaxhighlight>Commission</syntaxhighlight> ==== Notes ==== This func..."
- 12:53, 25 January 2012 diff hist +34 N Category:Strategy Properties Created page with "Category:PowerLanguageKeywords" current
- 12:50, 25 January 2012 diff hist +836 N PosTradeSize Created page with "Returns an absolute numerical value, indicating the number of contracts or shares in the specified trade. ==== Usage ==== <syntaxhighlight>PosTradeSize(PosAgo,TradeNumber)<..."
- 12:48, 25 January 2012 diff hist +845 N PosTradeProfit Created page with "Returns an absolute numerical value, indicating the profit (or loss if negative) of the specified trade. ==== Usage ==== <syntaxhighlight>PosTradeProfit(PosAgo,TradeNumber)..."
- 12:45, 25 January 2012 diff hist +920 N PosTradeIsOpen Created page with "Returns True value if the trade is open, False value if the trade is closed. It makes sense to check the trades of the open position. For other positions False is always r..."
- 12:43, 25 January 2012 diff hist +825 N PosTradeIsLong Created page with "Returns True value if the trade was opened by buy order, otherwise False value is returned. ==== Usage ==== <syntaxhighlight>PosTradeIsLong(PosAgo,TradeNumber)</syntaxhighl..."
- 12:41, 25 January 2012 diff hist +859 N PosTradeExitPrice Created page with "Returns an absolute numerical value, indicating the execution price of trade exit order. ==== Usage ==== <syntaxhighlight>PosTradeExitPrice(PosAgo,TradeNumber)</syntaxhighl..."
- 12:38, 25 January 2012 diff hist +872 N PosTradeExitName Created page with "Returns exit order name. Exit Name is indicated on the chart and in Order and Position Tracker Window. ==== Usage ==== <syntaxhighlight>PosTradeExitName(PosAgo,TradeNumber)..."
- 12:36, 25 January 2012 diff hist +677 N PosTradeExitDateTime Created page with "Returns double-precision decimal DateTime for exit order. As an example see ComputerDateTime ==== Usage ==== <syntaxhighlight>PosTradeExitDateTime(PosAgo,TradeNumber)</..."
- 12:34, 25 January 2012 diff hist +1,221 N PosTradeExitCategory Created page with "Returns an absolute numerical value, indicating trade exit order category. The following types are possible: 1 = Stop order (buy next bar at close - 1 point stop) 2 =..."
- 12:30, 25 January 2012 diff hist +825 N PosTradeExitBar Created page with "Returns an absolute numerical value, indicating bar number of the trade exit order. ==== Usage ==== <syntaxhighlight>PosTradeExitBar(PosAgo,TradeNumber)</syntaxhighlight> ..."
- 12:27, 25 January 2012 diff hist +856 N PosTradeEntryPrice Created page with "Returns an absolute numerical value, indicating the execution price of trade entry order. ==== Usage ==== <syntaxhighlight>PosTradeEntryPrice(PosAgo,TradeNumber)</syntaxhig..."
- 12:24, 25 January 2012 diff hist +875 N PosTradeEntryName Created page with "Returns entry order name. Entry Name is indicated on the chart and in Order and Position Tracker Window. ==== Usage ==== <syntaxhighlight>PosTradeEntryName(PosAgo,TradeNumb..."
- 12:22, 25 January 2012 diff hist +677 N PosTradeEntryDateTime Created page with "Returns double-precision decimal DateTime for entry order. As an example see ComputerDateTime ==== Usage ==== <syntaxhighlight>PosTradeEntryDateTime(PosAgo,TradeNumber)..."
- 12:20, 25 January 2012 diff hist +1,215 N PosTradeEntryCategory Created page with "Returns an absolute numerical value, indicating trade entry order category. The following types are possible: 1 = Stop order (buy next bar at close - 1 point stop) 2 ..."
- 12:17, 25 January 2012 diff hist +826 N PosTradeEntryBar Created page with "Returns an absolute numerical value, indicating bar number of the trade entry order. ==== Usage ==== <syntaxhighlight>PosTradeEntryBar(PosAgo,TradeNumber)</syntaxhighlight>..."
- 12:13, 25 January 2012 diff hist +636 N PosTradeCount Created page with "Returns a numerical value, indicating the total number of entries for the specified position. ==== Usage ==== <syntaxhighlight>PosTradeCount(PosBack)</syntaxhighlight> Wh..."
- 12:10, 25 January 2012 diff hist +855 N PosTradeCommission Created page with "Returns an absolute numerical value, indicating the commission amount spent for the specified trade. ==== Usage ==== <syntaxhighlight>PosTradeCommission(PosAgo,TradeNumber)..."
- 12:07, 25 January 2012 diff hist +575 N OpenEntryTime Created page with "Returns a numerical value, indicating the time of specified entry into the open position. The time is indicated in the HHmm format, where HH is the hour in 24 hours format a..."
- 12:05, 25 January 2012 diff hist +506 N OpenEntryProfitPerContract Created page with "Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars. ==== Usage ==== <syntaxhighlight>OpenEntryProfitPerContract(..."
- 12:04, 25 January 2012 diff hist +505 N OpenEntryProfit Created page with "Returns a numerical value, indicating the profit (loss if negative) of specified entry into the open position in dollars. ==== Usage ==== <syntaxhighlight>OpenEntryProfit(E..."
- 12:02, 25 January 2012 diff hist +472 N OpenEntryPrice Created page with "Returns a numerical value, indicating the price of specified entry into the open position. ==== Usage ==== <syntaxhighlight>OpenEntryPrice(EntryIndex)</syntaxhighlight> Wh..."
- 12:01, 25 January 2012 diff hist +522 N OpenEntryMinProfitPerContract Created page with "Returns a numerical value, indicating minimal value of OpenEntryProfitPerContract for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMinP..."
- 11:59, 25 January 2012 diff hist +502 N OpenEntryMinProfit Created page with "Returns a numerical value, indicating minimal value of OpenEntryProfit for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMinProfit(Entr..."
- 11:57, 25 January 2012 diff hist +523 N OpenEntryMaxProfitPerContract Created page with "Returns a numerical value, indicating maximal value of OpenEntryProfitPerContract for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMax..."
- 11:55, 25 January 2012 diff hist +502 N OpenEntryMaxProfit Created page with "Returns a numerical value, indicating maximal value of OpenEntryProfit for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMaxProfit(Entr..."
- 11:53, 25 January 2012 diff hist +40 OpenEntryContracts
- 11:52, 25 January 2012 diff hist +762 N OpenEntryDate Created page with "Returns a numerical value, indicating the date of specified entry into the open position. The date is indicated in the YYYMMdd format, where YYY is the number of years since..."
- 11:51, 25 January 2012 diff hist +457 N OpenEntryContracts Created page with "Returns a numerical value, indicating the quantity of contracts of specified entry order into the open position. ==== Usage ==== <syntaxhighlight>OpenEntryContracts(EntryIn..."
- 11:49, 25 January 2012 diff hist +508 N OpenEntryComission Created page with "Returns a numerical value, indicating the amount of cash assets in US dollars spent on the commission for specified trade. ==== Usage ==== <syntaxhighlight>OpenEntryComissi..."
- 11:48, 25 January 2012 diff hist +67 N OpenEntriesCount Created page with "Same as CurrentEntries. Category:Strategy Position Trades"
- 11:47, 25 January 2012 diff hist +354 N ExitName Created page with "Returns the name of the order which closed the position. ==== Usage ==== <syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical exp..."
- 11:45, 25 January 2012 diff hist +357 N EntryName Created page with "Returns the name of the order which opened the position. ==== Usage ==== <syntaxhighlight>EntryName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical ex..."
- 11:43, 25 January 2012 diff hist +34 N Category:Strategy Position Trades Created page with "Category:PowerLanguageKeywords"
- 11:41, 25 January 2012 diff hist +2 ChangeMarketPosition →Example
- 11:40, 25 January 2012 diff hist +777 N PlaceMarketOrder Created page with "Places market order at the broker without position changing on the chart. ==== Usage ==== <syntaxhighlight>PlaceMarketOrder(IsBuy, IsEntry, Contracts)</syntaxhighlight> W..."
- 11:37, 25 January 2012 diff hist +996 N ChangeMarketPosition Created page with "Places the order with set name and price on the chart. Though when auto trading is off the order will not be sent to a broker. ==== Usage ==== <syntaxhighlight>ChangeMarket..."
- 11:33, 25 January 2012 diff hist +34 N Category:Strategy Position Synchronization Created page with "Category:PowerLanguageKeywords" current
- 11:30, 25 January 2012 diff hist +486 N TotalTrades Created page with "Returns a numerical value, indicating the total number of all completed trades. ==== Usage ==== <syntaxhighlight>TotalTrades</syntaxhighlight> ==== Notes ==== This func..."
- 11:27, 25 January 2012 diff hist +572 N TotalBarsWinTrades Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed winning trades. ==== Usage ==== <syntaxhighlight>TotalBarsWinTrades<..."
- 11:25, 25 January 2012 diff hist +569 N TotalBarsLosTrades Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed losing trades. ==== Usage ==== <syntaxhighlight>TotalBarsLosTrades</..."
- 11:23, 25 January 2012 diff hist +565 N TotalBarsEvenTrades Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed even trades. ==== Usage ==== <syntaxhighlight>TotalBarsEvenTrades</s..."
- 11:21, 25 January 2012 diff hist +429 N PercentProfit Created page with "Returns a numerical value, indicating the percentage of winning trades in all trades completed. ==== Usage ==== <syntaxhighlight>PercentProfit</syntaxhighlight> ==== Not..."
- 11:19, 25 January 2012 diff hist +506 N NumWinTrades Created page with "Returns a numerical value, indicating the number of all completed winning trades. ==== Usage ==== <syntaxhighlight>NumWinTrades</syntaxhighlight> ==== Notes ==== This f..."
- 11:17, 25 January 2012 diff hist +503 N NumLosTrades Created page with "Returns a numerical value, indicating the number of all completed losing trades. ==== Usage ==== <syntaxhighlight>NumLosTrades</syntaxhighlight> ==== Notes ==== This fu..."
- 11:15, 25 January 2012 diff hist +495 N NumEvenTrades Created page with "Returns a numerical value, indicating the total number of all completed even trades. ==== Usage ==== <syntaxhighlight>NumEvenTrades</syntaxhighlight> ==== Notes ==== Th..."
- 11:13, 25 January 2012 diff hist +624 N NetProfit Created page with "Returns a numerical value, indicating the total currency value of all completed trades. ==== Usage ==== <syntaxhighlight>NetProfit</syntaxhighlight> ==== Notes ==== Thi..."
- 11:11, 25 January 2012 diff hist +63 N MaxSharesHeld Created page with "Same as MaxContractsHeld Category:Strategy Performance"
- 11:10, 25 January 2012 diff hist +452 N MaxIDDrawDown Created page with "Returns a negative numerical value, indicating the largest decline in equity during the entire trading period. ==== Usage ==== <syntaxhighlight>MaxIDDrawDown</syntaxhighlig..."
- 11:08, 25 January 2012 diff hist +427 N MaxContractsHeld Created page with "Returns a numerical value, indicating the maximum number of contracts or shares held at any one time. ==== Usage ==== <syntaxhighlight>MaxContractsHeld</syntaxhighlight> ..."
- 11:06, 25 January 2012 diff hist +562 N MaxConsecWinners Created page with "Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed winning trades. ==== Usage ==== <syntaxhighlight>MaxConsecWinner..."
- 11:04, 25 January 2012 diff hist +558 N MaxConsecLosers Created page with "Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed losing trades. ==== Usage ==== <syntaxhighlight>MaxConsecLosers<..."