MQL4 and MetaTrader 4 - page 1010

To post a new topic, please log in or register
I could figure this out on my own but it would take weeks or months of forward testing, so I'd just like to hear what your experience is with this. Some indicator driven EAs can work quite well, but its well known that these need frequent optimizing to work. So lets say I optimize on last 2-4 weeks...
I have a delicate situation. This is what I am doing. I need to place an object (let's say a SQUARE) at a certain location like x, y coordinate and NOT price, time location. It has to be at x, y location because the SQUARE's location is OUTSIDE of the time but can be within a price. This means I...
I use this indicator at parameter setting 1250 for EURUSD works good. I trade this 2 minutes only at GMT0 follow the color bar at Daily Chart. I would like to know the parameter for other currency pairs, can someone please help me? Can someone help me also to modify this indicator at the color...
  Forex Trading TIP #2 (13   1 2)
When programming your EA, keep in mind that EA is only as good as your trading level. THIS MEANS: 1) If you are new at trading, don't even waste your time with EA programming. 2) Demo trade and then trade live for a few years. 3) Once you are profitable live, then consider building an EA. 4)...
I am looking for the numbers/terms related to programming moving averages in an expert advisor - such as in Methods - what numbers in "MA method" corresponds to Linear Weighted, Simple, Exponential and Smoothed - the same for Apply To - Weighted Close, First Indicators's Data, etc. if in mql I use...
 Can some please help me here, just wanting to know how to use this inidicatorand what the rules are and also whether the stop loss on this indicator is accurate?Thanks
i attach an ea to eurusd chart,the chart shows the price as five digit like 1.488888 but i use Print function to output,i got the price is 1.449. and i got similiar result on gbpusd in the same EA . may someone help me to explain it ? thank you the code as follow: ......... .....................
Hi Currently coding an EA which is taking into account Asian session high/low for buy/sell signal. Can anyone help me on the code below? I don't get the correct session high/low values: datetime dt=CurTime(); datetime Asia=StrToTime("01:00"); datetime AsiaClose=StrToTime("10:00"); if (dt ==...
How to say " if an actual price move up, above the current OrderOpenPrice() B23 in this example, make S22 with the price 40pt below B23". i tried with this : if (B23open(OP_BUY)==1 && change23set()==1){ for (int b23=0;b23<OrdersTotal();b23++){ OrderSelect(b23,SELECT_BY_POS);...
My Expert Advisor is not compatible with this... Is there any special instruction for ModifyOrder(), OrderSend(), OrderClose() functions? I wrote EA for standard values as 1.4555 for EURUSD not 1.45559 for example... then Spread equals 23-25 points The brokers write that spread is smaller but...
Infos zum automatisierten Handel mit CFDs über MetaTrader finden Sie auf folgenden Seiten. http://www.cfds-automatisiert-handeln.com http://www.cfdschulung.com Gerade CFDs mit der Kombination des automatisierten Tradings eignen sich optimal für den Anleger: Infos zu CFDs finden sie unter: http://www...
Hello friends How can i Import information from excel sheet to be ploted on MT4 for example if i have a table Contain expected Hi and Low ,pivot points and ,Resistanceand support and i want these levels to be plotted on the charts How can i do that Thanx in advance regards
I am trying to connect my EA to mySql using DLL explained on https://forum.mql4.com/16915 But I encounter error 193. Anybody pls help?
because i has a kickass idea, Whatoyu need to code ~ roughly 50-60 lines of code, and i provide what i allready have. If you work with me, this idea will bring in thousands in days. Only serious applicants pls. contact me at phxskuff@gmail.com. ty. looking forward to colaborate with a good guy,
hi looking for ttm,s scalper buy and sells in mt4 this paints a bar, 3 bars back if there is 3 lower closes i know luis gomes has one but not in mt4 language does anyone know thw code.
What is the command which will return 1 : if trade_X has reached its TP value and closed and 0 otherwise. PLEASE HELP !!!
I am trying to convert an indicator to an EA...all works well with one frustrating exception. One section of the routine sets an array element equal to a variable...eg: "myArray[myElement] = myVariable". myArray and myVariable are both defined as "double". This works perfectly fine in the...
Hi, I am not the best at mql4 programming but I have a question. I am using an indicator called N_StepMA_1 - attached Now i have an EA that opens trades when the yellow line crosses the teal line of the indicator. I have that all working fine. The problem is, afterthis happens and the next bar...
Hello, i have no credit card and want to transfer some money on my paypal account but can not do it without credit card so i have think about to code somethink in mql4 for somebody if he can donate me for it somethink to my paypalaccount, so if you need somethink i can code it for you email:...
Hi, I used to open 4 different charts of EUR/USD in another platform. I can't find the function to synchonize the drawings on one chart over the others. Is it possible to syn drawings on all charts of the same counter?
Hi all, I have just graduated from Tulane and am unfortunate enough to not have a full-time, career building job. I am looking at Forex trading as a means of acquiring income and developing a skill set that I might be able to use to begin building a career. I have some knowledge of finances and...
Hi folks I am using an indicator with an audio alarm on 10 different charts, when I start mt4 the alerts go off continiously for about 300 cycles picking all my old alerts which is quite a serious intolerable racket. Is there a some code that I can add to the indy to tell it to sound the alert for...
I know I can determine the number of days between two dates by simply subtracting the dates...but how do I determine the date that is n-days from another date? TIA...Chuck
Has anyone had the situation where a trade is placed with a TP and later a second trade is placed, of the same type, also with a TP. Because of FIFO both trades have the same TP. The problem is that the TP of the second trade pulls back the TP of the first trade causing it to become at a loss or...
#property copyright "Copyright ?2009, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" #property indicator_separate_window #property indicator_minimum 0 #property indicator_maximum 6 #property indicator_buffers 1 #property indicator_color1 Blue int Week[];...
Hi all I have a very simple problem with my EA. Could you help me solve it ? Here is my problem. int TakeProfit = 30; double myprofit = Ask + TakeProfit * Point; double ticket = OrderSend(Symbol(), OP_BUY, Lots, Ask, 3, 0, myprofit, "Magic = " + Magic, Magic, 0, 0); My EA works well with some...
Hi I want to try EA based on 2 moving avaerege, it will reverse, when cross is changed. But how to set up there a time frame I want to trade? Many thanks.
hi  this result for my stratgy !! I care about your opinion http://efxexp.mt4live.com/ expert.fx@hotmail.com
Hey guys, so I'm trying to make a code that adjusts the lot based on the acceptable risk, amount of money in the account, and the stop loss. double Lots; //---- select lot size Lots=NormalizeDouble((AccountFreeMargin()*riskPerc)/(Stop*10),1); if(Lots<minLots) Lots=minLots; if(Lots>maxLots)...