Download MetaTrader 5

MQL4 and MetaTrader 4 - page 859

To post a new topic, please log in or register
  hi sir (2)
i m using one EA but i want to do something modification in this EA plz help me sir thanks vicky
hi all, i want to write 1 ea close order when it profit 2 pips, not take profit . thanks all. sorry for my english,
Thanks for taking time to read and reply to my question: . If I am interested in evaluating the bollinger band 'width' (width would be defined as the value in pips between the outer bands). . I would like to put a pre-condition in the EA that says: . If the top bollinger band (value in price or...
Hi: I currently have a working EA that is showing promise. It takes advantage of price swings in overbought/oversold conditions. It has simple logic (I think it should be simple) but is in need of observation and tweaking. . I am exploring options and am considering inviting someone to help. I...
I was trying to do the Flat Market indicator Formula, but there is an error in the formula and I don't know where, the result is that it's not showing any value. The code is bellow. Can you help me out with this?...
I have tried to search and post on this site but have been unsuccessful at finding what I need: Here is my dilemma: I need a script or DLL(neither of which I have any knowledge of) to create a signal for my EA. The use of globalvariable will not work for me because I am running something on a demo...
Hello all. I just ventured into making my trading more efficient buy having scripts to buy and sell, calculating stop size based on a stoploss i define on the chart and calculate the lot size based on how much im willing to risk $ amount. However, i was really looking forward to be able to execute...
I've been trying to use the Stealth Forex System but can't import the indicators as the MetaTrader isn't showing up in my program files. In order for me to import the indicators I have to go to 'My Computer' - 'C Drive' - 'Program Files' - and then the MetaTrader is supposed to show up here. I've...
hi, I ´m working with orders at stop an many orders don´t execute because of error 4107. can anybody explain it for me?. i `m ataching the EA //| Pablo 10.mq4 |//| Copyright © 2008, CLAM. |//|...
hello every one.. can the ea trade in certain time? example: monday, trade at time 15.00-18.00 tuersday, trade at time 10.00-14.00, 18.00-21.00 wed, trade at time 10.00-11.30, 13.30-17.00, 20.00-22.00 thu, trade all time friday, non trade.. can it? thx..
Is there any function which returns the overall average win amount, average loss amount, and winning/losing trade fraction? I'm thinking about implementing a kelly subroutine to handle position sizing and would like to make it fully automatic (to be turned on by user after sufficient history is...
Hello, I had my computer reformated and for some strange reason candle clock (showing lengh of candle formation in min, hours) is missing from all my charts. I am trying to figure out how can I applay it again into my chart, no success. Can anyone help with it?? Thank you
I dont know why I cant figure this out right now but if someone could help me straighten my code out i would appreciate it. I am trying to calculate Lot size by the amount of pips inbetween my future SL which is the previous bar high and current bid/ask price. Here is what I have and is giving me...
Who can create for me EA with a ready strategy basing on the bollinger bands? Szuirad
If I am running multiple instances of MetaTrader and one is logged into a demo and the other a live account, can I use an EA on the demo to set a globalvariable that my live account EA will recognize? I thought this might work as they are running from the same terminal on the computer???? Any...
HI can anyone help with this. I have an ea that gets a price value from a horizontal line or trendline. However i have the code as follows but it will not pick up either value. If i remove the Objectgetvaluebyshift it will pick up the Horizontal line price and vice versa. But i need it to recognise...
Hello All, Wondering if there are scripts that can be added to the MetaTrader 4 Expert Advisor Parameters (Target Price and Stop Loss) at the input? It seems that this Moving Average at Expert Advisor can Auto Trade but not able to add Target Price and Stop Loss upon after auto buy/sell? When...
Hi all, now you can be notified of any event in your EA through TWITTER. I have written a Windows EXE program which you can call (see below) inside your EA when events occur. Let me know if you are interested and we can discuss more on the features and price. Cheers! string twitterEXE =...
hi, im trying to find out what indicators etc the smart phone has but cant find anything on any forum about this or the difference between an iphone/web trader/black berry or smart phone ahhhh HELP
Is there a "simple" way to compute, bar-by-bar, the average of a buffer? My custom indicator returns a double value for every bar on the chart. Starting with the first bar on the left, I'd like to average all the data in the buffer for the amount of bars, e.g. on the first bar, return an average...
I am not sure if this is the right place to ask this, but I gotta start somewhere.. I am running MT4 and an EA on a VPS. Problem is that sometimes when I re-login to the VPS there are 2 sessions active and I have to choose 1. I have to reboot the VPS to fix it. Yesterday this was a problem...
Hello, If I wish to backtest some behavior how can I add any commodity or currency to my metatrader? Example, beans information and backtest some EA just for evaluation, how to do it? I don't care about the broker I just want to make some tests. Thanks Paulo
in simple way ? For example: x^3 ? in the other way (x*x*x) ?
i made an ea.assume its trades only between 8.00am (gmt) and 9.00am (gmt). in that period if i hv trade an order manually by myself on same pair then it wont executes its trades. i set also the magic number which is not 0 (like 1234).so pls guys help me to solve this issue
For learning purpose for example, I'd like to know if MT4 server is available somehow like MT4 client ?
Hi, I have programmed a customised indicator. Everythink works perfekt but the last buffer isn't drawn and I can't understand why! First try:    BuyBuffer[k] = (WL+WS)/2;   if(SumBuffer[k]>WL)   if(Sum2Buffer[k]<WL)      {       BuyBuffer[k] = EMPTY_VALUE;            } So everything works fine. I...
Sorry if this question is basic but I'm newbie. All source code I saw seems to refresh indicator for every tick, whereas I want to do so only when a period is just finished so how to do so ?
Two charts are open in metatrader - one EU H1 and another EU M5. I have a script (coded by me) which is running on EU H1 chart . Objective : This script should run only when the expert advisor 'XYZ" is loaded in M5 chart. The script should stop execution if the loaded EA in M5 is "ABC". The expert...
i am building a expert advisor and i need to introduce the indicator ( TrendRSI_v3 ) in expert. please someone help me in the conditions of the buy and sell i did it this way but not working double TrendRsi_Up = iCustom(NULL,0,"TrendRSI_v3",RSIPeriod,EMAPeriod,ATRPeriod,K,1,0);...