Experts: OpenTime - page 3

 
sethummm :
Is it possible to include the option to choose buy or sell entries according to the market's bullish or bearish behaviour?
Example: If the market is trading in the positive, buy or the other way round.

Use the'Use Sell' and'Use Buy' options.

 
I say automate so that the expert identifies whether the market is rising or falling and executes the buy or sell order at the appointed time according to the situation.

 
This EA, the current test of the demo account, to the time to close the position, flat is the current trading standard, change a standard, you can change the time to close the position, the test was successful.
 
Standing on the reals, it does not open at the specified time.
 
Zapad:
Standing on the real terminal, it does not open at the specified time.

First of all, look in the Journal of the terminal. If there are no errors there, it means that you have set incorrect parameters (position volume, position type, closing time, closing time ...).

In general, you must provide EA settings, symbol name and log file.

 
Hi  Vladimir Karputov

When the EA open and close in the same minute, EA  will open position again. Would you help me to make the EA only open once in the same minute?

Thank you.

Vladimir Karputov
Vladimir Karputov
  • 2021.10.01
  • www.mql5.com
Trader's profile
 
Holie # :
Hi  Vladimir Karputov

When the EA open and close in the same minute, EA  will open position again. Would you help me to make the EA only open once in the same minute?

Thank you.

You need to enter a variable of the 'datetime' type and remember the bar opening time.

 
I trade scalping with a target of 6 pips, after the target is reached it is still in the same candle (1M- big candle), the EA is open again. I want the EA to open only once in one candle.
 
Holie #:

Forum on trading, automated trading systems and testing trading strategies

Experts: OpenTime

Vladimir Karputov, 2021.10.03 14:34

You need to enter a variable of the 'datetime' type and remember the bar opening time.


 

With other EA's, the phantom number should be the same, if you open a position manually, the phantom number will be changed to 0. Thanks to the author, you are great!


thangks your help ,it is great