BUY FXO Forum Shares
1316
Shares in the BANK:
We BuyWe Sell
$1.8122$1.8682
Results 1 to 3 of 3

Thread: "buy limit order" and "sell limit order" code

  1. #1
    In Profit
    Join Date
    Jun 2007
    Posts
    114
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default "buy limit order" and "sell limit order" code

    Can someone post code for "buy limit order" and "sell limit order" that can be used in an EA.

  2. #2
    In Profit
    Join Date
    Jun 2007
    Posts
    106
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I will try to get it

    as soon as I can

  3. #3
    In Profit
    Join Date
    Jul 2007
    Posts
    205
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by muhammad View Post
    Can someone post code for "buy limit order" and "sell limit order" that can be used in an EA.
    Code:
    OrderSend( Symbol(), OP_BUYLIMIT, 1.0, Ask-20*Point, 3, Bid-100*Point, Bid+100*Point );
    You can replace OP_BUYLIMIT with other types of order, just make sure that the price you send correspond to the order type. eg. here the buy price (Ask-20*Point) is below the current Ask-ing price AND it should be lower/farther than STOPLEVEL value.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Disclaimer
2005-2016 © FXOpen All rights reserved. Various trademarks held by their respective owners.

Risk Warning:: Trading on the Forex market involves substantial risks, including complete possible loss of funds and other losses and is not suitable for all members. Clients should make an independent judgment as to whether trading is appropriate for them in the light of their financial condition, investment experience, risk tolerance and other factors.

FXOpen Markets Limited, a company duly registered in Nevis under the company No. C 42235. FXOpen is a member of The Financial Commission.

FXOpen AU Pty Ltd., a company authorised and regulated by the Australian Securities & Investments Commission (ASIC). AFSL 412871ABN 61 143 678 719.

FXOpen Ltd. a company registered in England and Wales under company number 07273392 and is authorised and regulated by the Financial Conduct Authority (previously, the Financial Services Authority) under FCA firm reference number 579202.

FXOpen does not provide services for United States residents.

Join us