Serving Traders Since 2005
|
|
|
|||||||
| MetaTrader Expert Advisors Post and discuss the MetaTrader expert advisors here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
2. Currently the settings in code are Lots=0.1 and TP=255. I am assuming these are good for a $10K account. However since I am just starting new, I opened a mini account with $700. This is just for testing. If the EA is profitable then I plan to upgrade the account. Can I run this EA with Lots=0.01 and TP=25 (one tenth of the original settings)?[/QUOTE] You should just reduce Lots to 0.01 and don't touch the TP. But your broker needs to support 0.01 lot trading. That means that the EA lost all the balance. You've probably altered some settings or increased the lot size.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Quote:
Quote:
Quote:
You can see the equity curve on the test Graph tab and also the details about each order in the Results tab.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Hi Enivid,
I figured out the problem. The problem lies with pyramid. It takes too many orders and the AccountFreeMargin becomes zero. Hence it is stopped out. I got it to work for 2010 H1 by adding following condition: extern int OrdersToTake = 10; extern double MinAccountFreeMargin = 5000; .... if (itv >= Interval && AccountFreeMargin() > MinAccountFreeMargin) it worked for 2010 and gave me 80K profit for 2010 on H1. I tried to test it for 2009 but it again got stopped out. The issue is that it does not have money management built into it. It keeps taking the orders with every new bar until free margin runs out. Can you please build money management into so that it does not take more than 1 or 2% of account balance as risk. Basically, based on the SL and %age of risk, it should calculate lot size. |
|
||||
|
This EA wasn't created by me, so I am not very interested in developing it further. But on the other hand you could add such code and share with the rest of us.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Oh,
I thought since you are admin of this forum, and I assume you are also owner of this site, it was developed by you. I have made some changes to it and back tested till 2003. It does not stop out now, and gives roughly 5K profit for 10K account most years. Can you please point me to the developer of framework? |
|
||||
|
It was developed by Ron Thompson from http://www.forexmt4.com/.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
![]() |
| Bookmarks |
| Tags |
| cci, expert advisor, metatrader, mt4 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|