• Sign up >>

General - page 229

To post a new topic, please log in or register
Help me get out of this conundrum: In OnCalculate, I wish to pass the volume[] array to a custom function. However, I get the comical situation above; the custom function asks for arrays to be passed as reference, and yet OnCalculate doesn't allow me to pass volume[] as reference because it's a...
Hello, I didn't find any information about that. I did try to change it with getpointer() , but it is not possible with simple variable as the mql4 book explained. So if anybody could help me about how to update the input field with my new value. from ->>  external int  value=2: in my program I will...
I have tried the following code, it works properly on the live chart but not in the Strategy Tester:   #define count_symbol 3string Symbols[count_symbol]={"CADCHF","GBPAUD","EURUSD"};input int Fetch_Candles=1000;input bool CallMyProgram= true;input bool writedata = true;input bool draw_charts =...
I am a beginner in Mql5 programming. Iwant to know how to get the standard deviation of volume with the iStdDev()function. thanks for your time and efforts.regards.
Hello, In MT4, Is there a way to NOT show 'cancelled' orders in 'account history' tab of the Terminal? I think there isn't a way, but if someone knows a way, please let me know. Thanx
In my mql code, I want to make the bequal variable true when the jaws and teeth of the iAlligator indicator are equal. So I wrote the following code. Unfortunately, it never makes the variable true, even when the jaws and teech are equal. I am not sure why the problem is. Could anyone help please?...
How do you calculate/evaluate the probability of your trade? Is there any actual systematic or defined structural method to do it? Thanks Cristiano
How I can remove the indicator which was applied on the MT5 when it is closed or accidentally closed? Kindly, let me know.
  Copy trader (2)
Hello Friends  Here i have submited my real account  i need ur help  how to publish my signal to public  how much it take time to become public 
  What does broker know? (19   1 2)
Can a broker detected what indicator does a client use in chart? for example I use ATR in my chart, Is broker know it?
Dear all trader, I want to give a free expert advisor, but I am afraid somebody will use this free to sell it somewhere like ebay... How to lock this EA by giving an expiration date to it, for example when it reach 1 month it won't work, instead it said something like "your ea is expired" I ever...
Hi Everybody   Suppose i Want to Create 3 Buttons in Chart with Bool Value and i Want Change my indicator parameters with these buttons instead input values so far i could create all needed things for that but there is a problem that is : i don't know how to calling OnCalculate() method after i...
I would like to know whether there is any function that I can use to get the candle date. Ex: if I have 30 daily candle, I want to print the candle date for each of those candles. Is there a function for this in mql?
Hello, I am using MT4 with a demo server on an 3rd party Broker. I am using a screener indicator on one chart which works fine. When I install the same screener indicator on another chart in MT4, the feeds works fine two. However, on shutting down MT 4 and restarting again I get the No Connection...
I'm running below EA based on Heiken Ashi indicator. the logic is when 3 continuous green bar then buy, when find first opposite direction bar (in this case red) close the trade.  The trade opening and closing all getting closed immediately. I don't understand what im doing wrong. Please help me....
Recently, I have bought an EA that would place a lot of pending orders up and below the current price when it considers the price is the turning point. But I would like after the EA hit the first pending order, it can cancel put other pending order because I want to combine the EA with the hedging...
Hello traders Please share your volume trading Thanks.
Hi This mql5 code produced error 10013 "invalid request" which I don't know why, Could some one please help? Thank you MqlTradeRequest tradeRequest;MqlTradeResult  tradeResult;int     factore                 = StringFind(Symbol(), "JPY", 0) >= 0 ? 100 : 10000;double _Ask =...
I have recently been reading up on how useful currency futures COT data is for determining positions of large speculators and how the FX market moves according to their involvement. There are indicators available for futures traders representing COT data, has anybody heard of or could produce an...
thanks in advance. how to write the dynamic takeprofit going up, following the price going up. thanks
Hi,     One EA was placed in EURUSD 1HR TF chart of one trading account and connected to one virtual terminal.But it is found that it executes trade also on other trading account link to different virtual terminal.How to ensure that the EA only trades one account one virtual terminal? Any suggestion...
Hello, I am new to Metatrader 5 and the forum and I hope this is the right place to ask this question. Supposing I want to import 3rd party csv or Excel data into Metatrader---Metatrader 4 had the option --Tools---History center---import. Where is the corresponding link/option in Metatrader...
How import/export csv history data in MT5 ?
Hello Is it possible to make a robot that enters the market at exactly where a new psar dot forms not at the market price. I mean when a dot forms at the value of 1.2340 while  the price is 1.2344, the robot enters at the former. Is such an entry allowed by brokers? Many thanks.   
I need some help. I want to setup a If then type of situation. I'm trying to setup a situation where I get a signal from a indicator to buy or sell then I want another set of conditions met before a trade is open regardless of how many candles it takes to happen. I know how to write a if situation...
Hello My optimized strategy test is stopped amd in journal I see this code: 2018.09.28 21:20:01.304 Tester EURUSD: preliminary downloading of history ticks canceled Can someone explain what this is and how to fix it? thank you
hi, is anyone familiar with the intraday time filter provided on the metatrader5 platform. i want to trade from 8AM to 11PM daily, i seem to be getting an error in calculating the bit value of the field intraday time filter bad hours of day bit map. your assistance is appreciated regards
I have seen that Timer functions does not work in the MT5 Strategy Tester. I want to know whether what all function does not work in the MT 5 Strategy Tester.
Hi, i'm started to coding a few months ago, now that I've managed to do my own strategy, I want to automate it. My problem is that my strategy needs to get the price between the high and low but i want that difference in whole number,  not as 0.0000300, instead of  300. At the moment my code get the...