- Search Forex Factory
- 1,664 Results
- Pipologist replied Nov 5, 2019
[quote=emmzett;12599284]In short and as said many times before: MT5 is a tool for manual trading, it's not suitable for automated trading. For automated trading you have to use it's big brother MT4..... This is funny and disconcerting at the same ...
- Pipologist replied Nov 4, 2019
There is an old free/share/paid version of Sq EA Analyzer out there, not sure if it's still actively distributed. It can merge different mt4 results to simulate a portfolio. However, if you try to trade the portfolio in a single account with ...
- Pipologist replied Oct 27, 2019
When I first started coding for MT4 I used to bypass printing messages for each event that was triggered thinking only about the end results without confirming the processes as they happened. Of course I ignored error handling until I got errors in ...
- Pipologist replied Oct 27, 2019
Recommended reading for skeptics and newbies... Market Wizards book by Jack D. Schwager and also the follow up book New Market Wizards published a few years later. Real people. Real traders. Real interviews. And yes, have personally chatted with one ...
- Pipologist replied Oct 27, 2019
Thanks for the detailed reply. My gut feelings about them were the same as your reply here, anyone could break them and slower, were definitely on my mind. I was just trying to implement some workable solutions. I've re-coded to eliminate all GVs ...
- Pipologist replied Oct 24, 2019
I know this is an old thread but I'd like to know your reasons for not using GVs in functions. Are you saying variables used only by a function should only have those variables within the function? Or is there something particular about GVs that ...
- Pipologist replied Oct 20, 2019
Significant
- Pipologist replied Oct 18, 2019
Over how many trades may I ask, or is that too personal to answer...
- Pipologist replied Oct 18, 2019
I've put aside the array out of range error for now since I've went live with this and am not currently optimizing for other symbols. However, now I'm having the live EA take additional trades or miss trades compared to the tester (both are on real ...
- Pipologist replied Oct 17, 2019
So specific that figure. What led you to that specific number 1.27 for PF, instead of a range or approximation? Is that just a general figure, or did you do, or have statistical analysis that led you to that number? Am curious to understand more of ...
- Pipologist replied Oct 14, 2019
For now I've decided go with this, it's still early to tell, only one trade as expected so far with no surprises so far... static datetime PrevBarTime = Time[1]; if (PrevBarTime == Time[0]) return; PrevBarTime = Time[0]; The first one which is ...
- Pipologist replied Oct 11, 2019
Are you saying to not use the filter live? Or, that the filter doesn't matter live? Would having the filter on a live ea, affect it adversely? if (iBars(SymbolToManage, IntIndTF1) >= BarCount1+IntInd1S1+IntInd1S2+2)
- Pipologist replied Oct 11, 2019
Doing this leads to more questions...Can Bars() and iBars() be used interchangeably and get the same results? What is the difference? On the tests I used both interchangeably and got the same test result but what is the difference to the compiler?
- Pipologist replied Oct 11, 2019
Put in the minimum bar count filter like this. Seems to work well so far...back to more testing although it's sitting live on my local machine waiting to see if there is one last Friday trade to take. int BarCount1; int TFBars1 = ...
- Pipologist replied Oct 11, 2019
I added the -1 to the limit bars count and it seems to work without affecting any changes to the results so that's fine. To make sure iLowest/iHigheset is not returning -1 I did this, pretty sure it's not the correct way b/c the results are ...
- Pipologist replied Oct 11, 2019
Yeah that was a copy and paste error above. Not sure I understand the run after the 17th bar concept and how to implement that or why it works. For the meantime, I've settled with this...repeated a second time with a second set of variables for the ...
- Pipologist replied Oct 11, 2019
I agree. I'm working on getting the array issue straightened out. Biggest issues (read: weaknesses) coding MT4 personally have been coding for arrays and loops, which is also hindering testing and implementing more robust methods. For now, I'm going ...
- Pipologist replied Oct 10, 2019
I've managed to get the variables to pass though and simulate the previous results very closely with this... int counted_bars=Bars-MathMax(MathMax(IntInd1S2,IntInd2S2),MathMax(IntInd1S1,IntInd2S1)); for(int i=Bars-counted_bars-1;i>0;i--) { PerH1 = ...
- Pipologist replied Oct 10, 2019
Well, I'm still getting "array out of range" errors on other symbols during tests with this. Placing it out of tick by tick checking make it faster is a plus but it doesn't solve the original issue. Back to wrestling it. int ...
- Pipologist replied Oct 10, 2019
This is what I did... int counted_bars=IndicatorCounted(); for(int i=Bars-counted_bars-1;i>0;i--) { etc. etc. etc. } It seems like it may have taken care of the array out of range, I need to check other symbols to test. However, a test by tick was ...