Hello, I am preparing a product for the Market and would like to confirm a rules question before I start the adaptation work. The Service Desk directed me to the forum. The product is an MT4 utility for discretionary traders. It does not generate signals and never opens positions by itself. The user sets limits in advance (daily loss, number of trades, consecutive losses). When a limit is reached, the product closes open positions, deletes pending orders, and then calls TerminalClose(). Trading cannot resume until 5:00 the next morning. It also detects attempts to work around this, such as removing the product from the chart or restarting the terminal. It uses no DLL and contains no #import. My questions: 1. Is calling TerminalClose() acceptable for a Market product? I could not find an existing Market product with this behaviour. 2. The product cannot produce a profit/loss backtest curve, because it never opens positions. Is that a problem for validation? 3. Would this belong in Experts or Utilities? Thank you.
- Request Execution - Opening and Closing Positions - Trade - MetaTrader 5 for Android
- Programmatically closing the terminal and setting a return code
- Scripts and services
Try to validate it and you will see. In my opinion, it's all fine to use the MQL5 API.
sbj667667:
Hello, I am preparing a product for the Market and would like to confirm a rules question before I start the adaptation work. The Service Desk directed me to the forum. The product is an MT4 utility for discretionary traders. It does not generate signals and never opens positions by itself. The user sets limits in advance (daily loss, number of trades, consecutive losses). When a limit is reached, the product closes open positions, deletes pending orders, and then calls TerminalClose(). Trading cannot resume until 5:00 the next morning. It also detects attempts to work around this, such as removing the product from the chart or restarting the terminal. It uses no DLL and contains no #import. My questions: 1. Is calling TerminalClose() acceptable for a Market product? I could not find an existing Market product with this behaviour. 2. The product cannot produce a profit/loss backtest curve, because it never opens positions. Is that a problem for validation? 3. Would this belong in Experts or Utilities? Thank you.
Hello, I am preparing a product for the Market and would like to confirm a rules question before I start the adaptation work. The Service Desk directed me to the forum. The product is an MT4 utility for discretionary traders. It does not generate signals and never opens positions by itself. The user sets limits in advance (daily loss, number of trades, consecutive losses). When a limit is reached, the product closes open positions, deletes pending orders, and then calls TerminalClose(). Trading cannot resume until 5:00 the next morning. It also detects attempts to work around this, such as removing the product from the chart or restarting the terminal. It uses no DLL and contains no #import. My questions: 1. Is calling TerminalClose() acceptable for a Market product? I could not find an existing Market product with this behaviour. 2. The product cannot produce a profit/loss backtest curve, because it never opens positions. Is that a problem for validation? 3. Would this belong in Experts or Utilities? Thank you.
Definitely sounds like a utility to me.
Upload it and see what happens. If TerminalClose() won't go through, then it's prohibited. Otherwise, you're good to go.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register