Please help me find a specific order script
Page 1 of 502 12 LastLast
Results 1 to 10 of 12

Thread: Please help me find a specific order script

  1. #1
    Hello gd afthernoon; THANK for HELP

    I am looking for a script

    its a order script

    it must ship two orders in the exact same time but they need to have another number in mt41/market or limit order ( no stop without any t/p ) 2/stop order on the opposite side of the order 1; the above order at x pips; BUT ITS NOT A STOP LOSS its a separate position ( no stop without any t/p).
    So I commerce if I am wrong I have two position to handle; each one on the other hand



    example

    BUY? /$ in 1.29

    SELL stop at 1.2900 - x pips


    if x is 20 pipsfor example

    I'm long at 1.2900 short at 1.2880 must handle those 2 afther myself.... Keep then, keep you, etc....





  2. #2
    Ok fine, you want to put two orders in the same time?

    I am supposing that you are not wanting to put one trade request and wait for it to do and then put the second trade request? But rather, you want to put BOTH trade requests in precisely the same time?

    Am correct about that?

    If so, then lets proceed...

    A) are you able to open up two separate terminals to your broker? I have never tried this, it might require separate installations of your broker's terminal onto one or two computers... next step will be to push to those two terminals a request for whatever trades you are asking...

    perhaps in the event that you might try installing two different versions of your metatrader onto your pc and then try opening up both of them in precisely the same time and....

    Allow me to know.

  3. #3
    if I had been doing this for myself, and I had time and money to do so, I would probably set up three computers...


    computer A and B would each conduct a trading terminal and computer C would issue trade asks to A and B.

    this would enable computer A and computer B to receive commerce orders and to process them at precisely the same moment.

    I believe...
    .
    .
    .

  4. #4
    Quote Originally Posted by ;
    ok fine, you wish to place 2 orders at the same moment? I am assuming that you are not wanting to place one trade request and then wait for it to do and then place the second trade request? But instead, you would like to place BOTH trade requests at the same moment? Am I correct about that? If so, then lets proceed... A) are you can start two separate terminals for your broker? .
    There is absolutely no need, with the recent version of the MT4 terminal it may have 8 trading threads open at once... all that is required is multiple EAs.

    Terminal: Increased the number of allowed parallel trading operations to get MQL4 progr - up to 8 simultaneous trade requests are allowed now. This ensures uninterrupted simultaneous trading of several scripts or Expert Advisors - it means that it is practically impossible to get Trade context is busy error code in normal states.

  5. #5
    Quote Originally Posted by ;
    ok fine, you wish to put two orders at the exact same moment? I'm assuming that you are not wanting to put one trade request and wait for it to execute then put the second trade petition? But rather, you would like to put BOTH trade requests at the exact same moment? Am I right about that? In that case, then lets proceed... A) are you able to open up two separate terminals to your broker? I have never tried this, it might require separate setups of your broker's terminal on one or perhaps two computers... next step is going to be to push to...
    thanks to kind answer

    its somewhat complex for me this

    my idea would be to

    place an order market or restrict

    put opposite side order with - x pips

    so I am always on both sides if market move against me

    the script to the halt order could maybe take only the last price not the traded one then its easyer to code??

    Its not so important if its exact at the pip close

    possibly better if place stop order before the market or limitation?

    Only problem is the ref number of thsoe deals....

    thanks


  6. #6
    Quote Originally Posted by ;
    quote There is no need, with the latest variant of the MT4 terminal it may have 8 trading threads available at once... all that is required is multiple EAs. Terminal: Increased the number of allowed parallel trading operations to get MQL4 progr - up to 8 simultaneous commerce requests are permitted now. This ensures uninterrupted simultaneous trading of several broadcasts or Expert Advisors - it usually means that it is almost impossible to receive Trade context is busy error code in ordinary conditions.
    Thanks raptor

    do you think there's a more simple way to get those 2 oders??? Witha simple script even if reference price for stop order is not exactly the traded price - or x pips?

    Would like to have your opinion

    regards

  7. #7
    Simple script to send the two orders.
    Establish mBS to 1 for a buy and two for a market.

    Will only function for market orders.... Limit orders will need more programming within an EA.

    M.
    https://forexintuitive.com/attachmen...3772312948.mq4

  8. #8
    Quote Originally Posted by ;
    quote thanks raptor do you think there's a simpler way to get those two oders??? Witha simple script even if reference price for stop order is not exactly the traded price - or x pips? Would love to have your view regards picture
    If one of the orders is a pending order then there is no need to ship them at precisely the same time and a very simple script will work.

  9. #9
    Quote Originally Posted by ;
    Simple script to ship the two orders. Set mBS to 1 for a buy and two for a market. Will only work for market orders .... Limit orders will need more coding in an EA. M. file
    THANKS very kind of un

    think it will help me ; when I am mistaken. . To many occasions
    I will attempt manage the rankings...

    ITS A NEW LIFE THAT Start for me....


  10. #10
    Quote Originally Posted by ;
    quote If one of those orders is a pending order then there's absolutely not any need to send them at exactly the same time and a very simple script will get the job done.
    Thanks raptor understood

    CHEERS


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information