Works fine getting the 4 values. I would also like to know when the bar switches color, How do I determine that?
Hi I coded a function in a script ( with #property strict ) and it compiles and works perfectly! Now I pasted just this function in my EA which compiles with no error before the pasting(!) it is 'strict' as well and there is so far no call of this function in that EA and now I get a lot errors:...
Eine Anleitung zur Handelsplattform MetaTrader auf deutsch finden Sie unter http://www.meta-trader.de/MetaTrader-Benutzerhandbuch.doc.pdf Benutzerhandbuch MetaTrader Auch Hilfe bei der Entwicklung des eigenen Handelssystem findet man über diese Seite.
[Deleted]
Hi everyone, I am looking to have all my indicators in a different window, instead of having them in the same window where my charts are located. How can I do it?
Hello people, I need help with the making of a simple program with MetaEditor. The program is simple: it should make an order (for exaxt time) and also move the stop lose line along with the price of the current product. For example i want to make an order to buy 10000 euroes (EUR/BGN) at 19:00 (now...
can anyone please help me? I want the Tenken Sen value in this function: int signal() { int signal=2; // i need here the codes using iCustom----- Then something like if(Tanken Sen<30) signal=0; if(Tanken Sen>70) signal=1; return(signal); } Thanks
Hi, does anybody know how IsTesting() and IsOptimization() are connected: 1) Not connected: if IsOptimization()==true => IsTesting() == false ? 2) Connected: if IsOptimization()==true => IsTesting() == true (too) ? Which one is correct? Thanks Gooly
Dear, I want to get accurate CCI value on dateandtime. Example what was the CCI value in EURUSD '2014.09.16 23:19:53'. i write the code below: int iBarBegin = iBarShift(NULL, 0, '2014.09.16 23:19:53', true); double data = iCCI(NULL,PERIOD_M15,per2,PRICE_CLOSE,iBarBegin) ; above iBarShift...
[Deleted]
Hi all, This is the simple program i write, but it will give more than one alert in one time. can some one help on that, how to make it give only one alert each time. Thank you datetime TimeCurrent(); datetime b= D'13:59:00'; datetime a= D'13:59:30'; int abc =1; int bcd =2; int...
[Deleted]
trying to figure out how the Heiken Ashi histogram actually works? any help appreciated.
MetaTrader 4 Platform Update Build 670: Virtual Hosting, Web Requests and Working with Signals from MQL Applications
(58 1 2 3 4 5 6)
MetaTrader 4 platform update is to be released on Friday, July 4, 2014. It contains the following changes: Terminal: Preparatory works for Cloud Hosting implementation. Many traders want to arrange a reliable round-the-clock operation of the client terminal containing an active trading robot or...
thanks to Starry,his project https://www.mql5.com/en/code/9991 is great. i wrote a simple python script like this: import zmqimport timecxt = zmq.Context()s = cxt.socket(zmq.PUB)s.bind("tcp://127.0.0.1:1900")while True: s.send("CMD:Once") print "send once" time.sleep(1) it works when...
Hi , can somebody please tell me the expanded version of the function , that is how it is calculated: MarketInfo(Symbol(),MODE_MARGINREQUIRED) So that i can rebuild it myself and check it.
Hi, If I run a backtest and the expert opens a trade I can see it's start arrow on the chart. If the expert closes the trade I can see the start and close arows with a line between them. In case of the live trading I can't see these arrows and I don't know why. Today I saw the screen of my friend...
Whats the simplest way of using an extern string "Yes" or "No" to activate or deactivate a void function?
Now, first off, I regard myself as being marginally higher than a novice in MQL4. So that means my knowledge stretches as far as to say that I appreciate the fact that the speed in which the back-test runs is based upon a few variables. I.e. efficiency in the written code, hardware and data (and in...
i use barycentre, this is indicator's belkhayate but when i try to us it , he dont want to draw but the name of indicator is visible i just change win 7 32 to win 7 64.... and i wonder if the problem is because the program is installed in programme files ??? Mt4 build 670... ok my problem is realy...
[Deleted]
Hi everyone, another question about backtest speed. But maybe slightly different. (I read https://forum.mql4.com/54831 and other posts...) As the CPU is only used for a few percent (I7, lot of RAM and so on) I copied the MT4 instance and let two tests run at the same time. The sum of the estimatet...
//+------------------------------------------------------------------+//| Check History to see if trade hit stop |//+------------------------------------------------------------------+bool CheckHistory(){ for(int b=OrdersHistoryTotal()-1; b>=0; b--) { if(...
//+------------------------------------------------------------------+//| Order Entry function - Buy or Sell (pending orders) |//+------------------------------------------------------------------+void OrderEntry(int direction){ // Padding for Stop & Entry --------- ATR_Pad =...
[Deleted]
Hi I was wondering is it possible to display the rsi of the current candle plus the current spread. So basically I can see what the rsi value would be after the price as moved the value of the spread. Thanks Antony
Hi, I'm using Oanda with MT4 and I noticed there are little to NO bullish / bearish engulfing candles on the charts of any time frame. My engulfing code would not find any so I wanted to know why (well it did find a lone and rare engulfing on daily chart only) I reviewed the charts manually and...
int handlestring testfile = "test.csv";void readfile(){ handle=FileOpen(testfile,FILE_CSV|FILE_READ,","); if(handle<0) { if(GetLastError()==4103) Print("No file named " + testfile); else { Print("Error while opening file" + testfile); return; } }...
[Deleted]
Hi, Can anybody share the common methods to protect the our indi...give some sample MQ4 plz
Please can someone explain why I get the following warning from this code? (I know it's only a warning but why?) int CheckTrades(){ int num_orders; for(int i=0;i<OrdersTotal();i++) { if(OrderSelect(i, SELECT_BY_POS,MODE_TRADES)== True) {...
HI everyone, I'm trying to develop a system on the daily or 4HR timeframe which enters on a reversal of price i.e. basically looking for the start of a new short-term (or long-term :>) trend. I've been testing a combination of RSI, RSI divergence, stochastic and stochastic divergence signals but
How can I stack up multiple comments lines? At the moment they all just overlap when they're updated, but I want 3 separate comment lines in the top left hand corner working simultaneously? if (D1_Bias== "None" ) if (Daily_3<Daily_5) if (Daily_5<Daily_8) if (Daily_8<Daily_10)
[Deleted]
Hello, I am using window 8 64-bit system unfortunately I cannot run metatrader 4 on my system. It keep crushing or hanging even I cannot place an order or resize window size etc. One more thing symbols have very small font size. Resolution does not fit on my system. Please kindly let me know how can...
hi friends how i hide on main window , tail of double value? for example 102.123456789 convert to 102.12 comment2 = StringConcatenate("comment2", CommentIndex); ObjectCreate(comment2, OBJ_LABEL,0, 0, 5 ); ObjectSet(comment2, OBJPROP_CORNER, 0); ObjectSet(comment2, OBJPROP_XDISTANCE,...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.