MQL4 and MetaTrader 4 - page 1303

[Deleted]
Is it possible to mark past bars with and arrow, rather than current, to identify highs and lows, at the actual bar where they occured, for a specified number of past bars? example: //-------------------------------------------------------------------- // extremumprice.mq4 // The code should be...
Pls where could I download MT5 setup.exe?
[Deleted]
Hi, I am a newbie. Can anyone help me with an alarm, I have two t3ma indicators on my chart. One t3ma with a value of 5 and the other t3ma with a value of 80. I am using a 15min chart. I would like an alarm that alerts me when both are crossing. If there is an alarm indicator already done could...
When I post an message to the Alert window, the top portion of the window is not used and can not be eliminated. Is there a way to resize the top vs. bottom portion of he Alert Window? Please see an example in the attachment. Thanks for any comments.
I have given my website to put a system like in the example that I want to do. Examples: "http://getanaliz.com/GetFxProData/sinyallistesi.php" for it "mq4" codes should. The logic of something like this; "MetaTrader" php code from the GET method with data from the server database and website coming...
[Deleted]
Does anybody know where I could find the correlations between EUR/USD and gold,silver,oil....... or EUR/USD and some stocks? Thanks a lot
[Deleted]
It's probably too simple for words, but I can't figure out how these code snippets work... SetIndexStyle(0,DRAW_HISTOGRAM, 0, BodyWidth, BlueZone);SetIndexBuffer(0, ExtMapBuffer1);SetIndexStyle(1,DRAW_HISTOGRAM, 0, BodyWidth, RedZone);SetIndexBuffer(1, ExtMapBuffer2);.....
[Deleted]
  Determining bull or bear trend  (21   1 2 3)
Attached is a script that I am trying to set a variable determining whether the trend is bullish or bearish. It is supposed to set a variable to determine bull or bear. It is not setting the variable. can anyone determine why not by looking at it? I have commented out the rest of the script (still...
[Deleted]
At 2010.07.01 GMT 04:15 my system gave me no less than FOURsell signals and one filter confirmation, as follows: OsMA classic bearish divergence, usually very reliable;AC+AO aligned for selling;MA cross down;Heiken Ashi Zone Trade two bear bars after three grays, another usually very...
Hi Everyone, Please help me draw this. This is intended for my EA and not as an indicator. Not sure why it is not drawing.. I just want for there to be a box which starts at hour 1 of the day and ends at hour 5. LineA and LineB will be the high and low of the first 5 hours of the day. Thanks in...
[Deleted]
Hi all I need to know the number of pairs my EA is driven. I don't find a way ! How to know the number of open chart for the same EA ? thanks Philippe
-
Strategy Tester Report TheMasterMind3 (Champion Edition) AlpariUS-Demo (Build 218) SymbolEURUSD (Euro vs US Dollar)Period5 Minutes (M5) 2008.10.01 00:00 - 2008.10.01 13:10 (2008.10.01 - 2008.12.31)ModelEvery tick (the most precise method based on all available least timeframes)ParametersLots=200;...
[Deleted]
Hi all How to calculate AccountFreeMargin to put a SELL STOP or BUY STOP ? AccountFreeMargin only accept BUY or SELL and AT CURRENT PRICE ? How to be sure there will have enought money to transform a SELL/BUY STOP in a SELL/BUY ? Broker delete trade STOP if not enought money and you lose your trade...
-
Hi all, I feel it is a good strategy to enter/open order using Moving Average Crossover (MA20,MA50,MA100,MA200 ). However, i don't think it is a good strategy to exit by Moving Average Crossover Any of you have a better idea for the exit strategy ? using TP and SL ? using MACD crossover ? How...
[Deleted]
Hello, Does anyone know how to achieve Percentile Rank value of the current bars close from lets say the last 100 bars? Here is what I am refering to... http://en.wikipedia.org/wiki/Percentile_rank Thanks
Does anyone know how to use an EA to pause/unpause tester? I want whatever tests are running to be paused when the EA is trying to make a trade.. Then when the trade is complete, I need it to unpause and resume testing.
[Deleted]
hello, i want to change the pair shown by a script. the script will show all pairs, with 3-5 second shows. is it possible to change symbol of the chart, by code? thanks
Hello, i have see today when i set the Period for a Moving Average bigger then 4000 then the Period automatic change to 14. Have anybody here see the same and know if it is not possible to use bigger Moving Average with MT4 or why does it not work by me
I'm wanting to administer and trade on numerous ForEx accounts from one client. I found some info here on automatically switching accounts in one terminal, though the 'documentation' is in Russian. Now I'm wondering how and trying to figure out when the terminal is not active and is 'at rest' to...
These pictures are explained by the information in the top left corner of the chart, the moving averages are both 13 periods on a 1 minute chart. What I found suprising is, scrolling back through days weeks and months of my 1 minute chart history the difference between the moving averages of the...
[Deleted]
Hi, Is it possible to log in/log out from mql4 (with different credentials on different server)? I cannot see any command for such action in mql4. Is it possible to log in programmatically from dll using MetaTrader terminal instance log in mechanism (this is usually done via log in dialog in...
I want to find out the command line start up definitions for the Terminal StartUp configuration ini file, but I am unable to open up any of these Help Files / User Guide. Regardless of if I try and call them up using F1 in the MQL Editor or invoke them from the MQL4 web site. The same window opens...
New article A DLL-free solution to communicate between MetaTrader 5 terminals using Named Pipes is published at mql5.com: The article describes how to implement Interprocess Communication between MetaTrader 5 client terminals using named pipes. For the use of the named pipes, the CNamedPipes class...
Hi, I'm new in coding and have the following problem : EA opens ticket #1, doesn't fix stoploss but fixes takeprofit. Then it closes #1 and opens ticket#2 and then displays unknown ticket # 1 to ordermodify function... here is the code : Buy : if (Order == SIGNAL_BUY && ((EachTickMode &&...
[Deleted]
  Coding a new Ea  (3)
I need help with creating a EA for these parameters: When the price range trades from under the MA to over the MA, and the first bar that has a low lower than the previous bar ; at that point I would like a green arrow or some symbol alerting me for a possible buy. The inverse is the same for the
I am interested in the following question: how to choose the best balance between quality and quantity when optimising an EA . Here are some examples to make it clear what we are talking about: 1. The highest profit. However, the number of trades is not very high. It has a very large drawdown %: 2
[Deleted]
I've found that when I complete an order I can drag it from the Account History tab onto my chart and it will plot it showing the start, stop, and take profit, stop loss values; it's very cool. But I want my orders to automatically be plotted like this. Any way to do this? Thanks Z
My broker does Not show the options for trading currencies such as USD/SGD__USD/CNY__USD/HKD or USD/RUB etc.. Is it because these currencies are Not main stream OR is it just my broker?
  Forum search  (4)
Is it just me or has anyone else noticed there seems to be a problem with the search ? There is a wealth of information on this forum but whenever I try to search for information on something it barely returns any relevent results, maybe one or two if I'm lucky and then a string of totaly unrelated...
  Wrong profit  (5)
I'm using the 225 version, and I have found that sometimes MT is showing the wrong profit on a currently opened trade, just after opening a trade I can see either 0 or -1 (2 being the spread) in pips. Even more, in my EA I calculate the profit from the actual order (it's not denominated in USD)