- Search Energy EXCH
-
CodeMeister replied Sep 24, 2010Can't Be Done — What you are asking for can't be done in MQL4. MQL5 has this feature.
Looking for MT4 Moving Average
-
CodeMeister replied Sep 22, 2010Explanation — It is keeping track of the lowest and highest values from the calculation Volume[n] / ((High[n]-Low[n])).
Help with explaining code
-
CodeMeister replied Sep 21, 2010Try This — You need to understand about the functionality of IndicatorCounted(). Essentially it tells you how many bars need to be recalculated when the indicator's start() function is called from MT4. So when the indicator is first loaded, it ...
Problems with indicator printing on chart - Why?
-
CodeMeister replied Sep 19, 2010Depends — First of all does your broker have MT5? Most don't as yet. Assuming that your broker has MT5 offered then you have to decide whether you want the latest, greatest technology or something that is less advanced but stable and reliable. ...
Best Meta Trader Version?
-
CodeMeister replied Sep 18, 2010Can't Be Done — MT4 will not allow you to do this for security reasons.
Change Date format on MT4 .csv files?
-
CodeMeister replied Sep 17, 2010Wait Til MT5 — Time handling events are not possible in MT4. All actions are driven by ticks and it is impossible to do any accurate time measurements in a predictable manner. I'm not sure that MT5 will do what you want, but it does have time ...
pip difference of the last 5 seconds
-
CodeMeister replied Sep 13, 2010Here It Is — As requested, here is my MQL5 code. I had to give it an extension of MQ4 because FF doesn't allow MQ5 as an extension. It should work if you rename it with an extension of MQ5.
MT4/MT5 not display indicator values
-
CodeMeister replied Sep 13, 2010Try This — I have noticed the same thing and Dort's advice usually works. I have also noticed that the different browsers have different behaviour. Internet Explorer will allow both opening and saving whereas Firefox sometimes doesn't work if ...
HELP! Downloading ea's and indicators on MT4
-
CodeMeister replied Sep 12, 2010Try This — I am lazier than you, I just commented out the 3 lines of code and it worked for me. One thing I noticed though - compiling the changed code isn't enough. You actually have to delete and add the indicator to the chart unlike in MT4.
MT4/MT5 not display indicator values
-
CodeMeister replied Sep 12, 2010Need More Info — Not sure what you tried to do and what you error you ran into so I can't help until that is known.
MT4/MT5 not display indicator values
-
CodeMeister replied Sep 11, 2010Try This — Sounds to me like you trying to make a channel and there is code to use as a start point to accomplish this. I like Bollinger Bands myself because I understand the concept and the code (Bands.mql). Another one is Donchian channels, ...
Help! adding levels to MA's in a custom indicator
-
CodeMeister replied Sep 11, 2010Try This — Here is the logic you want to modify taken from the delivered Stoichastics.mql code. Take out as much or as little code as necessary. short_name="Sto("+KPeriod+","+DPeriod+","+Slowing+")"; IndicatorShortName(short_name); ...
MT4/MT5 not display indicator values
-
CodeMeister replied Sep 11, 2010Try This — You have to make a programming change - you didn't indicate whether you have the source code and a basic level of programming skills. I need to know this before answering. Don't attach code - its a simple change.
MT4/MT5 not display indicator values
-
CodeMeister replied Sep 11, 2010Try This — Assuming you have the object on the chart with the value you want and it is named TestObject. string test1 = ObjectDescription("TestObject"); // make this call from anywhere in the program. Once you get that working, you can put ...
Reading from comments with EA
-
CodeMeister replied Sep 10, 2010I was under the impression that it happened to several EAs, but one at a time as per the attached log file.
MT4 Problem - Opening a Deal, then Closing it again straight away
-
CodeMeister replied Sep 10, 2010Looks OK to Me — I think you need to learn the functionality of IndicatorCounted(). Once this is done, you will realize that the indicator only processes the minimum number of bars necessary. It will indeed process every bar when necessary - ...
Indicator start point
-
CodeMeister replied Sep 10, 2010My Theory — I have my doubts about the problem lying with Build 226 because more people would have noticed this and I think the problem would have appeared more regularly (no several month gap). In an earlier post you suggested it could be ...
MT4 Problem - Opening a Deal, then Closing it again straight away
-
CodeMeister replied Sep 10, 2010Answer — Abinadi - you were right; it is very popular. 72 downloads in less than a day. V3 only has 90 in almost a year. As far as providing the source code - I think not. As can be seen above with PipsMark, I lost control of the mods. Now its ...
Alert to sound X pips AWAY from an MA
-
CodeMeister replied Sep 10, 2010Don't Know — It is very hard to read your attachment - most of the resolution has been lost. But it doesn't appear that the SL is being hit. Did you check the Experts tab and Journal tab? Some EAs will write diagnostic messages if the trade is ...
MT4 Problem - Opening a Deal, then Closing it again straight away