Experts: CoupleHedgeEA - page 3

 
Dear Nikolaos, I have an issue with the EA.

It suddenly shows the message “Market is closed!!!” and stops any activity even if the Market is open and other EAs are working. Please, refer to the attachment.

I tried to change the code by setting the variable “MarketIsOpen = true” (from false to true), and it happens that the EA is removed from the chart!

What is happening?

This is the log:

2020.11.27 19:07:08.941    Expert Market\CoupleHedgeEA Pro EURGBP,M1: loaded successfully
2020.11.27 19:07:13.713    CoupleHedgeEA Pro EURGBP,M1 inputs: OperationStr=; TypeOperation=1; TimerInMillisecond=100; ManagePairsUse=; CurrencyTrade=EUR/GBP/USD; NoOfGroupToSkip=46,47,48,49; SideToOpenOrders=2; ManageOpenOrders=; OpenOrdersInLoss=2; StepOpenNextOrders=50.0; StepOr
2020.11.27 19:07:14.147    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # Check couples No 1...(EURGBP/EURUSD)
2020.11.27 19:07:14.329    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # EURGBP/EURUSD are ok
2020.11.27 19:07:14.329    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # Check couples No 2...(EURGBP/GBPUSD)
2020.11.27 19:07:14.762    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # EURGBP/GBPUSD are ok
2020.11.27 19:07:14.762    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # Check couples No 3...(EURUSD/GBPUSD)
2020.11.27 19:07:14.989    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # EURUSD/GBPUSD are ok
2020.11.27 19:07:14.989    CoupleHedgeEA Pro EURGBP,M1: ### CoupleHedgeEA Pro || Number Of currencies use: 3 || Number of couples trade: 3 ###
2020.11.27 19:07:14.998    CoupleHedgeEA Pro EURGBP,M1: initialized
2020.11.27 19:07:15.594    CoupleHedgeEA Pro EURGBP,M1: Market is closed!!!
2020.11.27 19:07:15.594    CoupleHedgeEA Pro EURGBP,M1: array out of range in 'CoupleHedgeEA_v2.5.mq4' (1077,28)

The same error happens to “RingSystemEA Pro”, even as soon as I add it to the chart, here is the log:

2020.11.27 19:18:09.352    RingSystemEA Pro EURGBP,M1: Market is closed!!!
2020.11.27 19:18:09.352    RingSystemEA Pro EURGBP,M1: array out of range in 'RingSystemEA_v3.6.mq4' (1417,43)

Thank you very much
The checks a trading robot must pass before publication in the Market
The checks a trading robot must pass before publication in the Market
  • www.mql5.com
Before any product is published in the Market, it must undergo compulsory preliminary checks, as a small error in the expert or indicator logic can cause losses on the trading account. That is why we have developed a series of basic checks to ensure the required quality level of the Market products. If any errors are identified by the Market...
Files:
Capture.PNG  127 kb
 
FabulousJ:
Dear Nikolaos, I have an issue with the EA.

It suddenly shows the message “Market is closed!!!” and stops any activity even if the Market is open and other EAs are working. Please, refer to the attachment.

I tried to change the code by setting the variable “MarketIsOpen = true” (from false to true), and it happens that the EA is removed from the chart!

What is happening?

This is the log:

2020.11.27 19:07:08.941    Expert Market\CoupleHedgeEA Pro EURGBP,M1: loaded successfully
2020.11.27 19:07:13.713    CoupleHedgeEA Pro EURGBP,M1 inputs: OperationStr=; TypeOperation=1; TimerInMillisecond=100; ManagePairsUse=; CurrencyTrade=EUR/GBP/USD; NoOfGroupToSkip=46,47,48,49; SideToOpenOrders=2; ManageOpenOrders=; OpenOrdersInLoss=2; StepOpenNextOrders=50.0; StepOr
2020.11.27 19:07:14.147    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # Check couples No 1...(EURGBP/EURUSD)
2020.11.27 19:07:14.329    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # EURGBP/EURUSD are ok
2020.11.27 19:07:14.329    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # Check couples No 2...(EURGBP/GBPUSD)
2020.11.27 19:07:14.762    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # EURGBP/GBPUSD are ok
2020.11.27 19:07:14.762    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # Check couples No 3...(EURUSD/GBPUSD)
2020.11.27 19:07:14.989    CoupleHedgeEA Pro EURGBP,M1:  # CoupleHedgeEA Pro # EURUSD/GBPUSD are ok
2020.11.27 19:07:14.989    CoupleHedgeEA Pro EURGBP,M1: ### CoupleHedgeEA Pro || Number Of currencies use: 3 || Number of couples trade: 3 ###
2020.11.27 19:07:14.998    CoupleHedgeEA Pro EURGBP,M1: initialized
2020.11.27 19:07:15.594    CoupleHedgeEA Pro EURGBP,M1: Market is closed!!!
2020.11.27 19:07:15.594    CoupleHedgeEA Pro EURGBP,M1: array out of range in 'CoupleHedgeEA_v2.5.mq4' (1077,28)

The same error happens to “RingSystemEA Pro”, even as soon as I add it to the chart, here is the log:

2020.11.27 19:18:09.352    RingSystemEA Pro EURGBP,M1: Market is closed!!!
2020.11.27 19:18:09.352    RingSystemEA Pro EURGBP,M1: array out of range in 'RingSystemEA_v3.6.mq4' (1417,43)

Thank you very much

Hello,

try to use the source code.

 
Nikolaos Pantzos:

Hello,

try to use the source code.

I’m not handy with programming codes.
Are you busy with new EAs?
Can you take a look, please?

Many thanks
 
FabulousJ:
I’m not handy with programming codes.
Are you busy with new EAs?
Can you take a look, please?

Many thanks

I mean, download expert from this page, not from product page (Pro version).

I make tests and working well.

 
Nikolaos Pantzos:

I mean, download expert from this page, not from product page (Pro version).

I make tests and working well.

The error seems to be related to the Free Margin, seems not managed by the EA.

When the EA tries to open an order and cannot because of Free Margin not available, then it gets into a mess, numbers don't add up, plus and minus trades don't add up, and it stops with this error message.

When it happened, the EA didn't want to go on, I had to close all the plus and minus trades manually one by one (with losses) and start all over again.

Will you correct the code for this missing point?
Your EA code for MT5 is fresher than the one for MT4. Have you implemented new functions?
 
FabulousJ:
The error seems to be related to the Free Margin, seems not managed by the EA.

When the EA tries to open an order and cannot because of Free Margin not available, then it gets into a mess, numbers don't add up, plus and minus trades don't add up, and it stops with this error message.

When it happened, the EA didn't want to go on, I had to close all the plus and minus trades manually one by one (with losses) and start all over again.

Will you correct the code for this missing point?
Your EA code for MT5 is fresher than the one for MT4. Have you implemented new functions?

I don't imaging the different between two versions (mt4/mt5)

Try to use mt5 version to check it.

I have stoped years ago to use this systems.

 
Nikolaos Pantzos:

I don't imaging the different between two versions (mt4/mt5)

Try to use mt5 version to check it.

I have stoped years ago to use this systems.

Why did you stop using these systems?
Do they have outflows or maybe they are unreliable?
What system do you prefer?
 
FabulousJ:
Why did you stop using these systems?
Do they have outflows or maybe they are unreliable?
What system do you prefer?

I am working to find/made a better system. Low risk and low DD.

 
Hello Nicolas, in which field do I add take profit and stoploss, please, thank you
Reason: