- Search Forex Factory
- 318 Results (7 Threads , 311 Replies )
- paulselvan replied Apr 15, 2020
As the inputs are not modified by the program and done only once, it's suitable to use mql4 inputs window : #property strict #property indicator_chart_window enum e1{HIGH,LOW}; enum e2 {zero,one,two,three,four}; input e1 direction= HIGH ; input e2 ...
Help adding Input for Custom Indicator Object Create String
- paulselvan replied Apr 11, 2020
there should be many ways to do this.Here is one : int j=TimeMonth(Time[Bars-1]); string name; datetime d; for (int i=Bars-1;i>0;i--){ d = Time[i]; if (TimeMonth(d) !=j) { j=TimeMonth(d); name="vline"+IntegerToString(i); ObjectDelete(name); ...
Draw a vline at the first trading day of the month
- paulselvan replied Apr 3, 2020
There are attached an EA and an indicator 1>Put EA in your dashboard chart 2>Then launch the indicator in the currencies for which you want rsi-sma to follow On expert journal , signals from them are displayed i didnt set graphical effects try this ...
Coding Request for RSI Dashboard
- paulselvan replied Apr 1, 2020
did you ever see rsi crossing sma? can you explain
Coding Request for RSI Dashboard
- paulselvan replied Mar 18, 2020
Here is how simply outputs can be read : 1)Here is Trade tag where there are 2 usdcad sell trades. Both have different lots.(0.03 and 1) Both have also different SL. 2)Here is Experts tag >You can see in Trade 0 the gap between openPrice(1.42288) ...
Locked floating profit indicator
- paulselvan replied Mar 17, 2020
Here is EA theoretical ok But 1)As the program converts in deposit currency, check if "Sum of SL P&L" in Experts tag is right or not for all majors. 2)Have to wait more than one day to know if swaps are ok
Locked floating profit indicator
- paulselvan replied Mar 16, 2020
i'll limit for the major ones that's right it's sum of
Locked floating profit indicator
- paulselvan replied Mar 16, 2020
hello, 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, 2020
If 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, 2020
hello, are all trades done manually ? is the next trade "repeated" if only the previous one is closed?
Repeat Trade EA
- paulselvan replied Dec 18, 2019
did 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, 2019
take 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, 2019
you 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, 2019
It 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