Hello to the experts, I tried to use the shortname function with a custom indicator , but nothing seems to appear in the chart window. Then I tried the for example MACD default codes, implemented in the INIT() area
Hello, I tried to use the following line, to create a stop at a certain gain level and (at the same time) a takeprofit modification, but I probably made a mistake, since the modification is not executed (the alert-sound is played sometimes): extern
Hello, from another software than Metatrader I'm used to the following: When adressing Array values (for example Bars) - in the past - values from 1 upwards are used. Value 0 ist the present bar. (like MT) When adressing Array values - in the future
hello to the experts, I got a problem with the durability of objects. I use some custom indicators in charts , they have a normal draw object function(vertical lines) included. Now when I close the MT4 and restart it another time, the formally drawn
hello everybody, I have a problem, which may be easily corrected. In a EA I started to program I use the command line just to test buy signals in general. the mode is " every tick " and "visual"
hello to the experts, is there any program file (a way/ a script/an EA etc.etc.) to limit the open positions in the MT4 platform. the background is: if you use a signal provider with your MT4 directly you don't have a predefined max open positions
I'm new to MT4 programming, I guess the answer to my question is simple: in the definition part there is: double A[]; in the program part there is: A[0]=trend[1]; // trend[1] in this case has the value -1 Comment(trend[1]," ",A[0]); now
hello to the programming experts here, I got a short question: when - just as a simple example - using a code line like : for(i=0;i==Bars;i++) Buffer[i]=Close[i]; in a custom indicator (in a "separate_window") the Close prices are drawn
Hello everybody, this user here created a very interesting trailing stop tool. It works fine when, for example, placing it on a chart in the mt4 terminal. https://www.mql5.com/en/code/9530 Now, I'd like to integrate this functionality, if possible
hello, does anybody know if there is any method to save and reload mt4 system tester results , to qiuckly reload former test results? thanks in advance
when integrating vertical lines https://docs.mql4.com/objects/ObjectCreate a selection of the window can be made by using the predefined parameter. I noticed that a vertical line in the chart window (when the parameter "0" is set) crosses
Hello, I'm experimenting with a short code, just to learn how to place objects at different bars in a chart. I just wanted to place a vertical line at each bar in the chart (later I'm gonna add conditions for where a vertical line should appear) Now
hi folks, I tried to modify one of my iondicators so that a partial number of Bars (=partial timespan) is calculated and showed in the chart window Only, i.e. for example that the Bars 50 to 100 should be used/calculated and shown by the indicator
hello, I haven't see anything in the manual for the followlng (simple)issue yet. Got an custom indicator and want the indicator to create a vertical line when "condition up" and "condition down" according to my trading criteria
hello to the experts, for example the command "SetIndexStyle (0,EMPTY,EMPTY,2,Blue); " sets an indicator colour, in my case a line style indicator. Now this command applies to - all - the data i.e. the colour of the - whole line - is
hi, I programmed some custom indcators. Since my indicator lines are partially covered by the information in the upper row of the cust.ind.window, I'm wondering how to hide the custom indicator name, the values etc. which are displayed, so that there
I integrated into my custom indicators several objects/ arrows with the MT create objects function to indicate trends, fine thing... Now, after a while the MT Terminal window shows a larger (and increasing) font size and, for example, the MT