MQL4 and MetaTrader 4 - page 1436

[Deleted]
can any one make a program that if i want to close only the sell and close only the buy
[Deleted]
Hello, can anybody tell me how to find the first Bar of a indicator? I want to calculate a the first value in a specific way, and afterwards calculate every new indicator value an basis of the previous. thank you for help
[Deleted]
Hi, I am new to metatrader MQL but have heavy experience in programming. I am trying to change the color of a candlestick bar based off an indicator. For instance if stochastics or RSI is greater then 80 then i want the candlestick bar for that tick to be blue if it is less then 20 i want the
FXCM is offering fractional pips, my EA stops working (it does not place orders) on FXCM demo. I don't know why. Anybody has an idea ? thanks
Do I have to restart the whole MetaTrader if I want to update my EA that is currently running on an account? Or, is it enough if I just copy the new modified EA the the experts- folder, and compile it?
how to carry out an OCO(one cancel the other) command in MT4? for example: i sell eur vs usd at 1.39500,then i set a sell oco,limitprice(takeprofit) at 1.4050,stopprice(stoploss) at 1.39000,how can i make system hit stoploss(stopprice) level while it automatic cancel another takeprofit order. how...
[Deleted]
The function IndicatorCounted() is returning a -1, how do I resolve this issue? Thanks in advance, A
Is there a way to work out if say the last 10 hourly candles are in a trend up or down? What I want to do is find a trend when price nears major points like 1.1, 1.5, 1.6, etc. and then add some orders if the price action has been in an uptrend or downtrend directly beforehand.
Well, I spend like one month trying to write an EA. I spend days and nights trying to find out out the correct combination of different indicators, but with very little or no luck. Then I read few post on this forum regarding generic algorithm, so I decided to create something very simple. I believe...
[Deleted]
Hello, I have an offline chart that I need to WindowScreenShoot() and then SendFTP(). The EA that I have coded this into will not work from an offline chart. SendFTP will not work from an indicator. I can run the EA from an active chart, but WindowScreenShoot does not accept a window handle to...
When is the release date for metatrader 5 client terminal, atleast give us an idea how long traders have to wait since the mql4 code will be different or can you guys release some documentation on the code.
[Deleted]
I've posted this in response to the latest post which suggests that the going price for an EA is $20. I'm frankly staggered at the number of new members on this forum who either can't describe the precise specification of their strategy, or who can't cut code, together with those who can do neither,...
[Deleted]
  fast navigation  (2)
Hello. New to mt4. after typing 2009.06.24 15:00 (the desired time I wanted to check price closing), the chart immediately goes back to the current time. Please help. Thank you.
  Interesting question...  (104   1 2 3 4 5 ... 10 11)
They say the right question is half the answer. This seems to have occurred to me today. So I suggest a topic for discussion: "What is volatility in forex anyway?" ;)
[Deleted]
Hi, I am writing a custon indicator for MT4 and I want to set the height of the window it is running in from the indicator code. Can I do this in MT4?
[Deleted]
I have coded this Basic EA, which works fine, except fot the second half, which will not close orders, or operate the trailing stop. I have spent many hours, no Joy. I have exhauste all my knowledge, and am at a total loss. It all works Ok, but will not operate anything below the "...
[Deleted]
I found this ea and everything works except the trailing stop. The trailing stop moves once when hit but doesn't continue as the trade goes in profit. Any help would be much appreciated. or do you know of a similar EA. Thank You fxtrading24 .
I have been trying to use 2 of the solution on this forum but it's not working could someone please have a look at it and let me know where I have gone wrong. Regards Kiwi    //+------------------------------------------------------------------+   //| Variable...
Hello, I have a serious problem with my MetaEditor. I had 2 MT4 installed on my computer (Fxpro, FxOpen). After I installed a third one from InstaForex, the MetaEditor started to give me message like "could not launch the compiler". I first posted a thread here, and someone advice me to uninstalled...
[Deleted]
I have programmed in few OOP languages, so I have general knowledge on programming, but I just need some expert to clarify few things for me + some concepts. 1. I like the way ZigZag marks the points and let’s say I want to use it as base for two of my custom indicators (want to get...
Hi all, I am a newby creating a width indicator based on Bolinger Band. What happens is that when I tried to run this indicator, BB_Max values of ArrayMaximum always blow up to 214783647 and therefore the values of BB_Percent will go to zero. How could this happen? Any comments is appreciated....
I'm trying to find any datetime functions for calulating time differences. I want to run a script to check on the elapsed time that an open trade has been active. -Jerry
[Deleted]
I have an EA that waits for a MACD to cross over, then it see's if the price action is above the top bollinger for a sell or below the bottom bollinger to buy, in the hope that as it reaches that level and bounces back. From here i check whether the next bar, within a user defined range has broken...
When I do Alert("Hello!"); I get nothing. Do I have to enable alerts somewhere? -Jerry
[Deleted]
I would like to partner with a programmer to develop an ea based on my strategy.
Can someone please explain how i can pull live trade results into my website from mt4.
No Hedge....No Stoploss, No Limit Orders., FIFO...at this rate it'll be no MARKET ORDERS.... Thanks OBAMA..... SEND COMPLANTS TO THE NFA at jsunu@nfa.futures.org spendleton@nfa.futures.org squallo@nfa.futures.org edasso@nfa.futures.org lbrinati@nfa.futures.org forex@nfa.futures.org information@nfa...
Hi, I downloaded these two scripts on a forum, they were supposed to open 3 positions at a time, but when I drag and drop them on my chart they open only one position. Can someone correct that for me please. Also can someone modify those scripts for me so that they can not only open the 3 positions,...
Please, watch! The system works in EURGBP with high spread. 175152274,6% of profit in EURGBP from 2000 to 2009 (5 june) https://www.youtube.com/watch?v=I3F3MP4EcZk Best regards, BearNaked
[Deleted]
Position opening question for programming.. ALL I want is code for opening a single position ONE Time whenconditions are true for entering. And NOT open any more positions inthat direction. Example 1. MA's cross 2. a BUY order is sent 3. CONFIRM Buy is opened (with magic number) 4. Don't open...