[CMD] Get Order Direction

1 307 Views No Comments 1 year ago
  • Gets the order direction as a signal enum – signallong, siignalshort, signalexitlong, signalexitshort, signalbuy, signalsell

    Usage –

    local orderdir = CC_GetOrderDirection(orderId)
    or
    local orderdir = CC_GetOrderDirection(orderId, PositionId, PriceMarket())

    • This topic was modified 1 year, 5 months ago by Strooth. Reason: remove return so out always has a value
    HaasScript Code
    Sign in or Register to download for free
  • Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023 Exclusive
    Trading volume competition, win up to $10,000 USDT and bounties.
  • Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 2023
    15 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free