MQL4 and MetaTrader 4 - page 1602

Could someone please help me with the code for the EA i have attached? I have tried and tried to edit this code to change this without any success. BasicallyI want to have the EA open only one order at a time in the same direction. However,I also would like it the EA to open another order in the...
Support email below, being sent to me every 2 hours - have over 15 so far!!! support was emailed but did not reply - perhaps others are getting this repeatednotification ?????????????/ The following new articles were published at https://www.mql5.com/en/articles/mt4: "MQL4 Lanaguage for Newbies....
Recently I have acquired a Client that has been running Cash Grabber, Trend Trader and Power Trader and they havebeen impressed with the “Demo” results running the Bellevue Strategy however they are unhappy with the supplierand the brokerage firm it is attached too. More information at http://www...
Betting Modeling as Means of Developing "Market Intuition" The article dwells on the notion of "market intuition" and ways of developingit. The method described in the article is based on the modeling of financial bettingin the form of a simple game. Author: Eryomin Sergey...
when running my EAs i often get this error message in the experts tab of the terminal: "expert function calls are not allowed; 'stdlib'-'ErrorDescription'" followed by "expert stopped" maybe the problem has something to do with the TrailingStop function trying tomodify the order too much......
[Deleted]
I am trying to keep OrdersTotal() <=1 at any point in time. If my EA is running simutaniously on multiple pairs say USDJPY and GBPJPY and theyboth meet the condtions for OrderSend() at the exact same time will OrderTotal()still remain at <=1? or will my condition be bypassed because both pairs...
The development of the MetaTrader 4 Mobile SE has been completed. Using it, youcan get access to financial markets and make trades worldwide. The embedded symbolcharts and technical indicators, as well as financial news, will help to make adecision about whether to open or close a position. Trading...
[Deleted]
I want to get in touch with the admin of this forum through a private message toask them a question related to this forum. Could anybody tell me what I have todo to talk to the admin? I have not seen the "Contact us" sections thatother forums have. Thanks in advance.
Hello, is there a replacement for the Sleep() function to use in Indicator Scripts? Because Sleep() dont work in Indicator Scripts? Or a After renovation?
  Java & MQL4  (4)
Dear MetaTrader Developers, I have to write a binary file in JAVA language and read it using MQL, but i amfacing an incompatibility problem. I am writing a simple integer ("400") value into a binary file ("data.dat") using the following Java code: File f = new File("data.dat"); FileOutputStream...
Hello together, i am trying some MetaTrader FX Brokers right here right know - and asking myselfwhich i will using in the future ? I also would use MetaTrader 4 Mobile Smartphone Edition - and would also pay 45USD for it but i have a basic questions before ... I have 3 Demo Accounts from 3...
I have a template that has a number of custom indicators with settings. I have updated the indicators by closing down MT, copying the new custom indicatorsover the existing ones (same file name) and then opening MT4 with the old template. I am correct to assume that the charts will contain the new...
[Deleted]
Hi, DDE or whatever. There's a suitable protocol? I expected to being able to export indicator's historical values in as easy way as for historical quotes. Thank you so much, SA
I am thinking to buy a notebook ASUS Eee PC. What is the minimum configuration to use MT4? Thanks
thanks for all the recent articles, sure helps us new mq4'ers ..... quick question, does anyone remember seeing an article that had a method to increasethe size of the input pop up box..... the article was wriien on a different subjectbut touched on the difficulty involved when large numbers af...
Hi When I backtest i notice that usually 12 pip loss is $120 and then sometimes itwould lose $177 or $133. Why is this and how can I sidestep this? L.
[Deleted]
To all experienced coders... do you break the steps of a complex function down tosub functions? For debugging would'nt this be easier to test each step for accuracy.Then once the final result is verfied the sub functions can be combined to a singlefunction? Or is it best practice to keep each step...
Seems to work best on EURUSD on daily charts. Any comments gratefully recieved. Specifically advice on how to implement a trailingstop loss as this might be a good way to exit my trades. Or I was thinking another way might be to be when the gap gets small between theparabolic and the price. As...
Hello, what's easier for the computer to calculate, if the values are calculatein the same script/file or to pick it up with iCustom function from other files?
[Deleted]
Hello Do you know, when we close a trade or partially close it (split), what happens tomagic number? tahnks
[Deleted]
Hi, I'm a newby and therefore I'm very pleased to communicate with you all. My question is: What is the simpliest and quickiest way to add in my indicator code a moving averagethat is not present in default modes? For instance, I'm talking about Triangular Moving Average, consisting of an average of...
The Indicator on wavelet - a transformation Kristi_GrafWav. Possible use the indicator both for mono, and for multi exchange analysis on threeinstruments. The Groups topple, period frames are selected on Your discretion.The Graphs will be removed in one window in one scale, possible choose any oneof...
Hi members, my first post here, but i have to say very good site! I'm working a custom indicator that i have made. So far so good but i can not getvalues from it older than lets say x bars. Why is that, when i'm reading all barswith Bars-1 function? Maybe the problem is in Time[i+j] function? Is...
If get it wrong in EA code it can basically just keep looping and with the journalgetting massively filled up etc..... Is there a HOT KEY combination to kill off this runaway EA? TIA
Do i have to confirm it if it's true or not for all types of actions( i mean wheni am modifying and sending pending & market order) or just for the Market order? Thanks in advance.
[Deleted]
Hello all, I'm using icustom to get the value of two lines from an custom indicator. My expertadvise send orders when the lines of the indicator crosses. My problem is... the values that I getting with icustom, change every tick, butmy indicator only draws lines in the selected timeframe. The...
[Deleted]
I change my EA from trailing-stop profit taking and add some fibo points prior tostart trailing. But then EA won't trade at all. Please help me find my own mistake.Thank you. void CheckForTrailing() { double highest = High[iHighest(Symbol(),PERIOD_H1,MODE_HIGH,p,0)]; double lowest =...
[Deleted]
Hi everyone. I want to create a simple EA that generates live trading signals based on the crossingof Parabolic SAR and the actual price. So basically any time the SAR goes underthe price there will be a buy order and every time it goes above will be a sellorder. there will be no set take profit or...
[Deleted]
How would one go about guaranteeing that each bar is only processed once? I have a routine that performs some counting on each bar of occurrences of a setup.I need to make sure that each bar is only processed once so that each "occurrence"of this setup is only counted once. I can only need to...