MQL4 and MetaTrader 4 - page 1387

good night Help me please to finish an indicator code, because after all programmed, when the information appears in the graphic appears the values thus 0.12345678, and I want it to be 0.1234 or 0.12, what encoding should I put? and where you want? It would be possible to prepare the encoding for...
My EA has many such entries which enable very tight stoploss, You are welcome to try my EA for free at www.4xGoEasy.com nice entry35
[Deleted]
Hopefully I can get someone's input on what I'm doing wrong here. I've created a very simple indicator that looks at the number of inflections of a Moving Average (ie 200bar MA) over a certain period of time (ie. 1000 bars). So every time the 200MA changes direction, the indicator adds 1. And...
The balance is not correct. It should be positive with zero trades open. What is the problem? MT5 balance error
How to repair this function in order to save report into the HTML file after the back testing?
[Deleted]
Hello, I wonder if someone could write an EA from this indicator that I have.. what is needed is only to open trades according to alerts, and to set inputs like take profit, stop loss, lots.. and possibly, trading times.. I guess it shouldn't be difficult even for not an expert programmer.. thank...
The subject describes it: I’m trying to find the meaning of the acronym TSR but have been unable to do so as of yet, Thanks
Sometimes this script enters 2 trades, at other times it only enters 1 of the trades and reports an error of Error = no error Any ideas what this could be or a way to reorder if something goes wrong in the error checking code? //+------------------------------------------------------------------+
Please i found this attahed EA interesting but its maximum orders its open is two. pls what can i do to make it open more than two orders. Thanks
-
class CAccountInfo { public: //--- fast access methods to the integer account propertyes long Login(); ENUM_ACCOUNT_TRADE_MODE TradeMode(); string TradeModeString(); int Liverage(); ENUM_ACCOUNT_STOPOUT_MODE MarginMode();...
  Indicator Needed  (2)
Can anyone out there please help me with a nice indicator that can show volume and buying and selling pressure? It would be highly appreciated. Thanks
[Deleted]
Ok I've got a martingale/hedging mq4 EA that I need some fixing/tweaking done to. It has a bunch of features from its original state that I have added to it, but my coding is very amateur so while it works, there seems to be a few bugs I need help fixing. The way the EA trades is it will open a...
[Deleted]
hi all.. im new in forex.. i have zero knowlegd in forex.. can any one teach me how and when to open a post.. or is there is a strategy to play safe in forex..???? plzzz need mentor.... if you have any advice or opinion plz message me or email me at emilai_parasit87@yahoo.com thank too all...
Wherever you go in the thread you have to pay for sabluk's pictures
[Deleted]
Hi! I have made a custom indicator and I need to place some text next to a line. I would like to have the text following the line and in some cases above the line but I cannot find a way to prevent the text being centred and below the coordinates I specify. I tried to calculate the coordinate...
Folks, Can any one show me how to send a market order in MQL5. I just downloaded the platform but after several couple hours trials have not been successful in sending an order from a simple Expert Advisor. This is my Ordersend structure in MQL4 for a market buy: How will I structure this in MQL5...
Hi Phy, Please show me a way: 1. To plot 2 or more indicators (contained in separate files) in a single indicator window. 2. To use one indicator file to plot more than 8 lines in one indicator window (e.g. 8 different RSI plots along with 1 MA on each making a total of 16 plots). Thank you for an...
by now, all history functions return value 0.
  error code 4107  (2)
Could someone please tell me what is wrong with this attempt to send an order? In backtest it places no orders and the Journal returns error 4107. ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,OrderOpenPrice()-25*Point,OrderOpenPrice()+25*Point,"newenv2",21,0,Green); Any help would be greatly...
I'd like to create 2 GlobalVariable so that when my EA restarts it knows to use these two variables if they exist The first is the value of a currency when an order (the first order) was placed, I call this variable center. It is the center value ie. Bid + Ask / 2 = center The second is count .....
Some programming languages have the capacity to run through the program one step &/or line at a time and see the procession and the results of it. Some allow the user to choose which way they want to go at conditional logic decision branches to follow through the various logic routes. As well as...
I have a consistent winning strategy, not an automated system that guarantees %50 profit in two months. What about investing in my idea with a %20 profit share. I accept minimum $10000 portfoilos and ECN accounts. if u are interested please contact with me barisyildiz1982@gmail.com
How can i know what happen when an OnTrade event occured on MT5? like a market order has been placed?
[Deleted]
Hello I'd like to execute this function only once. Example: I open 2 lots. When the market get the "Take Profit", I'd like to close half of the position. In this case, 1 lot. The probleme are each time the condition are meet, the function closed half of the position again and again. 2 lots => 1 lot...
[Deleted]
Hello, I've got an EA running on EURUSD at M30. When I use the strategy tester, the farthest back it starts a trade is 5/27/09, no matter what I have the start date set at. I can get it to go further back using other time periods, example H1, but will not on M30. On average, the EA makes over 2...
Hello, I would like to change the time frame settings of one indicator from (1h,4h,1d,1w) into (1h, 3h,5h,7h). Thanks please help Your help will be highly appreciated. thanks
  Fund / Forum  (2)
Hi Guys, I was thinking here...and... I would like to invite you for something! What do you think to create a fund with my EA? You can see the results here: http://forexfortune.mt4stats.com or http://danielvc.mt4stats.com I think that we can use $100 dollars per people interested. We only will get...
Can anyone explain this problem? I have been puzzled for some time as to why on stratiegy tester and demo accounts zigzag suddenly decides to flip (current zig gets previous zig values and previous zig values get current zig values) and a while latter flip back again. This does not happen when print...
[Deleted]
if anyone can help. I would like someone to help me create an EA that does; 1. identifies a pair whose 14 day adx is between 20 and 23 2. Open a new chart 3. put in my predefined template if possible can anyone help
[Deleted]
G'day fellows. I have a "base ea" I pretty much put together (manyrelated posts of mine :P) and there's this little problem I have withthe "max orders" option. Say I attach the EA to eurusd, audusd, gbpusdand set a max order of 5 for eu, 10 for au and 2 max orders for gu, asof now the EA somehow has...