Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 1172
In Process
elanser
elanser

elanser

  • 1 Question
  • 1 Answer
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
elanser
Asked: December 18, 20202020-12-18T10:12:01+00:00 2020-12-18T10:12:01+00:00

Need help with the position set

  • 0

good day!

Dear gurus, I am writing an expert Advisor on MQL5, which should type orders on the market in one direction without averaging. The global account with a broker just to trade.

the situation is as follows: the adviser opens the first order in long, for example, at a price of 10 rubles. Then a signal appears and it opens a new long order at the
price of 20 rubles. The problem is that it leaves one position at the price of 15 rubles… How to make it so that there are two positions left at the price of 10 rubles and at the
price of 20 rubles without averaging.

there can be many positions. Martingale is not used, as is locking.

  • 2 2 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. elanser

      elanser

      • 1 Question
      • 1 Answer
      • 0 Best Answers
      • 20 Points
      View Profile
      elanser
      2020-12-18T10:12:11+00:00Added an answer on December 18, 2020 at 10:12 am

      Clear. Thanks.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. genino

      genino

      • 1 Question
      • 20 Answers
      • 0 Best Answers
      • 60 Points
      View Profile
      genino
      2020-12-18T10:12:06+00:00Added an answer on December 18, 2020 at 10:12 am

      elanser:

      good day!

      Dear gurus, I am writing an expert Advisor on MQL5, which should type orders on the market in one direction without averaging. Global account with just to broker
      trade.

      the situation is as follows: the adviser opens the first order in long, for example, at a price of 10 rubles. Then a signal appears and it opens a new order in
      long at the price of 20 rubles. The problem is that it leaves one position at the price of 15 rubles… How to make it so that there are two positions left and at the price of 10
      and at the price of 20 rubles without averaging.

      there can be many positions. Martingale is not used, as is locking.

      You need to open a hedging account if it is not an exchange. For the exchange, only netting.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 504
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 681
    • Popular
    • Comments
    • Tags
    • forexcommunity

      Highlighting what’s important about questions & Answers on Discy Community!

      • 0 Comments
    • forexcommunity

      Introducing Keyboard Shortcuts, our first Labs feature

      • 0 Comments
    • forexcommunity

      Defining quality on Discy Engine — what a helpful answer ...

      • 0 Comments
    • forexcommunity

      Organizational and company accounts on Discy Engine the next step

      • 0 Comments
    • forexcommunity

      Hello world!

      • 0 Comments

    Users

    Leonardcig

    Leonardcig

    • 0 Questions
    • 0 Answers
    DennisByday

    DennisByday

    • 0 Questions
    • 0 Answers
    Haroldmeary

    Haroldmeary

    • 0 Questions
    • 0 Answers

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved