User contributions
25 January 2012
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)<..."
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)..."
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..."
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..."
PosTradeExitPrice
Created page with "Returns an absolute numerical value, indicating the execution price of trade exit order. ==== Usage ==== <syntaxhighlight>PosTradeExitPrice(PosAgo,TradeNumber)</syntaxhighl..."
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)..."
PosTradeExitDateTime
Created page with "Returns double-precision decimal DateTime for exit order. As an example see ComputerDateTime ==== Usage ==== <syntaxhighlight>PosTradeExitDateTime(PosAgo,TradeNumber)</..."
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 =..."
PosTradeExitBar
Created page with "Returns an absolute numerical value, indicating bar number of the trade exit order. ==== Usage ==== <syntaxhighlight>PosTradeExitBar(PosAgo,TradeNumber)</syntaxhighlight> ..."
PosTradeEntryPrice
Created page with "Returns an absolute numerical value, indicating the execution price of trade entry order. ==== Usage ==== <syntaxhighlight>PosTradeEntryPrice(PosAgo,TradeNumber)</syntaxhig..."
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..."
PosTradeEntryDateTime
Created page with "Returns double-precision decimal DateTime for entry order. As an example see ComputerDateTime ==== Usage ==== <syntaxhighlight>PosTradeEntryDateTime(PosAgo,TradeNumber)..."
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 ..."
PosTradeEntryBar
Created page with "Returns an absolute numerical value, indicating bar number of the trade entry order. ==== Usage ==== <syntaxhighlight>PosTradeEntryBar(PosAgo,TradeNumber)</syntaxhighlight>..."
PosTradeCount
Created page with "Returns a numerical value, indicating the total number of entries for the specified position. ==== Usage ==== <syntaxhighlight>PosTradeCount(PosBack)</syntaxhighlight> Wh..."
PosTradeCommission
Created page with "Returns an absolute numerical value, indicating the commission amount spent for the specified trade. ==== Usage ==== <syntaxhighlight>PosTradeCommission(PosAgo,TradeNumber)..."
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..."
OpenEntryProfitPerContract
Created page with "Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars. ==== Usage ==== <syntaxhighlight>OpenEntryProfitPerContract(..."
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..."
OpenEntryPrice
Created page with "Returns a numerical value, indicating the price of specified entry into the open position. ==== Usage ==== <syntaxhighlight>OpenEntryPrice(EntryIndex)</syntaxhighlight> Wh..."
OpenEntryMinProfitPerContract
Created page with "Returns a numerical value, indicating minimal value of OpenEntryProfitPerContract for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMinP..."
OpenEntryMinProfit
Created page with "Returns a numerical value, indicating minimal value of OpenEntryProfit for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMinProfit(Entr..."
OpenEntryMaxProfitPerContract
Created page with "Returns a numerical value, indicating maximal value of OpenEntryProfitPerContract for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMax..."
OpenEntryMaxProfit
Created page with "Returns a numerical value, indicating maximal value of OpenEntryProfit for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMaxProfit(Entr..."
OpenEntryContracts
no edit summary
+40
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..."
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..."
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..."
OpenEntriesCount
Created page with "Same as CurrentEntries. Category:Strategy Position Trades"
ExitName
Created page with "Returns the name of the order which closed the position. ==== Usage ==== <syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical exp..."
EntryName
Created page with "Returns the name of the order which opened the position. ==== Usage ==== <syntaxhighlight>EntryName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical ex..."
Category:Strategy Position Trades
Created page with "Category:PowerLanguageKeywords"
ChangeMarketPosition
Example
+2
PlaceMarketOrder
Created page with "Places market order at the broker without position changing on the chart. ==== Usage ==== <syntaxhighlight>PlaceMarketOrder(IsBuy, IsEntry, Contracts)</syntaxhighlight> W..."
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..."
Category:Strategy Position Synchronization
Created page with "Category:PowerLanguageKeywords"
TotalTrades
Created page with "Returns a numerical value, indicating the total number of all completed trades. ==== Usage ==== <syntaxhighlight>TotalTrades</syntaxhighlight> ==== Notes ==== This func..."
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<..."
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</..."
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..."
PercentProfit
Created page with "Returns a numerical value, indicating the percentage of winning trades in all trades completed. ==== Usage ==== <syntaxhighlight>PercentProfit</syntaxhighlight> ==== Not..."
NumWinTrades
Created page with "Returns a numerical value, indicating the number of all completed winning trades. ==== Usage ==== <syntaxhighlight>NumWinTrades</syntaxhighlight> ==== Notes ==== This f..."
NumLosTrades
Created page with "Returns a numerical value, indicating the number of all completed losing trades. ==== Usage ==== <syntaxhighlight>NumLosTrades</syntaxhighlight> ==== Notes ==== This fu..."
NumEvenTrades
Created page with "Returns a numerical value, indicating the total number of all completed even trades. ==== Usage ==== <syntaxhighlight>NumEvenTrades</syntaxhighlight> ==== Notes ==== Th..."
NetProfit
Created page with "Returns a numerical value, indicating the total currency value of all completed trades. ==== Usage ==== <syntaxhighlight>NetProfit</syntaxhighlight> ==== Notes ==== Thi..."
MaxSharesHeld
Created page with "Same as MaxContractsHeld Category:Strategy Performance"
MaxIDDrawDown
Created page with "Returns a negative numerical value, indicating the largest decline in equity during the entire trading period. ==== Usage ==== <syntaxhighlight>MaxIDDrawDown</syntaxhighlig..."
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> ..."
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..."
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<..."