- Search Metals Mine
-
paulselvan replied Mar 16, 2020hello, to program it , 1)What is your deposit currency 2)Running profit calculation is very different from forex to indices (or other instruments).Better you fix which one you want to check 3)If order is opened more than one day ,the swap must be ...
Locked floating profit indicator
-
paulselvan replied Mar 15, 2020If the condition to open a trade is when the previous one is closed But what would be the condition(s) for closing a trade Ans also better you look in account balance before it cracks You've work to be done
Repeat Trade EA
-
paulselvan replied Mar 7, 2020hello, are all trades done manually ? is the next trade "repeated" if only the previous one is closed?
Repeat Trade EA
-
paulselvan replied Dec 18, 2019did you try : MqlDateTime m; TimeLocal(m); int tSpan = m.hour*60 + m.min; if (tSpan>= 7*60 + 25 && tSpan<= 8*60 + 5) { //...codes... }
Adding time filter with local hours and minutes
-
paulselvan replied Nov 17, 2019take also in account mn int counter=0; int mn, prd=PERIOD_M1;//to test mn also int day_begin=0, day_end=9;// prd limit> day_end >= day_begin >=0 int hr_begin=15, hr_end=18;// 24> hr_end >= hr_begin >=0 double average, value=0; datetime checkingTime; ...
How to get the value indicator in a specific time every day
-
paulselvan replied Nov 16, 2019you may use MqlDateTime variable to ease computing average int day_begin=0, day_end=149, hr_begin=15, hr_end=18; double value=0; datetime checkingTime; MqlDateTime mT; for (int day=day_begin; day<=day_end; day++){// testing past 150 days ...
How to get the value indicator in a specific time every day
-
paulselvan replied Oct 19, 2019It may concern number of bars shown on the chart Take a look at : Tools>Options>Charts>Max bars in chart
convert M1 data to all timeframes but something wrong
-
paulselvan replied Aug 25, 2019you're welcome you can find them also right in your mt4 plateform for free or paying did you check "Market" tab in your mt4
What is this called?
-
paulselvan replied Aug 24, 2019maybe you know well ,but i used to visit this website where there are many articles,codebase...
What is this called?
-
paulselvan replied Aug 17, 2019try: //horizontal line long m = (long)Time[1], m1 = m + (long)10*_Period*60; ObjectCreate("h1",OBJ_TREND,0,(datetime)m,Open[1],(datetime)m1,Open[1]); ObjectSet("h1", OBJPROP_STYLE, 4); ObjectSet("h1", OBJPROP_COLOR, Red); ...
EA to draw Horizontal and trend line in advance
-
paulselvan replied Aug 16, 2019there are also instructions : ChartSetInteger(0,CHART_SHOW_DATE_SCALE,false); ChartSetInteger(0,CHART_SHOW_PRICE_SCALE,false);
How to Remove Chart Border in MT5
-
paulselvan replied Jul 21, 2019Hello to all, If i don't mislead, astrology predictions are for some hours to some years and astrolgy studies sun,moon,jupiter,... cycling in zodiac ---------------------------------------------------- As you know Sun is 4.5 billions years old It ...
Planetary Cycles Trading (EUR/USD)
-
paulselvan replied Jul 17, 2019you know each element of t[] couldn't be greater than maximum so how can t[0] > 2*maximum
How to calculate maximum value of 10 or more variables
-
paulselvan replied Jul 17, 2019#define max 6 //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int ...
How to calculate maximum value of 10 or more variables
-
paulselvan replied Jul 13, 2019indicator can be make you should specific what are the initial conditions for the horizontal lines
Horizontal lines with color change and price boxes
-
paulselvan replied Jun 19, 2019revised ea adds this extra checking: file
Want code reviewed and point out my mistakes