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 4
MQ4 Code Works
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="hayseed, post: 211762, member: 5898"] //----- your code is looking better..... reduce it more..... 50% more..... it's a good practice to not post anything with the actual ordersend function in it that might place trades....... unless you are absolutely certain it's coded correctly.... once it's out there, it's out there...... most brokers will not allow the stoploss and profit targets to be [I][B]set [/B][/I]with the order..... they might be [I][B]sent[/B][/I] with the order, as seen in the journal, but will be 0.0000 in the trades.... send first, modify second.... it looks like your order close functions will close every order on that pair...... what if someone has other orders not associated with the ea..... use a magic number or the comments to limit orders it controls...... unless you want to close them all..... take a closer look at your filters....... keep in mind, the 50 can be above the 200 and both be falling like a rock..... or it can be below the 200 and both rising like penny rockets..... when using > and < , it's occasionally better to use > and <= ..... the <= covers the possibility of them being equal..... sometimes i forget and other times i might just not be wanting to be precise...... but <= is better.....h [/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…