- Search Forex Factory
- 67 Results (1 Thread, 66 Replies)
- emmzett replied Aug 16, 2020
Go to "Main menu" -> "File" -> "Open Data Folder". Navigate to "templates". Open the template you just saved with a regular text editor, modify it and save your changes. The "window" tags to remove are at the bottom of the file, almost at the end. ...
2nd Axis or overlay in Chart Area
- emmzett replied Aug 5, 2020
MQL4.0 will always be supported in all MT4 versions, so yes - it works in the latest build. [2] is a system error and means "Cannot load file/file not found" Most probably you experience a data folder issue. At startup the terminal logs the ...
How best to combine leading/lagging indicators in my EA?
- emmzett replied Jun 30, 2020
Aren't you doing it more complicated than it is? It seems to me you want to visualize a specific time during the day in hourly intervals. So look for a session indicator and a hourly timeframe indicator. M5 example:
How to write code to create indicator for counting bar number?
- emmzett replied Jun 15, 2020
Indeed it looks you misunderstood it. It's fully automated except start and stop. Following the inputs for a gridsize of 15 pip on GBPUSD. The "999" (default: 2) is the profit target. It will automatically stop after the specified gridlevel is ...
Scaling up in both sides Grid EA?
- emmzett replied Jun 6, 2020
Attached the current C# documentation of the available MT4 server API. And an example of pulling and displaying current prices and sending a market order to buy 0.1 lot EURUSD in PHP:
Metatrader 4 API in C++
- emmzett replied Jun 6, 2020
Better spend some more time learning how to code. Your "build artefact" does not yet deserve the name software.
Create your own EA/indicator
- emmzett replied Jun 4, 2020
Yes. You can only launch programs located in the MQL4 folder of the currently running terminal, so it makes no sense to point somewhere with an absolute path. As explained above you pass the path "relative to the containing program type folder". For ...
calling scripts from indicator
- emmzett replied May 31, 2020
It should find the roaming data folder correctly. Once I experienced a related issue, will recheck. A question that puzzles me: So the Expander fails to find the data folder when launching this specific script. But it successfully finds the data ...
calling scripts from indicator
- emmzett replied May 28, 2020
Any config mechanism able to express data structures will do. You use JSON and need a JSON parser. Fine. I use plain .ini files and need an .ini parser. I wrote my own. Such is developer life. :-)
Which one do you prefer: Metatrader (MQL) or cTrader (cAlgo)?
- emmzett replied May 27, 2020
Why are you reinventing the wheel? What you try to calculate in a very lengthy way is built-in in the platform and available with two clicks. It's called "Stochastic Oscillator". :-) Good luck
Writing a custom indicator in mql4 to normalise market prices
- emmzett replied May 20, 2020
I reported you to the Forexfactory admins and asked to flag you as a commercial member. You should not be allowed to post in this part of the forum. To all readers: On his website he tries to sell Broketrader's system for $500, and other free ...
1H Swing Trading on EURUSD
- emmzett replied May 12, 2020
Checked Mladen's version. The issue is not fixed. It paints the reversals wrong as in the original code. The green-blue line is Mladen's version, the dots are my fixed version. The effect of the issue is that traders have the impression of a signal ...
Pip Infinite Trend
- emmzett replied May 12, 2020
1. Does it repaint? No 2. What are the differences between yours and Mladen's well-known and widely used: half-trend nrp? I don't know his code and whether he fixed the issue described in post #7. Otherwise my changes are only visual (added channel, ...
Pip Infinite Trend
- emmzett replied May 12, 2020
Lol. Good luck :-) The indicator is free and open-source here: HalfTrend (thank you @amando77). I fixed a few minor issues in the original reversal logic but that only affects 1 of 10 reversals. There is also an option to show the channel for the ...
Pip Infinite Trend
- emmzett replied May 10, 2020
These are 4 MT4 instances on a VPS. Two run 1-2 indicators for account monitoring and signaling. Two run each 2 EAs calling custom indicators via iCustom(), each terminal on a different account. So 4 running EA instances all together. The EAs are ...
MT4-Best CPU performance with Multiple indicators and EAs
- emmzett replied May 10, 2020
MathTrader7 is right but there is no reason to suggest changes in the language. Functions allow you to encapsulate functionality and you can return as many iCustom() values as you wish from a single function call. Side effect: If you use iCustom() ...
way to get multiple buffer values with single iCustom call?
- emmzett replied May 9, 2020
Unfortunately your EMA_Crossover_Signal indicator repaints. It looks into the future and redraws the past. That's why the indicator signals look better. There's no way to create an EA capable of looking into the future in live trading.
Replace Moving Average Calc in EA with Calc of MA Indie
- emmzett replied May 8, 2020
If you apply the same formula as for the other currencies to the JPY the actual value would be in the range of 0.01 to 0.03. Such a chart would look very weird. Similar to regular JPY crosses (which are in the range of 80-150, e.g.g USDJPY = 1USD to ...
Liteforex INDEX charts formula
- emmzett replied Apr 23, 2020
For using templates you don't need to buy a license. The feature is available in all editions (also in the free one). Copy the templates from Github (see the updated link below) and place them into the application folder. There are already a few ...
Trying to import rates data into MT4