- Search Metals Mine
-
damiend replied Oct 26, 2017Aah ok thanks for the details, I understand and know what happened. The speed isn't the issue. By default the EA starts to work and scan for signals at the current bar when it is loaded. It doesn't scan for signals in the past. That's a good ...
Channel MA Short-Term System
-
damiend replied Oct 26, 2017Thanks mate. I understand your point and will let your code as is then. It looks like the gold pip with my broker is 0.1 but I have a special case, all the infos I found on the web are saying 0.01 like you.
Channel MA Short-Term System
-
damiend replied Oct 26, 2017What is different between your two setups and what kind of improvement are you thinking about? Regarding delayed entries, in general, I think I will add an option so that we could take the entry at a certain distance from the 33EMA, and not only ...
Channel MA Short-Term System
-
damiend replied Oct 26, 2017That's normal, the trades times are broker times, not local times. The broker timezone is different than yours.
Channel MA Short-Term System
-
damiend replied Oct 26, 2017Yes, I use some personal librairies common to all my EAs that I want to keep private.
Channel MA Short-Term System
-
damiend replied Oct 26, 2017Thanks, I have tested your code with some indices. It works as expected with 1 digit stock, 3, 4, 5 digits currencies. But it still struggle with 2 digits, I have tested on gold and it produces a 0.01 pip value but the pip value should be 0.1 ...
Channel MA Short-Term System
-
damiend replied Oct 26, 2017Hi Andrey, I have checked on your broker platform, I don't see any issue with the pairs you mentionned in your screenshot. For me: 134.436 - 133.935 = 0.501 => 501 points (or pipettes) => 50 pips 150.624 - 150.101 = 0.523 => 523 points (or pipettes) ...
Channel MA Short-Term System
-
damiend replied Oct 26, 2017Thanks for your inputs guys. I will have a look at this pip calc issue today.
Channel MA Short-Term System
-
damiend replied Oct 25, 2017Here is the version 1.22 with a minor improvement with the spread during delayed entries I talked about earlier.
Channel MA Short-Term System
-
damiend replied Oct 25, 2017Hmm strange, with my broker it works. I use the mt4 Digits(), the stop loss calculation is like this for a BUY : slPrice = entryPrice - StopLoss*MyPoint(); double MyPoint() { double CalcPoint = 0; if(_Digits == 2 || _Digits == 3) CalcPoint = 0.01; ...
Channel MA Short-Term System
-
damiend replied Oct 25, 2017There's no difference in delayed orders code between 1.2 and 1.21. The only change in 1.21 is a bug fix for sell trades when SL=0
Channel MA Short-Term System
-
damiend replied Oct 25, 2017Switch to another broker
More seriously, it could be an interesting feature for live trading, thanks for the idea. But it would take some time to implement, test and ensure the trades are always closed as expected, else it could be dangerous ...Channel MA Short-Term System
-
damiend replied Oct 25, 2017Ok, it looks like it is miles away, but from what I see on your chart, it's less than 40 pips + the SL is on the other side of the channel. So it's following MickeyMar's rule correctly. If one would like to reduce it, it would require to reduce the ...
Channel MA Short-Term System
-
damiend replied Oct 25, 2017I think it's a broker related issue. It's an error message coming from the mt4 platform when trying to open an order. In your screenshot it tried to open an order at 23:59:59, I guess your broker doesn't take orders at this time.
Channel MA Short-Term System
-
damiend replied Oct 25, 2017Hi MickeyMar, I'm not sure why it didn't open the trade. The two only reasons that could prevent the delayed entry to be opened are: a spread too high and a SL price > channel low. For the spread, I will make an improvement in the next version ...
Channel MA Short-Term System
-
damiend replied Oct 25, 2017Thanks for your tests while you are in holidays! For this Stopped stuff at the bottom, I have no idea what this is about. It looks like you are using an indicator that prints information at the bottom but I don't know this indicator at all. It has ...
Channel MA Short-Term System
-
damiend replied Oct 25, 2017Hi ChicagoRob, Thank you for these info, it helped me to find the bug with sell orders when when SL=0. I was opening sell trades if slPrice > CHANNEL_HIGH only, it couldn't work with SL=0 ;-) Attached is a minor version 1.21 that fixes this SELL ...
Channel MA Short-Term System
-
damiend replied Oct 24, 2017Nice, happy to read that
Yes trailing stop could maybe improve the performance from an intraday perspective. I mean if the goal is to close the positions at the end of the day, it could help maximize the profits. But if the goal is to let the ...Channel MA Short-Term System
-
damiend replied Oct 24, 2017There's no reason for that, the EA manage the buy and sell orders the same way. As fotolia said, check in your "Common" tab that you allow the EA to open long & short positions, attached is a screenshot in english. If it still doesn't work, could ...
Channel MA Short-Term System