Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1009
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
It probably depends on the tick modelling method...
Possibly. But this broker has 100% quote quality on all pairs, exceptEUR/USD(the most popular pair). If you optimize your EA on such a quality, you are guaranteed to fail).
Maybe. But this broker has 100% quote quality on all pairs, exceptEUR/USD(the most popular pair). If you optimize your Expert Advisor using such a quality, it is guaranteed to fail).
You can adjust it to any conditions, the main thing is to use more variables/indicators. No one guarantees a repetition of the sequence of the same prices as on the history - it's just the probability on which the Expert Advisor has to survive.
One trade per bar ***
In OnTradeTransaction we catch the transaction TRADE_TRANSACTION_DEAL_ADD and determine the type of transaction. If the deal is DEAL_TYPE_BUY or DEAL_TYPE_SELL, we memorize the current bar open time. In the signal generation block, we compare this time with the current bar opening time.
In OnTradeTransaction we catch the transaction TRADE_TRANSACTION_DEAL_ADD and determine the type of transaction. If the deal is DEAL_TYPE_BUY or DEAL_TYPE_SELL, we memorize the current bar open time. In the signal generation block, we compare this time with the opening time of the current bar.
"TimeDay" - there is no such function.
"TimeDay" - there is no such function.
Vladimir Baskakov:
Пардон ошибся, а так?
This will work as "one deal a day".
This will work as a "one deal a day".
Oh, that's it!