- Search Forex Factory
- 18 Results
- ravster replied May 12, 2009
Oh, okay. So if I wanted to be sure of how that trade would have gone in real-time, I should just make that day the second-last day of the trading period? In other words, can I safely ignore the testers results for that one last trade? Thanks.
- ravster replied May 11, 2009
Oops, sorry about that. Here is the code.
- ravster replied Jul 18, 2008
Sorry — Sorry, Rabid, I should have explained earlier what the 'lma' variable is. This extern int is the number of periods the iMA function uses to calculate the moving average. I apologize for the misinterpretation, I should have specified ...
- ravster replied Jul 18, 2008
Does not work. — Zen_leow: Thanks for the reply. I normalized both calls to the iMA() function, but the tester still continues to return 'OrderModify error 1'. Do you have any alternative suggestions or ideas? Thank you, Ravi.
- ravster replied Jul 13, 2008
Thanks. — Hey lucidlamp, Your suggestion was spot-on. I multiplied the factor of unrealized profits by 'Point' and the function started working correctly. Thank you.
- ravster replied Jul 8, 2008
Hello lucidlamp, Yes, that is exactly correct. The trailing stop should start working once the trade has 11 pips of unrealized profit, locking in 1 pip of profit. After that, the trailing stop should follow the trade at a distance of 10 pips (in the ...
- ravster replied Jul 8, 2008
Hello, tdion: url I grew up in India, and so I use British English most of the time (my friends here in Canada still aren't quite used to it yet). Trailing stops would affect profits; thats why they are used in the first place. For example, ...
- ravster replied Jul 8, 2008
How to calculate trend? — Hi, I'm new to MQL4 so maybe there is some standard way to check for a trending SMA, but I don't know of it yet. How would to like to check for the trend of the SMA? For example, is the SMA trending up (for the ...
- ravster replied Jul 8, 2008
Me too (somewhat) — I do (nearly) the same thing on a week-by-week basis with my simple ma cross strategy. What I do is look at the optimized values for one week and use exactly those for the next week, ad infinitum. Its not great, but it ...
- ravster replied Jul 8, 2008
Thank you. — Thank you Ronald Raygun, lucidlamp, I had a look at the MarketInfo() function and now my problem is solved and my trailing stop function is working well. I will probably use IBfx, since their spreads are good (2 pips) on EURUSD, ...
- ravster replied Jul 8, 2008
To find the best combination — The point of optimization is to find out which combination of settings would return a required level of the optimization goals (which could be: greatest profit, lowest drawdown, etc.). Note, however, that ...
- ravster replied Jul 5, 2008
How to set the stops (SL and TP) — Hey, With regard to the invalid stops error, you are currently usingOrderSend(Symbol(),OP_BUY,Lots,Ask, Slippage,SL,TP,"HotKeyBuy",0,0,Blue );This is incorrect. What you should put ...
- ravster replied Jun 30, 2008
Thank you — Thank you, DaveL. I'll certainly try your method. Thank you.
- ravster replied Jun 30, 2008
MQL4 documentation — Hello, You could also start by looking at url . I just started learning mql4 too, and found the 'book' they have to be a helpful guide to learning the language. After that, I simply look up the 'documentation' section ...
- ravster replied Jun 26, 2008
Partly fixed — Thanks Charlinks, Your suggestion worked, and I'm no longer getting the error 4107. Instead of using (SL * Point), I had to use (Ask - (SL * Point)). and it worked perfectly, otherwise it was giving an error 130. Thank you, Ravi
- ravster replied Jun 25, 2008
Should learn to use google better — Thanks Ronald Raygun, I tried searching for something like this before I started coding, but I guess there is more I need to learn about google. I've actually offered to help the other coder with his/her ...
- ravster replied Jun 25, 2008
Update — Hello, So, I've fixed that error of mine and a few others that popped up. Now we have a system that follows some of the turtles' trading rules. There are still things to address concerning risk management and rules for trending. ...
- ravster replied Jun 25, 2008
Thank you — Oh, wow. That was a really stupid error on my part. Thanks for setting me straight, nvwine. Ravi
- Posts by Member Search: 'ravster'