MQL4 and MetaTrader 4 - page 863

To post a new topic, please log in or register
  Who can help? (1)
Searching for how to automate the MAMA indicator. A EA with MAMA. Thanks
hi all ; how can i write the following idea :- 1 - i have 100 double variable with names x1 -x2 - x3 ........... x100 2 - i want to subtract x1 -x2 then x1 - x3 then x1 - x4 ........ till x1-x100 3- second loop x2-x3,x2-x4,x2-x5....... x2-x100 4- x3-x4,x3-x5,x3-x6............x3-x100 98 - x95-x96...
This drives me crazy: //---- input parameters extern datetime theDate=0; int init() { //---- indicators theDate = TimeCurrent(); When I drag and drop indicator it shows 1970.01.01 00:00 mql4 is illogical :(
How do I make it such that only one order can be made in one particular time frame? This rule should be enforced even when an order made in the same time frame is closed.
Hi for all, would you check the attach file( to get the open position price) and make to me what i mentioned in below red line . That is not a real indicator. it's just a script that prints a price. You cannot call scripts as custom indicators. I understand what you try to do but is more complex...
I don't want to waste too much time on sorting the tickets by their entry dates, so, can anyone provide a quick fix? p.s. some have suggested that the latest position == OrdersTotal() -1, is it true?
hi........ any one can help me in this........ i need an indicator that show each candlestick bar as rectangle..from high to low just want the name of that indicator and i will google for it hope for some help
Traders & developers -- We have developed a successful trading EA which is running live on a large account with success. Our plan is to NOT release this EA, but we are looking at providing managed accounts on our own network facilities and possibly also an automated signaling service along the lines...
I've just written an EA based on OPEN, HIGH, LOW. I've uploaded it to the code base kindly check it, recommend if any thing can be added(There are lot of things). And modifications to the code... Thank you Regards, Rohit
Please can someone help me on how to make the password typed by a user hidden (or substituted with asterisk characters). The code fragment is shown below: extern string Username; extern string Password; I have attached a capture of possible output I require. Thanks.
Hi Pros, Is there any way to run several EAs on one chart? I have no idea on it. Thanks and Happy new year!
Why do: int bars = iBarShift(Symbol(),0,iTime(Symbol(),PERIOD_MN1,24));ANDint bars = iBarShift(Symbol(),0,iTime(Symbol(),PERIOD_MN1,3)); BOTH return bars = 1000??? (On Daily chart in tester) If i change period to PERIOD_W1 the return is still 1000. I have tried to execute it on different dates and...
here is the problem, I wanted my positions to stack as they get profits and as well do a "martingale" I know this is not martingale because this is not doubling the lots on wrong trades but here is what it is supposed to do. - Open an order in both sides buy/sell for the currency with a take profit...
Follow up on previous post Pls read the previous post “Risk Reward 1:5″ first before reading this. In this post i would like to touch on a very important topic. As seen in the chart above. Forex trading pair: Gbp Jpy went down even further from our target profit area. Does it matter to us to see it...
Software products from Piligrimm – DAO _______________________________________ In this theme I wish to begin presentation of programs developed by me for trading. Unfortunately, I do not know English language, therefore is compelled to use the electronic translator, and its translation is not always...
Hi, This function is sporadicaly returning OrderModify Error 1. Any ideas? I'd be most thankful! void ManageOrders(){   double open, stop;      if (OrdersTotal() != 0)   {      for (int x=OrdersTotal()-1; x>=0; x--)      {         OrderSelect(x,SELECT_BY_POS,MODE_TRADES);                  if...
Is free forex trading education is available on internet.Does forextradingevo.com is best forex education website? Is there any other website who is given free forex education? forextradingevo.com is providing free online forex certification.If forex trading education is free why you go...
Hi Everybody, Wishing you a Happy New Year. Actually I am New to MetaTrader 4 Programing. And also I don't have anyexperience in Programing. I just trying to learn from the basics. WhenI tried to make a EA, I failed to calculate the "Average". This isbecause of, as i told you before, I am new to...
I working a stochastic divergence with automatic divergence line, and i did it ....when i start open in 1 hour the line is perfect but if i change to another period the line from 1 hour is still exist and mix with 4 hour line . did someone can help me for solf this problem ? Thankyou .
please i need help here. I am a new MQ4 student. i made this EA SAMPLE, Here I use 2 indicator : PARABOLIC SARS (0.01, 0.1) and HISTOGRAM (period 10) please check and correct it for me...
The EAs on a real account of a broker behave differently from demo accounts of the other brokers making losses at the same time EA on the demo accounts making money. So, I want to make an EA on a real account to trade according to the trades made by the same EA on the other broker. Is it...
How do I write an EA with simple pending order and take profit? Example: Euro/Dollar Buy Limit Order Price: $1.34 Take Profit: 1.35 Thank you very much.
For all Freinds and Collegues here in the forum the best for the new year, lot of profitable trades, healt and lauck for the new year! Best regards from austria EAD
I realized that the value of the OverLay Chart vary as I zoom in and out on the chart. So it can be above or below the overlay pair depending on where the chart begins (i believe) or how much I zoom in and out. Is there anyway to overcome this tiny flaw??? How to make the value fixed like any...
I want to optimize the indicator for better signals. Need help please.
Hi all, i want my expert to close sell order for a pair when it opens buy order for that pair and vice versa. I wrote the following code: if (B1>10000&&Time0!=Time[0]){            OrderSend(Symbol(),OP_SELL,Lots,Bid,SlipPage,StopLoss,TakeProfit,"Abdu EA",MagicNumberSell,0...
I would like to build website, that the QUOTE running on the screen like this: http://www.interpanpasifikfutures.com/test01.php I'm trying download MT4 to see what happen. The Question are: Where is URL/server address for that QUOTE in order I can take/upload the QUOTE data to my own MySQL Database?...
Dears, Please i need help to know why my EA not work however its work in Strarty tester and gain a points, and im sure Metatrade optiion as the smil face its apper to me Pleae I need your Advice And the below my test EA : #property copyright "Copyright © 2010, MetaQuotes Software Corp." #property...
How can I open an automatic order - with stop loss and take profit - when EMA200 is the same of EMA 20?
I'm using MT4. I would like to display trading currency pair on the top right corner in chart as follows Is this kind of mq4 indicator available? Or would you please tell me the script for this? I found Currency.mq4. http://www.forex-ex.com/indicators/indicators/Currency.mq4 However, this displays...