#property copyright "Ch" int handle,i,Total; int Slip = 3 ; int BuyTicket; int SellTicket; double H1W4_0,H1W4_1,H1W20_0,H1W20_1; double iCH10,xMultiply,zH1W420_00,zH1W420_11; // Init function int init() { if ( Digits == 2 ) xMultiply = 10 ; if (
Hi, Can I declare similar alpahet in lowercase and uppercase, example m and M? I wish to use the same alpabet as variable , so can I differeciate both variables by using lowercase and uppercase
Hi, I have the csv file format like below (to append d2, e2 ,d3,e3 value) : i have used before FileSeek(handle,-2, SEEK_END ) to append to end of file (in this case : d3,e3) but I dont know what is the FileSeek (handle
Hi, I have the following questions on user defined function: Question 1. Can I put a if statement within the function as I want to combine two functions into one ? Question 2. Can I use the same variable (a and b) in two different functions, does it
Hi, I have two indicators in the same chart whereby some variables used are the same, is it going to cause confusion ? I am worry the value of variable of one indicator will be mistakenly used by another indicator. I want to clarify whether the
Hi, I have the file function as in coding section, it will work when the following is not inserted. The following code is inserted to only write once every hour. Kindly help why it doesnt work when code to write once every hour is inserted ? Also I
Hi, I tried to plot three lines, Dema 4 (period =4), Dema 12 (period=12), Wma150 (weighted ,period=150) butit only plot the weighted moving avrage with period 150. Kindly //+------------------------------------------------------------------+
Hi, I am trying to figure out what is the purpose of return(0)? In my if statement within the curly bracket, i tested with and without retrun(0) in it and the results is the same. So, does it mean return(0) doesnt really serve any
Hi, I extract this table and did the calculations for Year To Date (YTD) , Daily Gain, Monthly Gain and All Time Gain and found it is not tally with that from the table. My questions are as below: 1) For year 2018 : YTD =
Hi, I have done the backtest using EA : Moving Average.ex4 for EURUSD from 11.21.2018 to 11.24.2018. I have spent a lot of time to calculate the Absolute Drawdown and Max Drawdown by hand and it does not tally with MT4 output. Is there a
Hi, I try to create multiple EMAs which is parallel to H1 Ema 20 with 10 pips interval by editing the custom moving average as follow (highlighted ) and it doesnt create parallel lines but overlap on existing ema 20 line. The completed file is
Hi, I am using MT4. Can I use OrderSend with SL and TP and having error 130 to find out whether the broker is an ECN broker? Is this method the correct way and accurate? Or is there any other method to determine whether a broker is truely ECN