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
Need help in writing ea - Time factor to close order
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="peterngkl@gmail.com, post: 5020, member: 2803"] if order took place, take profit=100pips & stop lost=100pips is written in the ea, i would like to write additonal time factor(control) to close order as below:- says the order is a buy order ----------------------------- 1) if in 1st hour, a sudden price up of 80 pips happen in 10 minutes within this hour, close order; 2) if in 2nd hour, a sudden price up of 70 pips happen in 10 minutes within this hour, close order; 3) if in 3rd hour, a sudden price up of 60 pips happen in 10 minutes within this hour, close order; 4) if in 4th hour, profit at 50 pips, close order; 5) if in 1st hour, a sudden price down of 60 pips happen in 10 minutes within this hour, close order; 6) if in 2nd hour, a sudden price down of 70 pips happen in 10 minutes within this hour, close order; 7) if in 3rd hour, a sudden price down of 80 pips happen in 10 minutes within this hour, close order; 8) if in 4th hour, loses at 50 pips, close order; Can somebody kindly help me to write this? I am having problem in writing time factor in closing order. Thanks Rgds, [/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…