Order Management

 
I am learner, Iwant to know that how to solve the repeating order. Pic attached.Please give me a code
Files:
fourum.PNG  15 kb
 
This code for Mql4
 
Raj Tandon:
I am learner, Iwant to know that how to solve the repeating order. Pic attached.Please give me a code

Traders and coders are working for free:

  • if it is interesting for them personally, or
  • if it is interesting for many members on this forum.

Freelance section of the forum should be used in most of the cases.

Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • 2025.01.14
  • www.mql5.com
The largest freelance service with MQL5 application developers
 
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Raj Tandon:
I am learner, Iwant to know that how to solve the repeating order. Pic attached.Please give me a code

If you want to limit trading to one trade at all times:

Just one trade at time - Trading Positions - Expert Advisors and Automated Trading - MQL5 programming forum

The "New Bar" Event Handler
The "New Bar" Event Handler
  • www.mql5.com
MQL5 programming language is capable of solving problems on a brand new level. Even those tasks, that already have such solutions, thanks to object oriented programming can rise to a higher level. In this article we take a specially simple example of checking new bar on a chart, that was transformed into rather powerful and versatile tool. What tool? Find out in this article.