Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"MarketPosition(Pair, Account)"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "MarketPosition(Pair, Account)"

    Hi Ray,

    I was happy to see that "MarketPosition(Pair, Account)" was going to keep working with GAIN even after restarting Ninja 6.5 (it did not in version 6). But it is not. The following works fine (returns real position from Gain) until I restart 6.5. After the restart, it sometimes returns the correct position and sometimes just returns "0" even when we are in a trade.

    This is very important to us. Any suggestions?

    Thanks, Bill



    DefineDLLFunc: "NtDirect.dll", int, "MarketPosition", lpstr, lpstr;
    inputs: Pair("$EURUSD"), Account("10011234");

    if lastbaronchart and NTConnected(1) then begin
    value1=MarketPosition(Pair, Account);
    end;

    plot1(value1);

    #2
    Bill,

    Dierk has responded to your email inquiry.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rocketman7, Today, 02:12 AM
    5 responses
    22 views
    0 likes
    Last Post rocketman7  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    7 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by samish18, 04-17-2024, 08:57 AM
    17 responses
    66 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by briansaul, Today, 05:31 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PaulMohn, Today, 03:49 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X