Questions from Beginners MQL5 MT5 MetaTrader 5 - page 932
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
I am writing an EA. I am not testing it in a tester, but in real trading.
Is it possible to clear the log file (tab "Experts") when starting an Expert Advisor?
At the moment, the only way to remove this file is to close the terminal. The way of deleting the file with the terminal open would be fine.
Is it possible to clear the log file (tab "Experts") when an Expert starts?
It is possible to do it manually: on the tab, (right mouse button) -> "Clear"
You can do this manually: on the tab, (right-click) -> "Clear".
Only the text on the Expert tab will disappear. The file will remain in place. I need to delete or clear the file.
I want to teach the machine to find an exact flat. Its conditions are as follows: so there is a bar on the chart
Inorder to form a flat, which I want to find it needs to form 3 barsopposite the 1st bar between its height HL (ie only 4 bars that are located in one range) to compare the bars and find levels wrote this condition
As I understand it, the comparison is going on, but I have a problem with drawing of levels
I want to build a level that passes through the close price of the 2nd bar.
I have a question how to return the lowest price from the condition or how to find it may be my condition does not return the price but only compares the tops of the candles that passes through the OP and CL? I used the following notation
The functioniLowest determines the lowest top relative to the 0th bar, but in my case it does not find the lowest price. How can I return the lowest price from the condition to build a level as in the case ofdouble Price_Ur = Bar_Cl[qt+2];?
GV variables are very inconvenient for this.
Can you tell me if there is a way to transfer an array from one EA to another?
GV variables are very inconvenient for this.
Maybe this will help https://www.mql5.com/ru/code/818. I've never used it myself.
Can you tell me if there is a way to transfer an array from one EA to another?
GV variables are very inconvenient for this.
Forum on trading, automated trading systems and testing trading strategies
Libraries: TradeTransactions
fxsaber, 2018.09.20 16:23
I don't understand how in this advisor
https://www.mql5.com/ru/code/20254
I can't figure out how to prevent the current (not yet formed) bar from being drawn. Can anyone give me a hint?
I don't understand how in this advisor
https://www.mql5.com/ru/code/20254
To prevent drawing of the current (not yet formed) bar. Can someone give me a hint?
You should ask in the Expert Advisor discussion thread(#4).