MQL4 and MetaTrader 4 - page 1233

To post a new topic, please log in or register
Is it possible to set a value to an extern variable after the properties panel has been processed so that the next instance of the properties panel would retain the values input the time before. If that is possible how is it done? Thank You, Deane
hi if i wont check if my order is running OR pending ex : ticket=OrderSend(Symbol(),OP_BUYLIMIT,Lots,moyenne_basse,20,(moyenne_basse-stop),moyenne_haute,"Mon achat",16384,0,Green); cann you help me ? en francais : comment savoir si un ordre est passé ou s'il est en cours, s'il est passé par...
I can provide code of a great purchased EA in change!
Robotic forex trading software. Automated forex can be defined as the ability to trade forex with the use of a forex trading robot, without needing a human to physically trade a forex system. With forex, automated trading is an emerging field that began not that long ago. The trading robot here not...
example. in expert 's init () function i use an array to store some bar's shift number and the value of ma 7. int ma7shift[1000]; double ma7price [1000]; init() { int j;for(int i=0;i<bars;i++) { if(askma(i)> x){ma7shift[j]=i;ma7price[j]=askma(i);j++;} if(j>1000) break; }...
calculating 60 min from last order open: OrderSelect(0, SELECT_BY_POS); if(TimeCurrent() < OrderOpenTime()+3600)return(0); doesnt work. any body know an alternative?
Is there anybody who can write the latest Ehlers indicator from Tradestation to MQL4? Thanks! http://www.traders.com/Documentation/FEEDbk_docs/TradersTips/TradersTips.html Strategy: EhlerBandPassStrat inputs: Price( MedianPrice ) ; variables: alpha1( 0 ), alpha1Plus1( 0 ), Log10( 0...
So i coded my first EA, backtested it, works fine, compled it, etc. Then i loded it onto a chart in my demo account, it just sits there and does nothing. The code just opens up market orders one at a time with stop-loss and t/p values. Why would it not open any positions? Thanks!
an EA that i have personally written from scratch (and its dynamics i understand very well) behaves unexpectedly since downloading the new build (211). For instance, during a backktest it opens and closes 1 trade but then wont send any more orders ever again for no apparent reason. This never...
Hi, I'm having trouble downloading Sample_1.mq4 - Sample_4.mq4 from https://www.mql5.com/en/articles/1460 If you read the comments, apparently I'm not the only one who has this problem..  Could someone try to download these and cut and paste the code in a reply here at the forum? Thanks..
Well, my simple question is the next: My EA use only open and close price, so is goog use the strategy tester in Open price only? Use this mode of Strategy Tester is pretty faster.
I have been playing with ODL MetaTrader (demo) for about a week now and it has been running like a trooper. But about 2 hrs ago the platform "froze" - no activity registered since about 21:55 GMT (now about 00:21). I added two programs to my computer at about the time I lost the live feed... Any...
i have a smartphone that runs Ms Mobile 6.0 standar can i use mobile version in any broker?
I have a PROFILE with many pairs. Why can't I copy a profile from one plataform to other? The MT4 doesn't load the charts. Do I have to built a new profile on every MT4 that I install? Thanks.
Hi seniors, In the MetaTrader Trade Terminal, I see the following figures (and my understanding of their meaning -:)) - Balance: the amount before orders are placed - Equity: balance + gain/loss not yet realized of open orders - Margin: this figure is set to be different from dealers to dealers. For...
Hi all i'm trying to write my first EA and experiencing some problems, would appreciate some help i'v created and indicator which show moving high and low for last X days (not average, but actual high\low). i want to be able to see the same values on smaller time frames, meaning the value for all 24...
I have recently written some fairly complex EA's and when I attempt to use the optimizer I all too often get the Error message in my journal: "Too many passes for optimization, please try to decrease optimized parameters or to increase parameters' values step." I was just curious is there is a way...
hi all i want to know how can i code the moving levels?
Is it possible to make an EA that will not make a trade despite all the requirements being fulfilled because the spread widens? This would prevent being stopped out for some reason like news or stop hunting.
I faced an issue after downloading charts off the metaquotes history center under < TOOLS > option menu, but couldnt import them to do my work due to its incompatible format, hope I can get some help here....
Hello, I was hoping for some guidance on coding that I can't seem to figure out. Simply put, I see the problem of being able to do addition but not being able translate that into multiplication. Here's the problem: I need to look for a specific pattern on the Force indicator over 3 different periods...
i've created those two text objects attached to the MAs, sometimes an overlapping happens between them, anybody got an idea how to prevent that from happening. ? Thanks in advance.
I am interested in appling the TRADE DAY OF THE WEEK to forex pairs. Can anyone help me the create a back test program to do this? Basiclly, it is using historical data and determining over a period of time the tendency of a pair to close up from open or down from open on a dailly basis. Then,...
If you trade just two pairs and you set up charts for all timeframes for each pair, then you have a full row of chart tabs below the chart. If you add any more charts, then it becomes necessary to scroll the chart tab line for back and forth viewing of the different charts. And there are times...
  Need help! (1)
Hello guys, I'm trying to get the high/low value of the bar BEFORE the entry bar. How do I do it? I think this is the entry bar's low/high (?): HighestValueOfTheBarBeforeEntryBar = High[iBarShift(NULL, 0, OrderOpenTime(), false) What does the last variable (true/false) stands for anyway? Thanks a...
  I got stuck (1)
Hello, as i figured out all my problems in the beginning i got stuck with that here. This ea should enter on the break of an inner bar (doesn't matter if long or short)with exiting on the open of the nex bar. Sl is 25% of the range of the ib. If i cut the last part of the code (Close condition 2...
Hi everyone, I am new to MQL4. I have been reading up on MQL4 for a while now and finally its coming, slowly. Anyway, before I start a wild goose chase, I will use this tread as a mentor- if that's cool with everyone. So I'm not asking anyone to make the indicator for me, just to guide me along...
am really interested to attach your Expert Advisor to my Forex Broker platform order so it just do the perfect trading for me.
I'm a newbie in mt4 and need to know how to apply(sychronise)or setupdownloaded files into my platform(i use north finance).Please i knowthese question has been posted million times, but i've been on thesefor the past 5 days but still can load my downloaded scripts.
 hello every one,          i m new to forex market i find a top 10 indicator.  pleace tell me who is top 10 indicator.  best regard