MQL4 and MetaTrader 4 - page 175

Hi guys, I need some help on normalizing prices. I use broker A that has an ECN and CENTS account Using my EA on the ECN account and normalizing the prices to Symbol XAUUSD works just fine. However, when using the same EA on the CENTS account, I get error 4107. When I print the TICKSIZE it makes me
I have a script which does write 1000 candelsticks into a .hst file, my problem is when i change in my code the for loop to make only 1 run then i have also just 1 candelstick in my .hst file saved, so it looks like he overwwrite everything in the .hst file. And i have just a easy question, how ust
  Help me please  (6)
I don't know what else to do. I have read and understood the terms and conditions carefully. Files run perfectly. There is no element of deceit. But still my file didn't pass the test. I am almost helpless wasting time in vain, there is no solution at all please sir please help what should I do
Hi All I would like to open a trade when price touches a object(Buy/Sell). With the code below it will open in between the objects. extern int MagicNumber= 1 ; int MaxTrades= 0 ; //+------------------------------------------------------------------+ //| Expert tick function
  Mt4 api access  (1)
I applied about a week ago to get Mt4 api broker access to create a tool and havne't received an email back from them yet. does anyone know about how long it takes to hear a reply back? Thanks
I am trying to add the position size calculator to a new broker mt4 platform but it is not working ? I have this loaded successfully on my other broker mt4 platforms but for some reason I cannot do it on this one - please help - it is showing in the mql data folder but not in tools when i try to
Hello, I open this post because I was using DayOfWeek but last weekend as it receive the last known server time my script think it was Friday... I tried to use MarketInfo(TRADE_ALLOWED) but it didn't return me FALSE neither TRUE but if I well remember last weekend it return -1  ??   My script is a...
Hi all, Any help would be greatly appreciated as this has me stumped at the minute: I'm looking to access a candle close 2 back to see if it closes above the upper Bollinger band Then looking at the candle 1 back to see if it closes below the upper Bollinger band I'm getting a match on the on the
I am using currently the periodconverter script example to create custom offline chart files but it looks like the metatrader is using to much CPU for creating this files. Is it possible to create this files without metatrader and save them just in the right folder? If i open the files in a
  Mt4 Api  (46   1 2 3 4 5)
Hi, have anybody API code of MT4? I will some owner DDL's interface library to inside. Thx ______________________ DDF Digital Data Format GTF Generic Token Format ______________________
//+------------------------------------------------------------------+ //| TZ-Breaktout.mq4 | //| Shimodax | //| |
  EA not working  (2)
HI Fellow traders, I currently downloaded an EA and wanted to back test on strategy tester but its not working. The default MA EA is working fine. When i contacted the developer or the EA, he asked me to OPtimize the EA and gave me a link to read
Good morning from the uk everyone. So am looking for a bit of help regarding some code I've been working on. My code is attached and as you'll quickly tell I'm still new to this and its definitely not the neatest/most efficient right now. However the reason for the post is I'm having stop loss and
can you please help me with hidding rsi input parameters
Hi. Where exactly do I download the generic version of MT4??? Please don't say from a broker. When I go to https://www.metatrader4.com/en/download and click the "download MT4" link, it still installs the MT5 version. Why the deception? Thanks
  Lot Sizing  (2)
Hi I would like to create a function that computes the correct lot size for all forex pairs and commodities. is this possible ? where should I start ? I have a fixed stop loss and risk percentage Thanks
Hi there, I am trying to write an indicator to work on Fibs on a chart. To debug this, I created debug.tpl and when I run the indicator in the Debugger, the correct template loads. The debug.tpl has as Fib and some MAs. When I step through the code that assigns some values to variables, the values
I created an indicator that measures the IBS (internal bar strength), I used part of the function listed in MQL docs but I do have a problem when I switch time frames, it doesn't seem to run the OnDeinit to clear up already created objects before it starts creating new objects based on the new
  What is a TICK?  (43   1 2 3 4 5)
What is a "tick" in MT4
[Deleted]
So, is there something I have missed here or is MT4 decided it just doesn't feel like showing the ASK line, despite numerous attempts at getting the terminal to show the ask line... and also here ..and I've even cheked to make sure the color of the ask line isnt camoflaged with the chart color as
HI, I am a senior high school student and I am new to trading and mt4 and ive been studying different financial market for the last 6 months. this grid system has a 60-70 percent winr ate and have a high gains in a day. this system doesn't use any indicator and news or fundamentals because indicator
Hi everyone, I want a code to insert SL to my actual EA that use martingale, but I want close trades when go wrong direction, for that reason I want SL and time life order, can someone help me with the code? Thanks
[Deleted]
  Help writing EA  (2)
Is there someone out there willing to help me write an EA? I have a proven strategy but I need assistance writing a trade EA. Thanks.
Hi was wondering if anyone can help with an email issue. I set my opotions up as below but am still getting an error. Any ideas? Many thanks Kenny
Hey community, i need someone who knows how to integrate hedging in an existing MT4 EA. But at first i have some questions and some things to discuss about the implementation in the existing EA strategy. If someone is interested, please contact me. Thank you
Can anyone help me with the correct formula for detecting Three White Soldiers and Three Black Crows? I've tried several different patterns and I can't detect them every time. Three White Soldiers: iClose ( NULL , 0 , 1 )> iClose ( NULL , 0 , 2 ) && iClose ( NULL , 0 , 2 )> iClose ( NULL , 0 , 3 )
[Deleted]
Morning all, I have a Messagebox() set up as a void() function - called messagePrompt(); which is called upon when pre-determined conditions are met. The function itself works fine, it's called, a message comes up, no issues here, however, slightly confused as to the logic around the return result
Hi, I have a multicurrency hedge EA that I am trying to get listed on the market place, however when it comes to the final part of getting the automatic verification it keeps up coming as failed with numerous errors for example "no trading operations". I have tested the EA on MT4 and it works
Can Same vps server cancel latency delays ...because it just open and closed the trade toward when the signal acct is about to close its trade