Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AtmStrategyChangeEntryOrder

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

    AtmStrategyChangeEntryOrder

    Have a difficult time getting an Entry Order to change price.

    Using AtmStrategyChangeEntryOrder(GetCurrentBid(), 0, "orderIdValue"); nothing is getting changed.

    From the Help Guide:
    " Method Return Value
    Returns true if the specified order was found; otherwise false."

    So is this Method just a bool or does it actually change the price of the working entry order? Is there some sample code on how to do this?

    Thanks.





    #2
    Hello TAJTrades,

    The method returns true if an atm is found otherwise it returns false. That method is used to change an entry order.

    Definition
    Changes the price of the specified entry order.
    If nothing is changing that likely means your entry order was not found or was already filled. "orderIdValue" needs to be the order id you set when you created the ATM. If you are looking at the SampleATMStrategy logic that would be the orderId variable.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    127 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X