Download MetaTrader 5

MQL4 and MetaTrader 4 - page 988

To post a new topic, please log in or register
I hope someone out there can help me with my math problem.First of all I have zero math skills and don’t know the first thing about Trigonometry,Geometry and Algebra. What I have is a virtual grid that is 404.97 units long and 404.97units tall, with 0, 0 at the lower left of the grid. On this...
  help me (1)
hi i want the exact open and close time of newyork and tokoyo and london market in local time of each other. thanks
I have a comment in the top left that tells me the Daily ATR of the chart based on a 14 period average. How can I calculate how much the chart has moved in the last day or period of the chart (D1, H4, H1)?
Hi People, I have taken this code from the MQL4 reference manual and I always assumed it was working. I have found out today, it does not work on a different chart than the period specified. on the 15 minute chart is prints the value of the last days close rather than the highest high for the last...
Hi i have internet delay between me and broker server (ping=950ms). How much does it hurt EA trading? anybody facing this problem? Thanks
  please help (2)
hi in my EA that use for eur/usd chart i need for example a data from gbp/usd chart like (iopen("gbpusd",period_h1,0) when wrote this order in if() operator can not execute that but when use in operation print() excution of that is ok. an unteresting that after compiling the error is zero but the...
Please help me fix this code so that I may open Buy & Sell a the same time int start() { OrderSend(EURUSD,OP_BUY,0.1,Ask,3,Bid-15*Point,Bid+15*Point); OrderSend(EURUSD,OP_SELL,0.1,Ask,3,Ask-15*Point,Ask+15*Point);...
Hi, i am working on an ea, example i would like to set the Drawdown to cercent persent, then all trade close and take loss ? can any one please give me some hint or sample code.. Thanlks
I want to creat an expert adviser which opens buy and sell at the same time in the current price and close the operation for 15 pip sell and 15 pip buy, and when the first operation reaches the 15pip it opens at that price another buy and sell operation... thanx
I put 3 pips of slippage A broker who works with 5 digits, as the slippage would be made correctly: 1/ tike=OrderSend("EURUSD", OP_BUY, lts, unoA, 3, 0, 0, " ", 1, 0, Blue); 2/ tike=OrderSend("EURUSD", OP_BUY, lts, unoA, 30, 0, 0, " ", 1, 0, Blue); thanks and greetings to all
If I wanted to open/close a short/long trade using the below criteria, what methodes and/or stratagies would you recommend to me to accomplish following candles: Tail is n % of total Hammer height - input=Minimum percentage of total Candle height represented by the Tail. Long Trade, Open Candle...
Hi there, I'm running the following code in my EA which is attached to EURUSDH1: Print("Trailing Stop is : ",TrailingStop); Print("Ask is : ",Ask); Print("Point is : ",MarketInfo(Symbol(),MODE_POINT)); Print("Ask+Point*TrailingStop is : "...
Hello! i've got some EAs and i installed them on my demo account, and i can't seem to make any of them trade automatically when i uncheck the "ask manual confirmation". if i check it, the order requests start appearing, and i guess it runs fine.. are some EA's built so that they won't work but...
I`m trying to customize the charts. Ran into problems on MetaTrader, Under custom I do not have an option of EMA Crossover, Donchian Channel or QQE Adv.
Dear Forum, I have a strange problem if my EA runs in realtime:after a pending order is changed in a market order I most of the timesget a 130 error. With backtesting this never happend ! I re-read the tutorial. The only obligatory limitation is the following : changing a sell Order: SL-ASK <=...
Experts opinions are always vital so do not loose your money and get assistance to beat the market . Get Trial of 30 Days For detail visit www.fortunatemanagement.com
  30sec chart (2)
anyway to get seconds chart? need to program into my EA for sharper entry.
Has anybody had a run in with the new NFA rule that hedging is not prohibited so its no longer possible to put in a buy and sell in one currecny pair. Does anyone still hedge? I wish I could hedge. Help!
Hello, I have some questions about how works the offline charts on mt4, i would like to receive some clues on how can i start doing this: 1) i need to import csv/txt to hst or offline chart. these will be new symbols, from other markets, not forex. 2) i need to update these charts every 200ms for...
Hi All, I am attempting to backtest an EA, however in order to do so efficiently I need to add a stop loss sunction. Can anyone please provide me with some code to add to my EA? I do have money management EA's, but I cannot run them simultaneously iwith my EA during backtesting. Many Thanks, Rich. P...
  TMA&Cycles (170   1 2 3 4 5 ... 16 17)
Hi, As mentioned in another section ,the intention of this thread is to explain how to use centered Triangular moving averages to gain an edge in the decision making process prior to entering or exiting a trade. Let`s start by the simplest and most important point...How to decide the Half length of...
im new with sigtrader 4 and i already deposite 10usd in my real account.but when i want to trade what should i put the amount in the volume?if i want to buy usd/jpy 2usd what should i put in volume box cause it say that i didnt have enough money....
I have an issue with this indicator... well, i think actually there are more issues about it, but the thing it really stresses me up is that it doesn't work after I put it on a chart. I have to always recompile it after I place it over chart....
Hi, MQL PROGRAMMING will be releasing an exclusive trade copier. The trade Copier known as WEB Copier. The trade copier will use internet interface so that you do not need to fill investor passwords anymore. It will also ideal for EA Sellers. Before the releasement, we would like to have anyone to...
During the last 24 hours, the demo account has stopped giving accurate volume information on the gold charts. The volume is near zero and steady, even during peak hours. This appears to be an error in the database. Any idea when this will get fixed?
I want to learn looping routines in MQL. The below is not about making money, it is about learning how to stick together programming components.. The EA places OP_BUYSTOP and OP_SELLSTOP orders either side of market, and also OP_BUYLIMIT/OP_SELLLIMIT orders either side of the market. The above I can...
Hi, How can I pass an array as a function parameter? There is no Array datatype, so I am lost in trying to do that. Ideally what I would like to do is (I realize that syntax is incorrect): int myCalledFunction([whatever datatype] myArray){ Alert(ArraySize(myArray)); } int callingFunction(){...
hi i have two question 1- how can stick an ea to a chart? 2- for automatic trading when an EA sticks to a chart the computer must be turn on ? thanks
Hello, I'm working on an EA that retrieves the closing price of the last closed bar i.e. bar[1] using the hour timeframe. My initial assumption was that once the hour changed lets say from 11:59:59 to 12:00:00 close price of the bar would be the opening price of the next bar unless a new tick came...
What is the status of order_magic_number when it has not been set? Does it = 0 or NULL or empty?