MQL4 and MetaTrader 4 - page 1285

[Deleted]
Is there anyway to turn off the light blue line indicating the current price?
[Deleted]
  HLINE  (4)
hey, i wrote a new expert, i need to put on the chart HLINE but i want it to bw in specified time for ex. from 23:00 to 09:00 here is what i wrote: ObjectCreate("HighLine",OBJ_HLINE,0,0,BoxHigh); ObjectSet("HighLine",OBJPROP_COLOR,LinesColor); ObjectSet("HighLine",OBJPROP_WIDTH,2);...
[Deleted]
  To protect EA  (11   1 2)
I think it is impossible to protect EA from decompilation but it is possible to make EA dependent on some other stuff in order for it to work. Like connect it to indicator, mqh file .But if to copy the whole MT4 directory, it is possible to find out everything. If somebody snoops into your computer...
  Redrawing indicators.  (108   1 2 3 4 5 ... 10 11)
Greetings! I suggest you post here redrawing indicators or links to them in the Code Base
[Deleted]
Hello guys! I would like to add stoploss in the that code below, someone would can help me, please! This code is the MACD SampleEA, I hope in this EA, only need a stop loss! Thank you very much! extern double TakeProfit = 50; extern double Lots = 0.1; extern double TrailingStop = 30; extern double...
please if any mql expert here can u tel me how to send sms bt using sms script by dll via a expert advisor (by import that dll )when certain conditions are met . still i hv no idea about that. if anyone can pls help me
Hi, Just wondering if there is any way to choose which columns are displayed in the Terminal window, or is this fixed?. For example, I assume 'Swap' is something to do with Forex, which I don't trade (can anyone clarify what 'Swap' is?), so for reasons of space saving I would like to remove the
I am developing a new strategy which has done quite well in manual testing so am now in the phase of my trading bot creating. I have most of it working though the logic and closing of the trades is giving me a little trouble. Maybe I have not been getting enough sleep where the answer is right...
[Deleted]
hello, I try to login metatrader 4 with my trader(master) password but it says public key is not found in the journal section. I can login with my investor password but could not trade. How can I fix this problem? Although it is a demo account I really need to use it for some reasons. Thank you very...
[Deleted]
Hi friends, When I draw a Fibonacci grid, is there anyway that I can get the lines to display its values by the side? CUrrently I have to release the mouse and fix the grid, gon to the cross hair function, check the values, and delete the grid and do all of that again until I figure out the correct...
hi The following code whenever I back test it I keep getting an ordermodify error 1 but I don't know where in the source code to change it so I can put it right. Please if anyone can help me with this I would appreciate it. //+------------------------------------------------------------------+ //|...
I am trying to Subtract from the Text the word Sell, but, the program below can not read the file. My test.txt is stored inC:\Program Files\MetaTrader\experts\files and it contains this Text: SELL EURUSDPrice=1 .32336, Could someone please help. int start() { string File_Name= "test.txt" ,Text; int
Hi, Not bragging, not selling, I just want an experienced opinion in whether theese results could be something or if it's nothing because of the extended period of time. Initial balance: 10000, Flat 0.1 lot, 650 trades, H1-based, testperiod 4,5 years, drawdown 11%, end balance 18500$. 52,72 Winners,...
  ea programming  (1)
hello, i am looking for a programmer to do an ea... i have an indicator... the ea should work as follows: when indicator sends signal 1. open order 2. close all existing profit orders that's all... rgds, sliffy
I'd like to share my knowledge here and ask for pointers on developing a trading plan for my EAs. I'm getting a VPS soon and planning on running a demo of my system. GOALS: To have up to 10 systems running simultaneously To have as little correllation as possible between these To use different...
Why am I finding it so difficult to get a good equity curve on any pair other than EUR/USD and GBP/USD? Has anyone else experienced this? GBP/USD is 4 pip spread and some others are lower than that so it's not the spread that is the problem. Perhaps I just only know strategies for these two and need
[Deleted]
  Session Highs  (1)
Hi. My first post and new to mql4. Basically I'm trying to find the session high since the open of the current session (whether Asian, London, New York). Seems easy enough. The only problem is I'm trying to find the values over a range of currencies ( GBPUSD , GBPEUR, GBPCHF etc ...) each to be
Hello friends this is checkmail and was going through google searching some good strategy and indicators for mt4 platform. And found a few Indicators, that description is good to believe in it, but they are not avail to download even to its normal members.In Forex-TSD site there are many Indicators
Hi, I'm trying to get the EA to trade only when the MACD main line minus signal line value exceed certain value. Would the following code be correct? Thanks! macd_main-macd_signal>0.0010
[Deleted]
Dear MT4 Guru I have a for loop and I would like to create a Legend for the currency pair, that will having the same color of the line that set in the properties So, my proposal is to retrieved from ObjectGet (...OBJPROP_COLOR) dynamically, and later use ObjectSet to set it to the legend text....
Hi all, how are you doing? I have this indicator I made to show all 12 lines of the high, median, and low of all timeframes. See image. The problem is that when more than 1 timeframe has a price that is the same, we lose the ability to determine which timeframe is on that same price. I have tried...
[Deleted]
Hi, I've been system trading futures using a daily system (TradingBlox) for a few years - and it is very reliable and consistent. By contrast, I've just finalised a system for forex in MQL4 - & I find that each time I run a back test on 2 years of offline historic H1 data, I can get wildly different...
How should the line be if i want to say: If Bar1 >= 0 and Bar1 <= 0.0004 - just an example I have tried with this but it doesn't work. Compile error if (Bar1 > 0 || Bar1 == 0) && (Bar1 < 0.0004 || Bar1 == 0.0004) Have tried this as well but same problem. Compile error if Bar1 >= 0 && Bar1 <=0.0004...
Hi, I'm not a programmer, so be gentle. I'm trying to close out trades when conditions are met, so: if (A < B) - in this case close out BuyTrades till A is no longer less than B. But the thing runs away and closes as many trades as it wants to or can - so it overshoot my targets and I get nuked....
I would like to request the following items be incorporated into MT products. 1. Price Per Point value - in the event the coder wants to know on the fly how much it would cost on a particular chart from a particular vendor given the client currency and the charts currency. So a function...
[Deleted]
using normalizedouble on eg: 0.667 to 2 places gives 0.67 is there a simple way to always ensure that round down occurs? other than writing a function with value and decimal places actuals eg; fred(double d,int digits) if used 'fred' maybe is like this: a = fred(0.667,3); and fred does:...
I want to learn more 'bout MQL I have searched for some book to give me more clear instruction . I am not sure Is there any of them or not? what I have found here the maunual in this website is quite clear but, I had no basic of Programing. a day I found this book : Expert Advisor Programing...
Hi, I have 2 pending orders, a buy_stop in price a, and a sell_stop in price b. I want each one of pending orders automatically closes when another one executes. I mean buy_stop pending order closes automatically when sell_stop pending order executes, and vice versa. how can I do it in mq4? Thanks...
Im looking for a copy of this seemingly difficult old classic. Would there be any available PDF's floating here, I would appreciate this help. Randy
[Deleted]
it is my first ea, it works on the back testing but does not work on live. why any suggestions? it's make money on the back teting i hope it will do the same at the reall market thank yall...