Download MetaTrader 5

MQL4 and MetaTrader 4 - page 807

To post a new topic, please log in or register
Please suggest me an Automatic indicator which can draw, In a much shorter-term time frame (let me say 60 minute) for an up move. Draw a line from low to the high then take a parallel to the most extreme portion of the move. When prices begin to breaking below this line, the previous move is done.
I am looking for someone who can build me or help me in her automatic trading robot to work on a four hour time frame. Specifications to follow. My program will consist of: -has to be able to determine trend -be able to determine previous high previous low -able to work on multiple currency -able...
This is my first project with trade operations. What I'm going for here is: -Set a limit order upon initialize -At first tick, Modify to Set SL Value, Set TP 1 and TP2 values, Draw Take profit lines -Wait for price to hit TP1, sell 1/3 position then modify SL to breakeven -Wait for price to thi TP2,...
i have my first EX and it seems that do not work on tester do not finish the test but give me no errors with 90% Modeling quality. my email ma2moon13@hotmail.com thnx
  rating ? (2)
who gives the EA a rating under codebase ? a moderator ? thanks
thank you also for the first help!! :-) i test my stradegy in 2 different computers with differend results why? thnks in advance
I have been coding my first EA. There is one area that almost everthing has an errors, assignment expected, unexpected tokens, semi-colons, in places that shoulden't have them. I have marked a few examples in comments. Why would this one area do this? I really need help, I don't know what eles to...
Does anyone know of a formula for calculating the momentum of standard deviation? I'm seeking to have RSI modified to chart the momentum of standard deviation in much the same way RSI normally charts the momentum of price. Thus, a rise in StdDev with rising price would show its momentum going...
Hello everybody, I'm having problems with the MarketInfo command. The following little test program deliveres a correct result when attached to the EURUSD chart. However it doesn't deliver any result when attached to a chart different than EURUSD. Does anybody have an idea why MarketInfo command...
Hello, I am in the process of finshing up my first EA. I still have a few importain things to add (like the ordersent) but I felt like it was time to debug. I was able to get everything fixed but a Ending } Expected. I know that this is due to unbalanced brackets and I have gone over every line a...
On my pc running EA which open trade. If trade open, MT write info record about this trade to window terminal->strategies. (see image) My question: How do I disable write this record?
And so do I need to use mutexes on dll variables to prevent conflicts?
I need a function that will close the losing trades (one at a time) when the margin level is equal or below 100%, until the margin level is above 100%. - closing the the biggest losing order first.
Hi All, Does anybody know how to get Fib level price values programmatically assuming you know the Fib name (object name)? thanks
Hi, I would like my EA to return the profit for all my open buy orders only. Can anyone help me code this, Tanks in advance
What is the best way to test my EA without waiting the whole day for another trade to happen just to check my latest adaption is working or not ? ? I can not use the back tester on MT4
Vyckaa
hi, i would like to insert auto break even after number of pips reached, and lots size incresment, if losses then increases it by 0.01, no martingale just sipmple increasment, if wins gets back to default. any help would be great!
Hi, I started using Buru from IBFX and I just got this message. Here I share the info for your knowledge (they send the images as well): "Dear Buru Trader, We want to inform you about the incident that took place today on demo accounts running the buru EA. The minor losses that resulted from today...
I find this forum by trying to find programmers to program my sredegies I am trading the markets for 25 years. What i read in this forum is unbelievable. Traders that never trade before in they lifes suddenly the find the holly grails, trading systems with accuracy 90%, programmers they try to fish...
I am new in the forum and in MT4 i need your help for back testing i find an interesting autosystem i want to back test with stradegy tester when i put it in ST even though i change the parameters the back testing is done with initial parameters How pls can i change parameters to this software when...
I have coded an EA that appears to work correctly. It generates the correct results and displays them in the results tab. If I use visual mode I can see the trades being generated on the chart. However, when it reaches the end of the test or when I stop the test the trades disappear from the chart....
Hi: i am looking for help to stop a trade from reopening after a take profit. Normally I use a shift in the buy/sell open to prevent reopening a trade after a TP but this is not possible with the strategy I am using. What options would I have to prevent this? (Obviously the buy/sell open...
Hello everybody, In my previous questionplaced about the MarketInfo command, I wasn't clear enough what I want toachieve. I'd like to explain this better here: I'm currently writing aRisk management application and as part of it, I calculate the Pip value in myaccounting currency. As an example:...
Is there any way to have a variable thats defined within the EA stepped between optimization runs? For example if I were to create a variable 'n' and simply n++; for each successive optimization run. Id like to get data on a few things given some input (average open price for buys/sells over the...
Im trying to find a way to get the actual realtime computer time while testing. TimeLocal() does this when the EA is attached to a chart but as it says in the manual, during testing computer time is modeled and equal the the server time. The reason I want this is to measure realtime backtesting rate...
How can I change my settings so that the daily bars are closing on NYC time? I cannot for the life of me figure this one out. Thanks!
Guys, I'm trying to create a fib with 16 levels on a chart. The default 10 levels works fine but using the code below it doesn't draw all 16 levels. i can set the level descriptions no problem but the fact is it doesn'y draw the lines in the first place. can anybody see what i'm doing wrong? thanks...
Ok, before start posting chunks of code maybe someone already experiencied this issue: When I have 1 lot LONG position opened, I selected the position via a ticketnumber, then pass it on to : OrderClose(ticketBuy,1,Bid,2,Red); Now, if it is one lot, and I tell OrderClose() to close 1 lot...
i got an indicator called Daily FiboPivots.mq4. but it is only draw lines in certain number of days only. i need to customize it as i can put the number of days in extern parameters. but i cannot figure out where i need to change in the code to draw levels on given number of days. hope coders will...
Hello, I installed MT4 completely new, and I just wanted to start the demo EA "Moving Average". Here is a screenshot of the outcome: As you can see, the MT4 tester buys and sells completly wrong! Ask and Bid prices are in nomans land, hanging in the chart. This problem is with all other EAs too! As...