Posts by salmas64
yes Kenny good thinking!! Thanks and when I use OrderCloseBy() I don't have to worry about time... maybe I can wait for moment when spread is the lowest.
Thanks Kenny that's very useful information. Honestly I don't understand mechanics what's happening on broker's side. Why he has to enter opposite trade when I'm closing trade? I thought broker is passing and leveraging my trade somewhere "farther away" [smiley]. Does it work other way as well? What broker does when I'm entering new trade? Has he closes his existing trade in opposite direction? I really didn't notice OrderCloseBy() function. [smiley] Thanks for the examples, so far I used in closing routine similar way like in your Close_All script. In my case I have mixed bag of B......
Thanks Kenny. Closing 30 trades takes about 1-5 seconds, it seems to me pretty fast. Maximum within 1-3 ticks, that's why I think can't be caused by spread [sad] Minimal slippage I managed to do via recursive loop with increasing slippage value. In other words: EA tries to close trade with slippage 0. if fails tries again with slippage 1. if fails tries again with slippage 2. if fails tries again with slippage 3. if fails ......... until trade is clo......
Thanks for ideas. Hmm.... it seems to the world of MT4 is less ideal that I thought [confused] My EA works on idea of martingale system, but if case of larger movement of the market it opens hedges for some trades to protect equity. EA calculates combined profit for all opened BUY and SELL positions and if reaches "Target combined $ profit" or "Target Stop loss $ profit" closes all trades immediately with minimal slippage as possible. EA calculates profit for each trade the way ( OrderProfit()+OrderSwap() ) so I believe this should be independent from broker's feeds. And......
Hello programmers, I'm newbie with programming EA. I'm using my own EA and Ive made test to run same EA with same setting on few different brokers demo accounts. EA on 2 brokers runs very similar in profit but on another 2 brokers runs completely different and to my surprise got 2 negative results and totally different. I've started them in same time on same balance and as far I know spreads are very similar on tested brokers. Can anyone experienced advise me, what could cause this differences? That exactly same EA on same conditions with different broker gives completely opposite results......
Imports (2h 36min)
GBP/JPY tests the 154.00 area(3 min ago)
EURUSD 1.29346 GBPUSD 1.51078
USDJPY 101.766 USDCAD 1.02926
Tools Community Reviews Platform Company Support
Economic Calendar Community Brokers Widgets About FAQ
Forex Market Systems Expert Advisors Features Blog Help
Forex Volatility Most Popular Systems Signal Providers API Twitter Contact Us
Forex Correlation Strategies VPS Services Mobile Facebook Report A Bug!
Forex Broker Spreads Contests EA Programming Translations    
Forex Broker Quotes Forex Charts PAMM Brokers RSS    
Forex Broker Swaps Community Outlook Rebate Programs      
Streaming Forex News   Trading Platforms      
Forex Broker Volume          
COT Data New          

Site Map  |   Terms & Conditions  |   Privacy Policy
©2012 Myfxbook Ltd. All Rights Reserved.
HIGH RISK WARNING: Foreign exchange trading carries a high level of risk that may not be suitable for all investors. Leverage creates additional risk and loss exposure. Before you decide to trade foreign exchange, carefully consider your investment objectives, experience level, and risk tolerance. You could lose some or all of your initial investment; do not invest money that you cannot afford to lose. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions. Any data and information is provided 'as is' solely for informational purposes, and is not intended for trading purposes or advice.