Download MetaTrader 5

General - page 1021

To post a new topic, please log in or register
Hello.... can anyone tell me what the MT4 equivalent of LastTradeTime is? I'm trying to convert the following line to MT4: mql line: If((CurTime-LastTradeTime)<300) then Exit; Any suggestions would be appreciated! Tim
I want to analysis to stock market with mt4. Is this possible. I just got some servers with stock information. But there are only limited numbers of the company. Does anyone happen to know any server I can search any stock with MT4? (American stock market) Thanks so much in advance! Shiningstar
Hi, is it possible to create a chart with a custom instrument? Eg, I would like to be able to make a chart with a weighted basket of currencies. Regards, Michal
I am considering purchasing an i-mate SP5 smartphone (produced by HTC and functionally identical to Qtek 8310 and O2 XDA Orion) so as not to remain deskbound during trading and I wonder if anyone can tell me if they have any experience of this phone with MT4 Mobile - ie. Does MT4 Mobile work...
Hi, I tried to add some indicators to my Mt4 but it seems that they does not work at all. Any one can tell me what should I do? I have added many indicators before and they all works good. But this time.... I have attached the indicator files that do not work on my mt4. HOpe any one can help me...
HI everyone I am very new to MQ4 coding, so I would like to ask help with some array stuff. I would like to calculate the average value of OrderProfit() for the last 5 tics, and think it can be done using arrays, but I don't know how. Anyone able to help?
Hi Guys, How can I make an Ea which lok for the previous BAR open, close, high and low price and then depending on the conditions take long position or short... Thanks Babar
Hi all, what is the best preffered method to check if market is closed or not. I was trying to use IsTradeAllowed() but it returns true during the weekend. Is there another method to do it? Regards, Michal
I saw this chart this morning and was wondering if this is a Metatrader 4 indicator, or a personal incidicator. The user post it as : "Thats my proprientary PDI (Price Distribution) indicator."( The red and whitle lines on the chart)Thanks
This advisor puts in the pending trades above and below the hi and low. How do I set it to go off of the current price NOT the hi and low? I am new to MT3. Below is the code: /*[[ Name := breakout_advisor Author := none Link := none Lots := 1.00 Stop Loss := 15 Take Profit := 30 Trailing Stop :=...
Hey guys, Can anyone help me to add the code to this EA to stop trade and wait until the next bar after closing the previous position. I've tried to disable EachTickMode but it doesn't just like i want. #property copyright "Expert Advisor Builder" #property link "http://sufx.core.t3-ism...
This advisor puts in the pending trades above and below the hi and low. How do I set it to go off of the current price NOT the hi and low? I am new to MT3. Attached is the EA
  Camarilladt 1 (1)
Can somebody please tell me how to use this indicator and what timefrime is the best for it. Thanks
I am getting the "Invalid Parameters" error message like the one shown below: 2006.05.15 23:25:12 '188208': order sell stop 1.00 EURUSD opening at 1.2819 sl: 1.2862 tp: 1.2719 failed [Invalid parameters] I have checked all the parameters, but all of them appears to be okay. What can I do to check...
I want to follow one of the members idea to determine the time to excit. On the 15 minute chart. When the Ema5 and EMA8 corss. There will be a virtical line (As the picture I have attached) If there is also a alert sound, that would be much better. I hope I can also see the red line and hear the...
hi, The meaning MTC ?
I'm confused with how Trailing Stops work can someone help explain? I noticed I have to input a Stop Loss first before I could set a Trailing Stop Sorry noob question Lets say the situation is as follow Did a BUY for USD/JPY @ 110.00 Stop Loss @ -40 pips Trailing Stop @ 20 pips Help?
  Loss lock EA (4)
There are EA based on profit lock code. This EA is based on stop loss lock. When EA opens an order and rich profit level - it's ok. But to lock the stop loss there is stop order (instead of normal stop loss). So if EA opens buy and price was reversed we will have sell stop order instead of simple...
I have created a text object and I want to position it in the upper right hand corner of the MT4 window. The text object appears OK but I have no idea how to get it to show in the top right corner. I cannot find the syntax to do that. Can anyone give me a hand either on where to find the info or...
this is my ea base on smma16 and an envelope (smma16,div 0.08) work best on H1 scale but if you need it to work on other scale you need to adjust the smma period and the envelope on my back test it worked best with gbp/usd and came out with 64% quality on the forward test still working well but i...
Hi, How do I change the Broker to log in, e.g. how can I connect to Windsor Brokers using the plain MetaQuotes Software? (Background: I want to connect to 3 different brokers using the *same* MetaQuotes Client) in order to fast switch between them. Thank you and best regards, Silke
The advisor does not put the Straddle (buy and sell) in at the proper time on InterbankFX charts. It was programmed it to put in a Buy Stop and Sell Stop simotaniously at the TimeAHour, TimeAMin. Can someone help with the problem?? I am willing to give the strategy once fixed I use to one who...
I'm getting an error when I try to use DoubleCCIWoodies.mq4 if anyone is familiar with that. I also get the same thing when I try to run XO Alert.mq4 It says, " 2006.05.16 21:35:07 DoubleCCI_Woodies EURUSD,M1: SetIndexBuffer function must be called from custom indicator only" Thanks.
MQL3 had a library that showed a statement and gave examples on how to use the statement in the program - Proper usage. Where the heck is this in MQL4??? I really need to find out? When I retype a statement name in the editor, a box opens up showing different other statements, but where the heck...
Hi, I downloaded Windsor Brokers platform and am plaing with send_pending script with CFD. However when I execute it then I receive an error 'unknown error' and no order is placed. What does it mean? I can put a pending order by hand thou! Another question, is it a way to discover CFD market from...
Hi Guys, How can I make an EA to excute the script file in the script folder... Thanks Babar
Hi. I'm new to the forum. Love it, by the way. I want to thank many of you for your contributions as they have helped me by leaps and bounds. I used to program C++ and so am familiar with many of programming syntax. What I am having trouble with is the PRICE_OPEN and PRICE_CLOSE . What...
I was wondering how we can draw histogram on the chart or rather cover the candles with a specific colour. For example I'm trying to cover white candles with the green colour when the white candle is longer than 15 pips. Here is the code I've written and I don't know what's wrong with it. Any ideas?...
By the multiple requests of traders we started development of strategy optimizator, based on "genetic" algorithms. Release date - first of July, 2006. Best Regards Lenar