Hi With ima crosses, why do they not work ? With one EA, it draws the ima's in the window, but in the other you can see no ima's Why is this ?
[Deleted]
Hello, Does anyone, or has anyone, already written a scrip which calculates the highest and lowest price within a specified time range (for example between 10-11am) and give the values of those highest point?! I am new to coding and have limited coding skills. Just on the of chance.... Thanks
Is there a way we could calculate the percentage of a candle outside a bollinger band? For example, an upper bollinger band is at 1.5000 and a candle moves outside of this value to a high of 1.5020 and the low was 1.4990. Do we just calculate the height of the candle and how much of this is above...
[Deleted]
How to display in a MessageBox the Open Price?? I use this but with no help : MessageBox(MODE_OPEN) I want to view the Price ex: 1.65656 in a message box... in MT4
[Deleted]
As a new EA coding trainee, I use VPS to backtest few ideas I am working on. But I have this problem after testing few options, the computer will show; "YOU HAVE VERY LOW MEMORY IN DISK C". And the VPS has over 2GB memory. I guess the result of previous tests is what is causing this problem, but I...
WHAT PARAMETER CAN BE PASSED INTO FUNCTION Period() e.g is it possible to pass this parameter period(period_H1).or any other way of passing a parameter into it.
Hi, i try this, can any one explain me what is the number 2056 mean ? what is stand for ? double array1[][6]; int copyrate = ArrayCopyRates(array1,"EURUSD", PERIOD_H1); Comment(copyrate); Result: 2056
[Deleted]
hello, i downloaded the free alpari version of MT4 client terminal, however i can only get access to forex charts and data- is tehre a way i can get access to Ags,metals and bonds? thanks
I' developing an indicator and I'm testing it using the tester in visual mode. I'm getting different results if the ..\tester\history files are present. example: the 1st time that I run the tester (no files in the tester\history folder) the results are correct. The second run and all the following
if you can manage someone's account starting with a low capital. let me know. reply to reall80@yahoo.com and the low capital is like a text run. The profit will be well shared
I'm trying to run an optimization to see which is the best currency pair for trading, here is what I have thus far: extern int currency = 1; if(currency ==1) { plugcu = "EURUSD"; } if(currency ==2) { plugcu = "USDJPY"; } if(currency ==3) { plugcu = "USDCHF"; } if(currency ==4) { plugcu...
I am trying to list the value of the tenkan sen but it keeps displaying 0.00000 Any ideas? //---- Tenkan Sen i=Bars-Tenkan; if(counted_bars>Tenkan) i=Bars-counted_bars-1; while(i>=0) { high=High[i]; low=Low[i]; k=i-1+Tenkan; while(k>=i) { price=High[k];...
I have found something that really looks like it works, and would like to buy it from the author. Is there any way to fake forward trades? Thanks!
[Deleted]
I think there is a bug with getting information from multiple timeframes. For example, if I decide to print this out of the init() function of an indicator that is attached to a 1Hour chart: Print( "marketinfo: " + TimeHour(MarketInfo(Symbol(), MODE_TIME ) )); Print( "m1: " + TimeHour(iTime(Symbol()...
[Deleted]
I am having trouble understanding how to read the Account History section of my Gallant FX demo account. I am using FAP Turbo v48. Here are my questions: 1. What does "swap" mean? 2. Though my bottom line is a positive profit I don't see the calculation. The positive and negative amounts under...
I have a code like this: if(pos_dv==true){Sleep(300000);Experts=1;GlobalVariableSet(Quantity1, Experts);} ;my intention with this code is that the expertt should wait for 60minute before assigning 1 to expert and setting globalvariableset(Quantity1,Experts;);, but the next operation is performed...
[Deleted]
Hello, Does anybody have already coded some candlestick pattern recognition function in MT4? Mathieu
I have not completed the full book of mql4, I am learning that language to make my own system. I am new to forex but have 3 years experience in equities. My question to you guys is after reading the book of mql4 language will I be able to develop my own EA, as I am not a software professional also
[Deleted]
Hi dear everbody ! How to coding as bellow requirement ? 1.Everytime when the sigal comes ..... make EA just opening only one order . 2.After open an order,how to open another one when the signal comes again but not to close the first one . any coding model or sample will be highly...
[Deleted]
Hello all, is there a "replay" function in MT4? I mean,I want to test manually a system on EUR/USD pair and I want to be able to "play" the market,on historical data,bar by bar.Is there such a possibility? Thanks a lot
[Deleted]
any one know how to do a true stop an reverse ea? ...I have been trying like below but hasn't worked: void check_entry(){/////////////////////if(ptriggerline>pbaseline)short_allowed=true; // previous(index of 2) trig line is above previous candle...
[Deleted]
I'm looking to use the MACD indicator in my EA but strictly the divergence or railroad tracks as they are called in some areas. I am looking to only enter trades when there is momentum the trend signaled by the bars in MACD. Do these bars represent the difference between the EMA's? If so, how can I
Gud day Sir Safin! You have a excellent indicator AIS1AI to his robot AIS2. That indicator have sorry to mutch text,label,line.. and The are not posibiliti to switch that oll with one switch on/out.I ask Sir safin make that switch! And second that robot ressive excelent and wonderfull signals but...
Suppose that i have an EA that makes incredible profits. Then dealer noticed that and wanna steal this system. Can he do it via metatrader platform?
Anyone coded this type before? Adding position till not exceeding maybe 2% risk of your capital
[Deleted]
Hi! I'm starting with MQL4 programming and I've come across a problem. To reduce the problem, I've made a simple EA, with only 1 lines in the start() function: OrderSend (Symbol(), OP_SELL, 0.1, Bid, 3, Bid+(Point*50), Bid-(Point*50)); It should place a market order every time there is a new tick,...
Is there a way to use something like SetIndexShift() to render an OBJECT ahead of the most current candle? I'd like to draw something like an OBJ_RECTANGLE, and locate it by replacing Time[] as an argument with a X candle index shift forward from the most current candle. I tried to do the...
I have EA in which there is IF statement and based on the IF expression certain bool variabl;es are set. Here is the piece of code: Print("Just before IF ","(",poss_sell_sig," && (",low_4_20_prev,"<=",low_2_15_prev,") && (",low_4_20,">",low_2_15,"))"); if(poss_sell_sig &&
[Deleted]
Does anyone have an example of how to place an order on the next new candle? I'm trying to create a buy/sell line that will place a trade on the next candle as soon as a given function = true. I really appreciate any help!
[Deleted]
I'd like to setup my EA so that it only trades between certain hours of the day. What is the simplest way to do this?
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.