Hi Everyone, I want to read .csv file with precalculated data and load this data to indicator. File data has such stucture: Date time, data1, data2, data3, data4 2011.10.20 00:22,-0.04558,-0.76599,1.65205,2.83105 2011.10.20 00:26,-0.04582,-0.76509,1.65226,2.83158 For indicator...
I have win 7 x64 and LiveUpdate do not work. Do you know any work arround for this problem ? Thanks
Hello, I have a question about take profit and stop loss. than, y0
[Deleted]
// parameters extern int MagicNumber = 19102011; extern int TP = 150; extern int SL = 100; extern double Lot = 0.01; extern int Slip = 10; // do truot cho giá extern double B = 0.00020; // Breakout points //+------------------------------------------------------------------+ //| expert start...
[Deleted]
Hi, Using an EA, How does can one close only a selection of orders or trades from a number of orders on one currency within the same EA? Should one differentiate them by Magic number upfront (when placing orders) and then close them according to Magic number, or is there another way? Many thanks
Hi, there!I am using offline chart updated every tick with indicator. My question is is it possible to attach script to that chart and automatically trade, since EA can not be used with offline generated chart even updated every tick.FX
Dear All, It's my first post here, however, I have been using MT4 and MQL for two years now. I have come across something that I don't understand regarding iMAOnArray. In particular following is the indicator. It is Elder's Market Thermometer. T[] holds the greater of the high or low daily...
hi, i have a csv-file whcih has a lot of rows like this: EURUSD ,H1,00068, 1.37360, 0, -1 EURUSD,H1,00069, 1.37370, 1, 19 EURUSD,H1,00070, 1.37380, 0, -1 EURUSD,H1,00071, 1.37390, 0, -1 EURUSD,H1,00072, 1.37400, 0, -1 EURUSD,H1,00073, 1.37410, 0, -1 EURUSD,H1,00074, 1.37420, 0, -1 EURUSD,H1,00075
//+------------------------------------------------------------------+//| Parabolic.mq4 |//| Copyright © 2004, MetaQuotes Software Corp. |//| http://www.metaquotes.net/...
[Deleted]
I'mlooking for advice from people with programming experience. Ihave created my own currency strength indicator which I have added to my ownea. However, the indicator is resource intensive and I can't run the eaon more than a couple of charts. I need it on at least 10 charts. So my question is...
Hi For any MACD crosses, or EMA crosses or candle patterns is seems that my print statements print continuously. I understand that the condition is true and continues to be true for each tick, and many of my strategies are position trades and thus I don't need ticks but more of closed bars etc. How...
[Deleted]
Hi everybody, I'm trying to code a dll template with Microsoft Visual C++ 2010 Express to protect my EAs from unauthorized access. Of course I need ArrayCopyRates() to get access to the rates ... but unfortunately it doesn't function. I studied the samples and cannot find the mistake. The error...
[Deleted]
Good afternoon, colleagues! While testing my strategy, I found 20 brokerage companies (some of them are European), downloaded a client from each one and registered a demo account in all of them. Then I opened all the charts and... they are different! All charts are different! All the charts are
[Deleted]
I have been struggling and Loosing money on Forex for a Year Plus, But yet I dont know when to Sell / Buy I try to Study e-books but am not familiar with some indicators terms and there is no one to put me thru, Please can anyone help me out here! am really very interested to learn this forex from...
int i; for (i = 5; i >= 0 ; i--) {OrderSelect(i,SELECT_BY_POS,MODE_HISTORY); My problem here is; I have for example 12 tickets in my history, i want to select the most recently closed 5 tickects and read there tickect numbers. But my code here is...
[Deleted]
Can this set up be done on Sierra Charts or do I have to have your charts? T. Ellerbee
How can I change plattform/broker-time in MT4 so it will be syncronised to "system time"? I know how to change time to local time (I add -2h), so that I get my local time in my scripts. And I could change all to MT4-time, it would work perfekt, but my external algo runs on system time... Background
just look at the pictures what the tickdata do in backtest on visualmode. after the candels are close you can never see that the price where there but on my picture you have see the error, how have you slove that and how is that possible? i know it is a tickdata error, but how does that wrong...
please advise whether MT4 allows also trading ETFs/stock
[Deleted]
HI GUYS!! I GOT THIS EA FROM HERE: //+------------------------------------------------------------------+ //| mo_bidir_v0_1.mq4 | //| | //| - Works best in 5M timeframe...
[Deleted]
I'd like to know how to make Mt4 make an alert sound when one of my indicators performs a certain event. Say when %K and %D equal one another in a Stochastic (Crossing over in this case). Is there a simple way to make the MetaEditor do this? I'm not good with C language and I'm bit confused as to
Hello, i need help with my EA. i need a simple trailing stop and a simple break even but i dont know how to do this. Thats my EA Code dont laugh its my first EA ;-) please do not change so much. if possible just only insert the trailing stop, that i can still simply put there my strategies. ive made...
[Deleted]
Hi, I have EA like this: intinit() { long_running_function_that_access_timeseries_array();}intstart() { while(!IsStopped()) { RefreshRates(); another_function_that_access_timeseries_array(); Sleep(50); }} Suppose that init() takes 30 minutes to complete. After that MT4 will call my...
[Deleted]
Hello ; I would like the distance between 2 trend lines (the height) so i begin to create a program which can get the object property like (price and time) . My problem is I can take those information for one trend line but not for the one (there is to) as you can see in the pictures, I draw 2...
Hi, I have an indicator calling iMA() to return a moving average. If I use MODE_CLOSE in the code, it uses the LOW prices. If I use MODE_OPEN in the code, it uses the CLOSE prices. I can tell this by setting the period to 1 and seeing what prices the moving average tracks. Here is the line of code I...
I am using ATR TRAILER EA, but there is a problem in ordersend() its not doing trading but when I am testing it using strategy tester its giving me right result. please help me regarding this. I am attaching my code file with this . please find attachment. Thanks in Advance.
//+------------------------------------------------------------------+//| Parabolic.mq4 |//| Copyright © 2004, MetaQuotes Software Corp. |//| http://www.metaquotes.net/...
My MetaTrader 4 was working perfectly when I was testing the megabreaker EA, when all of a sudden the pips stopped moving . All charts seem to be still, permanently. What could the problem be? Red
Hi I am looking for a sample code or how to implement Student-T Test http://en.wikipedia.org/wiki/Student's_t-test or Wicoxon Test http://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test in my EA in order to improve the probability of my expert advisor.There are some great articles about...
-
The i-Regr indicator (as well as numerous others) calculates the linear regression of X bars and displays it on the screen (green line): At each new bar the index buffers are cleared and re-written with new values; the indicator repaints (as it should). When it does this all prior regression values...
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.