Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader Expert Advisors
Framework
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="smallpip, post: 17898, member: 9232"] 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. [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…