Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1099

To post a new topic, please log in or register
I am using forex autopilot as an indicator as to when to trade manually, if you have used this EA you will know that as soon as it puts an order in, the market generally goes in the opposite direction. so a great indicator when used with minimal lot size the autopilot order can be cancelled straight...
  invalid stops (3)
Please confirm if correct: Sell order - stop = NormalizeDouble(Ask+Point*TrailingStop,Digits) Buy order - stop = NormalizeDouble(Bid-Point*TrailingStop,Digits) I am not sure why I'm getting error 130. Stops are in the ordermodify function. Rudy
  zero divide (2)
i have this message in journal tab,and i don't know the meaning, zero divide, can anybody help me
i need help converting my stochasting crossing custom indicator into an EA. it points direction on the main chart so i want to model that into an EA, but i have no programming experience. please help Thanks
Hello, Hello i would like have some question regarding proper backtesting using strategy tester.. correct me if i'm wrong regaring my perspective/procedure of doing backtesting: 1. I should use offline/different mt4 to do backtesting 2. I should acquire at least 90% of modeling data using old...
I was changing a colour of my trend line, and I have no idea what I did wrong, but the icon disappeared from my toolbar. I re-installed my charts, but it did not help. Can somebody have any idea what to do? thanks, Bozena Radvenis@gmail.com
I've sent several requests to my forex-support with absolutely no reply--and the requests involve serious issues (1)I want specific information on how to add to my account using a credit card; and (2)I want to get increase the "build" to 220 or higher. I'm frankly mystified about what to do. Any...
How does one place an order between the spreads? If I have this code how can it be changed to do such a thing. Ex if the spreads is 18 how do we place the trade in the midlle of that like 9 or at the actual trade price. So, if the price is 90.18 and the spreads is 18. the robot should send a order...
I am testing various aspects of my EA. What I would like to achieve is: 1. Set a fixed Stop Loss without setting a Take Profit level when I open a trade position, i.e: Result=OrderSend(Symbol(),OP_BUY,Lots,Ask,slippage,stoploss,0,"",MAGICNUMBER,0,Red); This part works well in my code. 2. For the...
Hello, i got pivot indicator, there's no error in visual, but unfortunately it logs for error in Expert Tabs. i looked at the source code.. the error located in here: ArrayInitialize(Weekly_Price, 0); ArrayCopyRates(Weekly_Price, Symbol(), 10080); anybody coud help me trace what's wrong and how it...
Good Day I am trading multiple pairs with many entry points. Sorting them can be difficult since there are sometimes 50 open trades at a time. I know there are some custom indicator writers out there. I have been looking for something that does the following. 1. It should be place in the TOP...
if there any function to check when a MA or indicator is turning down or up ? my rule is very simple buy when 50 MA is turn up sell when 50 MA is turn down
Pls if you can design and develop a custom trading platform. Kindly send e-mail to mofaloks@yahoo.com. Send in your company profile and proposal. or Call +2348064512547. Thanks.
anbei ein Link zu einem Forex Handelssystem, welches immer mit dem Aktuellen Trend geht. Das System habe ich bereits in der Demo getestet und es lief sehr gut. Man kann alle Parameter einstellen und muss jedoch einen weiten Stop setzen. Sobald der aktuelle Trade einmal im Gewinn ist,,, wird die...
Hi, I have an EA designed for daily charts. I have downloaded all history of the EUR/USD. I have also set the number of bars to 9999999999999999. I close MT4 and open it again after downloading all history of EUR/USD. When I run my strategy tester, it does not run even 1 bar in the visual mode. I...
Hello all, I just got the autopilot up and running this morning on a demo account of 5k. I was wondering, if i have 4 charts open with auto pilot running on each one, why am i only getting 1 order. I've adjusted my units to half so i don't think its an margin issue. I s there something i need to...
Hello, Is it possible to use my own indicator in my strategy and how I must to do? chris
  Baffled (5)
Hi all This snippet of code is supposed to prevent opening a second order on this EA. When I test it on a single EA it works fine. When I use it on a live demo with several other EA's on the same account it works for awhile and then fails. if(NewBar()!= true){return(0);}...
Hi. I'm having a problem coding an EA that when is earning my "TrailingStopValue", the EA modify the stoploss to breakeven+maximalcurrencyspread. In my attempts, after backtesting is logging an error modify 1. This is my source code without changes... //Trailing stop to CLOSEBUY if(UseTrailingStop...
Why does GetActiveWindow (user32) return 0? Even after SetActiveWindow.
#property indicator_separate_window#property indicator_minimum -10#property indicator_maximum 10#property indicator_buffers 3#property indicator_color1 Red#property indicator_color2 LimeGreen#property indicator_color3 DodgerBlue//---- input parametersextern int       BB_Period=20;extern...
Hi, I'm learning mql4, and doing some eas to practice. For my fifth ea, I got a problem that I don't undertand. I want the ea send orders only 1 time hour (Minute()==0). It works, but when any order is closed, automatically the ea send an order. Also, if you see some big errors (i'm a newbie),...
Hi guys. Would anyone out here help? Whenever I set the volume at a number lower than one (ex: 0.1) from my EA, I get an Error saying: INVALID LOT SIZE. I need help from anyone please. Thank you. Zepe
Hello, just exploring the MT4 platform and I've got a very long spike on GBP (day) see attach. Tried refreshing the chart, with no result - any ideas?
This EA will be based off of the TSR Slope by Igor. I will share my tweaks withwho builds it, since the S/L and T/P make all the difference. I have traded andtested this strategy for awhile and know there is alot more profit with an EA to trade overnight. Beloware the perameters: Buy Bar Trend...
i tried to write a indicator. this indicator should looks like zigzag. the from the left first bar use the first bar's openprice as the first zag point. then from left to right, if some the price is max or min than the first point over 20points draw section, and then the next point is max or min...
Hi How can I move my code to the next line . My line of code is too long and i dont know how to move it to the next line, in VB I use " _" what kind of combination mql uses?
I have an EA I am trying to load to the terminal but it does not show in the Navigator window under EAs even though it is listed in MetaEditor. I suspect I have the terminal software looking at the wrong file. Can anybody tell me how to check this out? For example, if you were running more than...
Hello, My 220 build MT stop working after usued  'TUP' EA. Pre-installation at once doesn’t work – I have to do it over and over before start MT. What’s interesting file ‘terminal.exe’ after run useing more and more RAM. Fatal EA was deleted, but MT still doesn't work well... Thanks... Best regards.
Hi! Where can I get the link to the live feed of market chart web service for Meta Quote? I have a client that needs this chart embedded on there website. Any help would be appreciated. Thanks, BrianVM