Hi lovely community :) I'm having some issues with Strategy Tester and really need a hand. I downloaded the chart history of the last 6 months and exported it to my MetaTrader 4 But when I start the strategy tester, the chart starts to move and the Expert Advisor does not open any trades. what
At the outset, I am new to MQL4. I want to create an indicator in MQL4 . What I want is that at each bar close it will calculate the not calculated bar/s and see if the indicator condition is met. If it meets the condition then it will plot an arrow above the candle and send an alert. This should
I am looking to copy trade expert same account with basket profit to close both trades . when the mother expert open sell order - copy trade open buy = close both when make profit . Example : First chart Mother expert Sell GBPUSD Second chart copy Buy EURUSD . target basket profit 0.10 close...
Hello, I'm a bit puzzled by AccountFreeMarginCheck sending an OK (positive value), but then OrderSend not being able to open the order because there's not enough money. Long story short, I'm testing an EA with $1 balance, and before calling OrderSend I'm running some checks on spread, correctness of
[Deleted]
Hi everyone, I'm still a noob so please excuse errors. I'm trying to calculate ATR of 1H based only on certain candles defined by input. For example if input are 8,18 and 10, then the code will calculate the true range of all 1H candles from 08:00 AM to 18:00 AM in the last 10 days and then it will
hi is there any free tool .. script.. to change balance on MT4, which works for IC market
[Deleted]
Hi, I'm learning mql4 and I coded an indicator that plots a line equal to the current open price of any higher timeframe. This is the code: // Setup #property copyright "Ironhak" #property description "Indicate current candle open" #property strict #property show_inputs #property
Hi everybody, I'd like to output the price oscillation of any assets to a soundwave noise like a synth. I imagine a sort of EA which find the absolute low (price level at 0) and the absolute high and it creates a sort of keyboard with notes and octaves and when price moves you can hear the sound
hi there.... Can you change the server, login and password using a script? Is it possible to use a script on it? thanks...
Hello, i have this code .. does somebody know how to reach more historic bars? void OnTick() { //--- ChartNavigate(0, CHART_END, 0); Print(High[2000]); } this gives me error but with usage of High[1000] it works. I tried that ChartNavigate funciton but it does not help. Thanks
hey am not very experienced and am just wondering how we could know an ex4 produces fake backtest does the below picture mean this is a history readerr
Hello, Attached is the indicator that Unca requested for Larry Williams Greatest Swing Value (GSV) Indicator: "I would like to ask somebody to create indicator of Larry Williams. It's not actually indicator. Larry Williams introduces this as a concept in his book Long-Term Seecrets To Short-Term...
Hello friends, As you can see in the picture, I collected 600 points for Buy position in EURUSD currency pair, but it gives me 5.43 rather than 6$. My code for exiting is: if ( OrderSelect (( int )BuyOrder[x],SELECT_BY_TICKET)== true ) if (OrderProfit()>=OrderLots()*TakeProfit) if
I need the ATR data of each symbol that they put in a symbol string, for example ("EURUSD,GBPUSD, USDCHF "), or I did it this way but it doesn't bring the data correctly and I can't do the iCustom in OnInit either because how does it save the data of the for?? please help The code: void SendAlert(){
Hi This is a simple fractal indicator. MAIN QUESTION : Why getting "array out of range" error only when using "#property strict" ? //+------------------------------------------------------------------+//| Fractals.mq4...
[Deleted]
I am building an EA that involves 2 different scripts can someone help me out with a way to make reference to them and collect boolean data
I want make range price to buy and sell for pending order and I will only add one viger for example 1.00000 and if range price > 1.00000 and <1.00025 this buy and if range price addition will always add 25 points examle if price for EURUSD AFTER adding 25 points > 1.00025 and < 1.00050 and so on
Hello, I can no longer see the expert advisor symbols on MT4. Instead of symbols I see only squares. Can someone help me
hello guys hope you're doing good , i'm new to mql4 , i'm trying to do a simple expert expert advisor that counts the number of trades each expert advisor did historically using the matching number, int OnInit () { return ( INIT_SUCCEEDED ); } void OnTick () { int i; int exe; for
I'm looking for a volume profile indicator for MT4. Any help is appreciated. Thanks Peter
I am running a scalping strategy and with all the chart trade arrows, my chart is unreadable. Is there a way to remove them
I program an EA on a certain broker's MT4 and then I copy it over to another broker for live trading. If the EA already exists on the other broker I overwrite the exisiting .exe with the new version. (Parameters stay the same) The older version of the EA on this second broker is already attached and
How do you loop all symbols? for example if you wanted to make a list of all available symbols
would it be ok to compare these double values this way? because I normalized it? I want to prevent calling OrderModify after if the stoploss is the same as the existing OrderStopLoss() so that I don't do unnecessary calls to modify on the server. const double normalizedPrice = NormalizeDouble
hello guys i created a function to print on chart specific text , but the color is default even if i set it differently. void Info( string NAME , double CORNER , int Y , int X , string TEXT , int FONTSIZE , string Font , color FONTCOLOR ){ ObjectCreate (NAME, OBJ_LABEL , 0 , 0 , 0 );
When i click on any indicator in indicators list metaeditor is opening how do ifix this any help
[Deleted]
Hello, I have an expert and I would like it to make a WebRequest to verify the current version number of the expert, and alert the user if there is a newer version. I am wondering if there is a way to add the URL to the Allow WebRequest from inside the expert. I assume this may be a security issue,...
Hello, I am trying to obtain the average spread, for which I am doing the following: void OnTick () { AverageSpread(); } double AverageSpread(){ NumSpreads++; Spread=Spread+MarketInfo( _Symbol , MODE_SPREAD ); return ( NormalizeDouble ((Spread/NumSpreads), 2 )); } I wanted to know if
Is there a way to force a reload of a compiled EA from within MT4? for example if I copied in a new version? I'm compiling it in another folder. Currently I just close and reopen MT4
Hello all, I have an indicator that prints a dot and gives an alert on the mt4, I would like to add mobile notification alert as well. Thing is I can't edit it since I have the ex4 only. With a little bit of searching, I realized that I can add an EA that give an alert when the indicator does using
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.