[Deleted]
Hey guys I need some help I am trying to develop a code that will do this-- at the open of the ny session, london session, sydney session EXACTLY, I need it to take an order cancels order thing of 30 pips on both ways. Then I want the triggered order, once it has been triggered to have a stop loss...
[Deleted]
Dear Forum, I have seen many in the forum are struggling with this error. As I have understood the other threads, the error can be cause by a: setting a stoploss value too close to the current price b: a wrong number of digits after 0 Concerning a: As I have understood. MarketInfo(Symbol()
[Deleted]
I do not know whether I can ask for an advice on MT4 programming. Is it possible to achieve the following ? 1) Get the (x,y) screen coordinate when a mouse button is clicked. 2) Convert the (x,y) screen coordinates to the corresponding Price and Time Thanks. Best regards, Tiffany
Hi I am trying code EA it should open position once price goes 10-15 above 3 bands but not able to figure out how to check # of pips after its above upper band like below code will confirm that its above upper band but after this condition I want to wait till it goes 15pips up and then open position
This is strange, but proberly a newbie problem. When I first run my indicator no lines is visible, but after a minute they start to show (I have 1 min resoloution). This is irritating because I have to wait for a hour before everything works as it should... When I run my other indicators they draw...
Simple request if someone can help... I just nedd code for two cordinates to draw rectangle, 8AM and 9AM
Hi, I have several very good scalping systems, but not surprizingly they're only good when spread is (very) low. I'd like to optimize / adjust these under 'adverse' spread conditions in the hope that they will then work well, and work even better when spread is lower than when optimized. The way
Hi everyone! I have been trying MT4 and MT5, for couple of days. While checking around charts, I see on MT4 always shows up a extra bar compare to MT5. Here I toke a screenshot of the chart of both applications. Here is the MT4 AUD/USD, candlestick D1. And here is the MT5, same chart, D1. Its...
[Deleted]
I have created this exit function to make an EA close whatever positions there when an order of the opposite direction is opened by the same EA. void ClosePosition(int OP){ for (int i = 0; i < OrdersTotal(); i++) { OrderSelect(i, SELECT_BY_POS, MODE_TRADES); if (OrderType() <= OP_SELL...
Hi, I have an EA which opens trade, but I am not able to figure out how to do trilling on it can someone give me code to do trilling as fallowing condition 1. once i am xx pips in profit I want to close half position and put stoploss on 1 pip profit ex: if I buy 1lot at 1.4400 once market is at 1...
I have an EA which I have written and typically I have it running on several charts at a time. Each EA has an 'on screen ' display in the form of a comment created in the EA and shows current and history contracts for that instrument - together with some of the parameters I have used. I have an...
[Deleted]
Hi, Could someone please help to explain why below array assignment is wrong And what is the correct way of doing it many thanks in advance. double bandU =iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_UPPER, 0);double bandM =iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_MAIN, 0);double...
prejudice are starting out and wanted to know how and the code for a small indicator that should make the difference between 2 moving averages
Hi gurus, Regarding the sl and tp, and taking into accoun this is altered for 3 or 5 digit brokers ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3*pips2points,Ask-StopLoss*pips2dbl,Ask+TakeProfit*pips2dbl,"Unfinished_POS_agent_1min",MagicNumber,0,Green); Would I simply use A and D variables ? is it that...
Good afternoon. There is an idea to create a topic to collect and discuss various forex offers, very tempting and attractive. It is no secret that along with decent activities and targets, the internet is also actively used by scammers. However, the means of PR and presentation have become so subtle
Hello, Unable to find file test1.csv on my Windows 7 laptop after executing the following function using MetaEditor Build 409. I'm executing this as a script. the mq4 file is in folder Scripts. Experts tab and Alert window shows file test1.csv was opened and closed successfully, no errors. I'm...
Hellow, traders! Is there any way to reverse chart? I want to see price action in inverse. Thank you for your help. Good trade today!!!
Hi, Does anybody has indicator related to account balance? I need an indicator that alerts me when there's change in account balance. If account balance is decreasing, then play sound "A", and if decreasing play sound "B". Just simple as that. It seems fun hearing sounds from EA's trade. :) Anyone...
[Deleted]
Hello, I need to test an EA on an account with a small initial deposit. For a reason I can't understand, Alpari limits their demo account to a minimum of $3000. Can you please recommend me an alternative copany that will allow a demo account with $1000 initial repository? Thank you
[Deleted]
I opened a DEMO account 4 days ago with a META TRADER (IAM FX)....and within the last two days when I open the DEMO I see a "NO CONNECTION" at the bottom right side of the window. I cannot log in or see any active trades or time (obviously because of the no connection status)....So WTH is going on?...
[Deleted]
Hi, I noticed some strange behaviour in MT4's backtest speed. The speed highly depends on the data used. I'm using two different sets of data spanning several years. Both set's are rather high quality M1 data spanning the same time period. I'm using two installs of MT4's most recent build and I have...
New article Dr. Tradelove or How I Stopped Worrying and Created a Self-Training Expert Advisor is published at mql5.com: Just over a year ago joo, in his article "Genetic Algorithms - It's Easy!", gave us a tool for implementation of the genetic algorithm in MQL5. Now utilizing the tool we will...
[Deleted]
I am a new user of MT4 and don't know MT4 coding language. Please change the following into MT4 indicator: 1. Price channel formed by highest high of 20 days and lowest low of 20 days; 2. Price channel formed by simple average of high and low prices of 20 days; Thanks a lot!
[Deleted]
Ok well since Im new to this forum I would like to ask this I have been testing settings of ema 1 and ema 5 crossover for entry and use a stop loss to get out of whipsaws. Meaning getting out with profit on paper trades/ It works with stocks, stock options, penny stocks( yuck). But with the forex...
Is if possible to write an EA that trades using control points instead of every tick? If not, what possible good is that option?
How to draw rectangle from 8am to 9am where the height of rectangle is from daily low price to daily high price?
I need to make this order function use a % of the AccountEquity rather than a % of the AccountFreeMargin. This code allows the risk to be adjusted depending on a win/loss, but calculates risk depending on free margin when I need it to calculate based on equity. In the 2nd post of this thread I have...
[Deleted]
Can someone answer this? In the realms of MT4 client terminal and broker server, where does the data feed for the MT4 charts come from? Is this from the MT4 broker server too, or is that only responsible for trade execution and modification, with the data feed coming from metaquotes directly? Or is...
[Deleted]
hey guys, I need to know how to add the Positive Volume Index (PVI) indicator to my charts. I will appreciate any assistance. cheers.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.