Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 16:12:41 +0000



Post From: TRADING:LOSING TRADES study

[2017-11-03 22:26:49]
User29926 - Posts: 92
You can determine the information you need by using this function:
Automated Trading From an Advanced Custom Study: sc.GetTradePosition

The returned data structure does indicate the date and time of the last entry and exit orders.

The two lines code example does not provide any details of how to process the data returned.
Example

//Get Position data for the symbol that this trading study is applied to.
s_SCPositionData PositionData;
int Result = sc.GetTradePosition(PositionData);

Without a full code example of how to process the returned data.
The link and example is not helpful to users trying to learn your software.

Screen shot is also attached of the document page as it was when I viewed it.
imagesc.GetTradePosition.PNG / V - Attached On 2017-11-03 22:15:56 UTC - Size: 82.34 KB - 324 views