MQL4 and MetaTrader 4 - page 739

I would be very grateful if someone could assist me to convert the following custom indicator coded in CTL (Common Technical Analysis Language) to MQL4: indicator Wave_15_Min; input C=close,O=open,H=high,L=low, period1 = 5,period2=20,period3=80,period4=480; draw line1("15 Min"), line2("1 Hour"),...
I have not done any code for a while, but I restarted my EA's and was going to work on some ideas. The EA's did not have errors in the past but now they do. All of the Meta Editor error seem to be from the 3 || 5 digit adjustment code and are as follows: '.' - semicolon expected    Daily Rat...
hello could any one help me find function to find lot size enter with 10 % risk of my balance in usdjpy xx.xxx (5 digit broker) mini account thanks in advance 
could any one tell me please the logic behind that pattern , how to program it ,,, just the idea not the code
[Deleted]
Hi, This is just a short question: Where is the "Alerts" File on Metatrader Directory? I use the metatrader on different computers and know how to completely copy the metatrader files (templates, indcators etc) to a new metatrader on another computer. Now i am installing a new VPS , which will be...
Is there anybody on here who can help me please. I have had to update to the new alpari meat trader 4 platform due to getting a new pc as my last one blew up. I have installed and un-installed the new platform but I am unable to get the indicator to work or show up in the panel or folders. These...
  Question for connoisseurs  (203   1 2 3 4 5 ... 20 21)
Hello. Programming experts can help. Expert Advisor: Buy - crossing of stochastics and the signal at oversold area (below 25), under the condition that Pivot is below the price level (a kind of support); on the contrary, Pivot is above the price level. Testing has shown some programming flaws. 1)
I personally own an iPod touch , and a few months ago when MT4 update the apps on IOS I was , and still so fucking impressed with the new update. Being able to plot support and resistance line on the chart really helps a lot. My question is , is there any official news or even rumours that...
[Deleted]
Can someone add a label to this indicator at the end of the line where I can add text through the properties window of the indicator? link to codebase please pretty please... It should look similar to this price label but I want to add custom text.
I have an MQL5 & MQL4 community login & wish to unregister the MQL4 login. Anyone know how to do that?
Suddernly the SL/TP changes to 50 points no matter what EA i backtest? Anyone encountered the same problem?
[Deleted]
  string to date  (1)
got stuck in comparing the string to date with current date time.    int YY=TimeYear(  Time[0]);   // Year          int MN=TimeMonth( Time[0]);   // Month                   int DD=TimeDay(   Time[0]);   // Day          int HH=TimeHour(  Time[0]);   // Hour                   int...
[Deleted]
  Adviser to the whole world  (1069   1 2 3 4 5 ... 106 107)
In this thread I propose to develop an EA together on the MT4 platform. I.e. solve the following issues together: 1. Choose a good strategy, using the experience of work. 2. Develop the code for each strategy. 3. Optimize parameters . 4. Use it in trading and compare results. 5. Improve the code
  requote at live  (3)
I have an scalper EA that works fine in Demo mode, but when I switch to Real, I always get a requote error message. What is the solution? phil
Hi I modified the default ATR.mq4 just a bit (4 lines, marked green and: // NEW): //+------------------------------------------------------------------+ //| ATR.mq4 | //| Copyright 2005-2014, MetaQuotes Software Corp. | //|
[Deleted]
Hi All! I have a problem with the iCustom function of the gator oscillator (Gator.mq4) what oscillator code can be found anywhere. The oscillator has 6 buffers, what values I want to query, to determine the color of the oscillator. My problem is, that when the oscillator turns from red to green in...
[Deleted]
Hi there, I installed the indicator: CCFp_v1.0.2cvert and want to change the currencies. Replace CHF by XAU. Plse help me out. Programming language is like Chinese for me (I am European!). Thanks in advance
I'm doing a "News" strategy where I quickly enter a Buy Stop and Sell Stop orders in the same price, bracketing current price. Currently, I right click on the chart at my entry price, and select either Buy Stop or Sell Stop. I then drag my order as close to current price as it will allow.   The...
[Deleted]
  I need help!!!!!  (3)
i'll be so gald if someone is able to help me to handle this problem. i just started learning this language.( and excuse if my english is bad.) And here's my idea, it's simple, but it's tricky for me to write the code. I want to draw a line on M1 or M5's chart by using the High && Low Price of the...
[Deleted]
I want to change the size of text & numerals. I have tried changing the screen resolution in Windows, but it has no effect. Any ideas, please ?
[Deleted]
Hi.... When the buy stop and sell stop will expired ? is it possible to set the expired date ? This is a code to execute sell stop: TicketNumber6 = OrderSend(Symbol(), OP_SELLSTOP, lot, TargetPrice, 1, SL, TP, "comment", MagicNumber, 0, White); And this is a code to execute byu stop: TicketNumber3 =...
New article How we developed the MetaTrader Signals service and Social Trading has been published: We continue to enhance the Signals service, improve the mechanisms, add new functions and fix flaws. The MetaTrader Signals Service of 2012 and the current MetaTrader Signals Service are like two...
Hi, I just saw these two parameters for SymbolInfoDouble() in the MT4 help: SYMBOL_TRADE_TICK_VALUE_PROFIT: Calculated tick price for a profitable order SYMBOL_TRADE_TICK_VALUE_LOSS: Calculated tick price for a losing order. Sounds too good to be true? Can I build an EA that is using only "tick...
[Deleted]
is there a list of valid DLL parameter data types? I tried long but got stack damage
Error connecting to mql5.storage Any ideas why this may be? Screenshot attached.
Hi Coders, I get 4 warnings when I Compile my EA, Please help me out to fix this. Many Many Thanks. The warnings are highlighted as Red colour. warnings are below void function returns a value. Return Value of "OrderModify" should be check. Return Value of "OrderModify" should be check. Return Value...
If I have all the high and low fractals how could I calculate which fractals connect in accordance to the parameters of ExtDepth, ExtDeviation, and ExtBackStep of zigzag? From current bar to last bar because I only need first couple zigzag lines, not whole chart. I'm having really hard time trying
  Print do nothing  (2)
I've update MT4 2 days ago. Everything looks good in new directories. But I've problem with Print: they not appear in log file. Log is accessible because all info for orders (opening, modifying) are stored in log. But nothing from my EA appears in it. Any tips why?
Hello. I want to write PERIOD_CURRENT in a timeframe of an indicator. And I want a more big period in other indicator, in a way that make the change automatic, and not manual. Somebody know what I need to write for do this? (maybe a word that mean something like next timefrime or something like...
  Indicator "Repainting"  (11   1 2)
Hello Group, I think I know the answer to this question, but just wanted to get an aforemation from the group. When reviewing some of the indictors posted to the forum, I came across one that looked promising. However in reading the reviews postings, I noted one that said that the indicator...