I trade gaps made between the close and open of the market. Fiddling through all the bars when backtesting hurts my eyes though, is there a way to just remove/hide bars between those time? Or do you know of an indicator that does
Hi all I would like to delete a pending order after 10 pips, that's if the buy order is in profit after 10 pips. With the code below it will delete sell stop all the time. I know you can delete by time function after a few minutes, hours & days etc. I would like to know is it possible to delete
Hi Team, I am creating simple RSI strategy. But My iRSI function is stuck at certain price. when it cross 70 value it stop to calculating value Please look into below code and screen shot. Here is code double RSI= NormalizeDouble ( iRSI ( _Symbol , _Period , 14 , PRICE_CLOSE , 0 ), 4 ); if ( RSI< 30
MT4 GIVES AN ERROR MESSAGE AND THE TRADING ROBOT DOES NOT MAKE ANY TRADES : Virtual Hosting: obsolete version of "Market\Automated Trendline Trader.ex4" cannot be transferred to the hosting server, please recompile it first. WHAT SHOULD YOU DO TO MAKE IT WORK
hi to everyone, i have a problem with my mt4 , after i add indicator or EA with ex4 to my mt4 folders i cant see them in indicator list and i just can see it in expert list and when i klick on it ,says that is not an expert so uyou cant run it. even in meta editor i just see mq4 files and none of...
Hello. Can someone help me. please. My EA doesn't want to open a position. I use FBS Broker, my EA uses ADX and Martingale strategy double TP_in_Money = 0 ; int StartLock
I was wondering if there is a way to Refresh the chart programmatically? my use case: I have an indicator that do not update sometimes and when I right click on the chart and then click refresh then it updates the indicator so I was wondering if there is a way to refresh programmatically ? Refresh
I need help to put temporary stop on new order " during " the loop completing close order. Once loop closed all existing orders then new trade can start when possible. Please correct the code given below.. void neworder() { if (looking condition here until " bool closeall() " copmplete the
I am trading with an autobot on mt4. Everything is running quite well but I have these orange locks on the top right corner of my charts. When I click on them it brings me to the autobot web page. I think they mean that I cannot alter the trade in anyway. I tried to close the trade early and take
Hi , I wonder if anybody can help. I have been trying to download my MT4 platform onto my pc Every time I try to download the files and run it , it then open up the MQL5 account? I have been trying to figure out what to do to get my MT4 platform back on my PC , any ideas, help Thanks Alvin
Hi there, Hope you are having a nice day How can we detect future holidays by code? Should I do this by just hardcoding or is there any way to automate it for history data holidays? Your advice is greatly appreciated
Any one can help me to figure out how to send alert or log from strategy in mt4 to telegram? i dont looking for ea whats sends photos or where i put position to telegram just need something to transfer popup windows to telegram thanks :)
Hey guys i would aappreciate if you help. Can someone tell me why my orders are not expirng? if ((Buy_Sell_Signal()== "Buy" ) && ( OrdersTotal () == 0 )) Ticket = OrderSend ( NULL , ORDER_TYPE_BUY_LIMIT ,Lot_Size,( iBands ( NULL , 0 ,BB_Period,BB_Deviation2,BB_Shift,BB_Applied_Price, 2 , 0 )), 0 , 0
hello, for some reason my mt4 platforms will not open from desktop icons or through the terminal.exe in the metatrader folders for the specific brokers. only one of my several brokers will open. Running windows 10. tried to re download platforms but still have same issus. Also tried a full system...
Hi, I have purchased some indicators and some indicators are free, i downloaded it via the market and try to open, it is loaded and removed immediately. It never show on chart. Anyone can help
Hey Guys! I need your help. Does anyone have a code for a timestop`? I want my system to close positions at the open of the second new bar since the openeing. Thank you very much
BullishHammer=((Open[i]+Close[i])>(High[i]+Low[i]/3.0)); I am attempting to construct a hammer pattern signal in this case bullish where the body is a third the size of the candle high/low range. Can some one point me to where I am going wrong on this? and also how would I quantify this as the body...
[Deleted]
Hello to all professors, with this code I want to come and calculate the whole Lot first (for example, purchase) Then we calculate that if 10% of the imported Lot goes to profit, it will close all the orders. But it has a little problem and it does not do that. #property version "1.00" #property
Hello everyone, I can't collect history data in my pc even though I have the perfect conditions to download it, all I knew that changed was the account size tweak, I changed it to Micro instead from standard lot. And I noticed that it was probably the problem because the History Center's database
Is there any ea that can close open position when small ema cross below big ema? I been searching but i cannot find. The closest one that i can get is inside this thread https://www.mql5.com/en/forum/181274 . It closes open position when one ma cross another one ma.
Hi, I have an indicator on the chart. I want to be able to press a key on the chart, and this will simulate a restart of the indicator like it is drop on the chart for the first time. Meaning: I press a key on the chart (for ex: 'q'). this will call the DeInit function, and then the OnInit, and then
Hello everyone, I hope you are doing well this morning. You have helped me a lot before, I really appreciate this community :) So! I have a little problem with my Trailing Stop Loss extern int TraillingStart = 15 ; extern int TraillingStep = 2 ; extern int StopLoss = 100 ; extern int TakeProfit =
Hello! I have a problem with MT4. In market watch tab the prices are all 0, even if the on the charts everything sims normal. Please see picture. Anyone encountered anything like that? Thanks
Hi,I am developing an Expert advisor for Meta trader 4. my code compiles without error or warning in metaeditor, but anyway the run button is disabled son I can't test it.do you know why this could be? thanks for your help
Helweg / Stendahl value charts (from "Dynamic trading indicators" book) I guess this one was not made for metatrader yet since it was not possible to draw histograms with one end not being zero. With metatrader 5 that is possible, so here it is (it is metatrader 5 version only since some of the
-
I have seen this issue mentioned here and there, especially by 7bit, but I was never able to get around this problem: The strategy tester does not properly decrement the reference count of the loaded library during deinit(). Because of this, the DLL file stays loaded in the system, and crashes when...
With my code below I can identify Bar 6 on the image above. How do I calculate that Bar 5 4 3 2 1 is still inside bar 7 ? for ( int i= 0 ; i<limit; i++) { dCurrent=High[i]; PrevH=High[i+ 1 ]; CurrH=High[i]; PrevL=Low[i+ 1 ]; CurrL=Low[i]; if
Hey guys! i am from tradestation and i am wondering if there is a syntax for intrabarordergeneration, witch allowes me to make an order as my criteria is reached and not at the open of the next bar. Thank you! 600
Hello good day, have been trying to to code my Ea to wok on specific days of the month but i know am not doing some things right, did some research but below is what i arrive to and its not working fine it only works for the first date i specify here is what i did, i create an extern string so i can
I looked all over the MQL4 manual and still can't find the right way to just grab these 2 chart values, as shown in the attached image. The values are highlighted in a red circle in the image. As you can see, we need the value of the bottom and top "little-squares-predrawn-by-mt4" chart 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.