Hi I need some help from experts to write for me a simple code to draw a line based on a values from another custom indicator. Further i need also to automate some actions on my trading platform as well. But would like to take step by step. Please drop me an email at thayalanb@gmail.com for further...
Hi, I have a user-defined-class as follow: class setup { protected: MY_ORDER_STATE xOrderState; public : //Parametric Constructor setup( double FrPrice, datetime FrTime, ENUM_XBARS_MODE Mode); //Constructor setup( void ); //Destructor
I am running version 5.00 Build 1342 of the Metaeditor. Much of the editing capability does not work and I do not understand why. Ctrl-A works properly and selects all of the lines of code and Ctrl-F does bring up the Find dialog box. But Ctrl-H does not work properly. When I press it no dialog box...
i was just using my hotkeys that comes with mt4 yesterday and suddenly today it stopped working..not all of them but so far i noticed the home and end keys wont work and the spacebar to type in a currency pair doesn't work either. please if someone can help me figure this out...i think it has
[Deleted]
Hi all, I'm a newbie at mql4, but I'm having a go at putting in a Max Orders function to my EA, can someone help me how to do this? The code is somthing like extern int MaxOrders = 12; Thanks, Dave.
When I try to use the Strategy Tester it opens with a black screen with "waiting for update"...no update happens and I'm stuck. I'm using MT4 build 225 from Forex.com. If I reload a new version of MT4 it works for a while, then starts the "waiting for update" nonsense. When I test I get loads of...
I have a code that reads the xml file from news events for the week and holds various information about the events. The code for the loop is supposed to only read the next news event in the array but it loops to the last instead. I am using the code below to do this if (StrToTime(DDateStr) > TimeGMT
Please help me with this problem, don't know why i can't double a value by this double a= 0.1 * 3 ; But if i use this it will work well double a= 1 * 0.3 ; Even i change the code to this double a= 0.1 + 0.1 + 0.1 ; it still doesn't work well. Never have this problem before, don't know why, anyone
I have a simple MQL4 program that creates a simple one line text file for each minute with the datetime/open/high/low/close values. I then have a C# program that copies the output file from MQL4 to a network directory so that a secure/isolated pc can process the values in a database. At the end of
Hi, This ea opens/closes positions perfectly with forex pairs, but doesn't work with stocks, commodities and so on, i believe problem is digit number, can someone help with that
What is the calculation principle of index iForce, I need your help. Thanks in Advance
Hi folks, I'm trying to find a good example of posting JSON data in MQL4. Is there an easy way to do this? Thanks in advance
Hello, hoping someone might be able to advise me on this. I am wondering if there is a way of showing your local time zone (in addition to broker time) when you hover the cursor over a bar on MT4. I have found clocks that will display local and broker time and GMT etc for the current bar, but am yet
I use a broker in Europe whose MT4 server is based on GMT. Hence when I move the cursor, the GMT date/time is displayed at the bottom of my MT4 screens. Is it possible to have my local (Australian time) displayed as well as the GMT server time either on the bottom of my screen or better still in a
Is there a fix or add on to change time on cross hair to local time ? I don't want to have to calculate 10 hours difference for every part of the chart I look at
So for my strategy I want to close half of the open position when it hits a TP1 value and then I want the remaining order to be modified so that the new stop loss is set at the open price . The code below is what I have, but I'm not sure how to make it work using the OrderSelect and OrderModify
I have been using the MT4 MACD visually and manually to trade MACD and trigger line crosses. Visually the MT4 MACD histogram and red line cross at similar to typical MACD crossing lines. However, the MT4 does not provide any code to make use of the 3 element MACD for crosses which I was unaware of
Hi, The prices I am seeing in the Order window do not match the chart data. Does anyone know the reason for this? Thanks
Hi coder,... Hope all is well I have made an indicator that uses buffers to display arrow up and down,.. Having complex code around 1200 lines The problem is that when the indicator loaded to the chart and new data comes from server, and conditions meets on some candle for the up arrow,.. The arrow
I am working on an EA that has some success, but also has failures during volatility. For example: if 5M MACD down to sell. However, volatility and candles are actually going up quickly. So we get multiple selling and s/l's hit because 5M MACD is delayed with the move and isn't actually up but is
Hello guys. I have to change my PC and, as you can read in the title of the post, I would like to avoid the stressing job of reset every single chart and EAs of my new MT4. It is possible to transfer the whole MT4 on another brand new MT4?
if ( ( iOpen ( NULL ,Timeframe, 1 ) <= SMAS1 && iClose ( NULL ,Timeframe, 1 ) > (SMAS1 + gap) && ( iHigh ( NULL ,Timeframe, 1 ) - SMAS1) < ATR && iHigh ( NULL ,Timeframe, 0 ) > ( iHigh ( NULL ,Timeframe, 1 ) + gap) ) ||
Hello, I try to read the data from the 100pips Momentum_1 .4 indicator, but I get very large numbers for each candlestick. double BuyBuffer= iCustom ( NULL , 0 , "100pips Momentum_1.4" , 1 , 15 , "" , false , false , false , "" , 4 ,i); Thanks for an answer
I was running this EA on demo for testing. See the image showing a Buy signal and when the 1M and 5M MACD crosses down it was suppose to close trade but it didn't. I don't see why but the code seems ok to me. Thanks //+------------------------------------------------------------------+ //|
Hello, please help Please give me some advice on what I should do about this... zcolor = ObjectGet( "prev-LR-Trend" , OBJPROP_COLOR ); if (zcolor== clrDarkBlue ){zBias= 3 ;} else if (zcolor== clrDarkGreen ){zBias= 2 ;} ...so, I'm creating an object ( a OBJ_STDDEVCHANNEL) over
Hello. I'm looking for these indicators : Profit Taker 7 MM Trend Momentum LTF Price Action HTF Price Action Which are for MT4. I have already searched online but could not find these exact one's. Thanks for your assistance
Hi, Ok so I have an issue with my EA that I use as a screener / setup alerter. Here’s how it works: I set it up on any chart, M5 TF, and it scans through a predefined number of pairs (which corresponds to my watchlist). For each pair, in the example I give it gives the low of the last couple of
[Deleted]
Hi, Ive been trying to convert indicator logic to a function but it seems not to work and I get repainting issues. Please see the code attached and let me know where I've gone wrong because this doesnt make sense to me. Attachments are original code and include containing the function. Original
the pivot range's simple but effective , pivot = ( high + low + close ) / 3 , the range two lines are calculated like that, range = ( high - low ) / 2 , 1st line ( above the pivot ) = pivot + range , 2nd line ( below the pivot ) = pivot - range , at the next chart i draw all the lines manualy cause...
Hi Guys How do you change the font size and font face in a ListView object? It looks like there are no methods to do that and it seems like a fairly basic requirement. Regards Steve
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.