I start to learn mql5 today. It is a difficult for me . so I decided to write mql4 in mt5. and I start this project. #property library #property copyright "Copyright 2018, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" //#include
//+------------------------------------------------------------------+ //| WPR.mq5 | //| Copyright 2009-2017, MetaQuotes Software Corp. | //| http://www.mql5.com |
I am tring to find the function that return the running environment of my EA. How to find it's running in a tester or in a real MT4. I can't find it in the Manu. I hope this function do exist. Please Please Please Tell me please
I wrote a Indictor whitch need more than 10k bars to get a appropriate signal.. But in test I always get only 1000 bars to start. I use code below to show how many bars really in my tester chart . Print ( __FUNCTION__ ," bar=",bars_in_use," rates_total=",rates_total,"
I code in mt4 before, I want to learn MT5 code for several times but all failed. The code below is my another try. It will work in MT4 I am sure about it, but in MT5 it show nothing graphic. I just want draw something on the chart. Could any tell me what's wrong with my code. I have already put data
The code below is not working. Can I pass a multidimensional array as a parameter double arr[][ 3 ]; void demofunc( double & arr[]) { }
I want sent a alert when a pending order be opened. OnTrade() is not work for this . Any one know how to do this please tell me
How could indicator know the window OS Version? my indicator work different in XP and Win8 I have to code differently. but how could my indicator know in which OS it is running? by kernel32 ? or user32
Dear Every One I am using the function "iCustom" to got data from zigzag . code like this tempDoule= iCustom (sym,period, "ZigZag" , 12 , 5 , 3 , 0 ,index); in order to get more data I input some data to history data. while I increase the int index to 30000 the script stopped with out error alert
dear every one I'm trying to make a combobox the Event is not working. what's wrong with my code. the code with yellow background is wrong with message "struct member undefined"; how can I get the selected index from a combobox? //+------------------------------------------------------------------+