MQL4 and MetaTrader 4 - page 1514

[Deleted]
hello i need to help a programer i have a market profile indicator i want to edit this indicator : 1.add a option for number of drawing market profile candle(bars). 2.add a option for start Drawing time. Thank you
Hey there. I'm bit stuck en closing orders. I get en error "unknown ticket", but I've tried a lot of ways and got a lot of different errors. Can someone help? Thanks a lot. :) OrderSelect(OrdersHistoryTotal()-1, SELECT_BY_POS, MODE_HISTORY); if ((updown==1)&&(OrderType()==OP_SELL))...
  blue screen  (3)
hi, why my screen (background) becomes blue? soudenly it becomes blue... that's quite unconfortable... please, how can i fix that? thanks,,, Ma
[Deleted]
  MathAbs  (1)
Can anyone tell me-or show me the use of the function MathAbs? I see it everywhere and Docs dont tell the story.
[Deleted]
Hi everybody, I am a newbie in this platform and also to forex also. i want to know how to add sound while any of my active trade closed successfully (by taking profit)?? And also if closed by stop loss how to add  sound there???? Please let me know....... Thanx in advance to all.
Hi, I'm trying to calculate the margin while hedging. In the code below I made an atempt to calculate the correct margin. The function works fine if there are only trades open in one direction. But it's totally off when the EA has trades open in both directions. Any help would be highly...
[Deleted]
hi, guys I have very very nice strategy it's called "sab7-sab7" it's very simple >>> It's based on the crossing of EMA's 1- If EMA (7) cross up EMA (15) and RSI value was more than 50 then you enter " buy" 2-If EMA (7) cross down EMA (15) and RSI value was less then 40 then you enter " sell"...
This grid builder indicator only accept values like 10, 20, 30. Don't accept 15, 25, 35. Can anyone fix it, please? https://www.mql5.com/en/code/7292 Thanks
please can some one help me modify the trailing stop for this ea so that it TRAILS THE MARKET ONLY ONCE?
[Deleted]
I would like to hire a MQL4 programmer to write an EA for me. Write me at skyaxe1@yahoo.com.
[Deleted]
I'm looking for a programmer to code a simple EA for me to make small orders on my account, when not at the terminal. I have two simple systems that I'd like to write up and be able to adjust a little bit. Please email me if any of you are interested. Thanks, Kurt kjpix@mac.com
[Deleted]
Hi there, I have a problem with the WindowBarsPerChart() function (see attached screenshot) that I hope someone can help me with. The screenshot shows a standard chart that I have scrolled all the way to the right so that the rightmost bar is bar 0. I run a simple script that prints the values of...
Hello, Is there a place someone could direct me to learn how to keep an indicator calculate in one timeframe no matter what time frame the chart is under. For example, i want to calculate MACD only for 15 min timeframe even though the chart is at the 1 hour time frame. I hope this makes sense. Thank
[Deleted]
Can I graph indicator lines in EA while it is running live or in strategy tester? Can't seem to do it unless I add indicator lines manually. Thanks.
[Deleted]
I am trying to write code to obtain the state of a toolbar button of terminal.exe. It appears that because terminal.exe uses the MFC libraries for its controls/toolbars that I need to do something like this: int tbbutton[10]; ArrayInitialize(tbbutton, 0); SendMessageA(hwndToolbar,...
[Deleted]
  Known Bugs  (2)
Version 4.00, build 220 of the metaquotes platform clearly has a LEAK. If I run backtraces for extended lenghths of time the system will eventually fall over due to lack of memory. Watching terminal.exe in Task Manager reveals a consistent growth in RAM usage even when using an EA that does not...
[Deleted]
I have questions regarding 2 specific code, Any help is greatly appreciated. 1: NormalizeDouble ---> is it possible for this command to return the value ZERO? 2. If I specify a external value and then change the value inside the script would the new value remain or would it reset to the external...
Hi all, I'm sitting here in the frosty Germany with a few friends and we're doing a little brainstorming about the most suitable way how to display current ASK and BID Quotes of a certain instrument at custom controls on a userform. We have created two buttons, where the one is intended to receive
[Deleted]
Can some one please help me, I have been battling with the code of my EA for some time now. I can not get it to close a trade if the orderclose criteria are met. I will attach my EA and the custom indicator it uses. Please if you find the problem let me know I would like to fix it myself and learn...
Hi Is it true that the indicators Bollinger Bands and the equivalent iBands accept only integer standard deviation values? I find that the custom indicator, Bands, makes a Bollinger band of any number of standard deviation (e.g. 2.5). For my EA, I need Bollinger Bands with width 2.5 Std Devs. Is the...
pls i need hammer and spining top indicator alert that will alert me when there is property called hammer defined by: |open- close|=0, |high-open|=0 etc
[Deleted]
when pendingorder change to openedorders I want write code for send new order but now I can't write it, please help me . thanks you .
[Deleted]
MT4 won't execute a trailing stop when the software is not running. I don't like running the software all the time - I'm a Newbie Swing Trader. For example if I put in a separate Buy Stop order and that order gets executed while the program is closed, won't the trailing buy stop order get executed...
Can someone code or dose someone have a code that displays the PSAR in each time frame? If so please email it to landonbarnard@gmail.com Thanks for the help Landon Barnard
[Deleted]
Hi all, I'm relatively new to this user interface, and I'm having a problem not described in the help section. Whenever I attempt to back-test one of the given EAs, I always end up with these two error message in the Journal: "OrderSend error 131" as well as "Error opening BUY order : 131". I'm...
[Deleted]
After a search of many, many months I came to the conclusion that there is no ExpertAdvisor that can actually consistently make money over the long term. Can anybodyprove me wrong?
[Deleted]
Hi there, I wonder if someone has some code or can develop a code with the following conditions: (trend following) Moving Average: - Period: 90 - Shift: 0 - Mode: Simple The code must test the candlestick bar status for 2 different timeframes: 1H and 4H Rules: NO ORDER: Wait for the candlestick...
Hello, I want to ask how can I add a moving average in to MACD and say to auto-trader to make Longs and Sorts when the moving average == MacdCurrent. I tried to add moving average but it adds to EURUSD and not to MACD. I know that it must be very easy for you, so please help me. Thank you Daniel
I have a EA that open a lot of profits trades, but open a few very unprofitable ones. I need to create a EA that open a trade in the opposite direction when the price reach -100 with a step loss of 20 and take profit 400 (could be variable). If the trade move to -120 move the stop loss to the start...
[Deleted]
Hello, I am using plain C to write dll's for use within scripts in metatrader. 1) In my dll I want to create a dialogue or window (which obviously must have its own callback function). I have done this by creating the window in a new thread. This sometimes crashes metatrader when I close the window....