• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 10:22am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:22am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

EA "Close all positions at profit target" closed all positions at loss ? 8 replies

Broker Challenge "NDD/STP" vs. True "ECN" and "Mkt Mkr" broker talk 46 replies

Dealing with "Invalid Price", "Requote", "Server Busy" in MT4 3 replies

Input parameters for "Stochastic Momentum Index" indicator? 5 replies

Commodity Channel Index with added input 20 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Need an exit all positions at "Hour" input added into this EA
Exit Attachments

Need an exit all positions at "Hour" input added into this EA

  • Post #1
  • Quote
  • First Post: Oct 31, 2018 3:27am Oct 31, 2018 3:27am
  •  Cizz
  • | Joined Jun 2015 | Status: Member | 128 Posts
Need an exit all positions at "Hour" input added into this EA.

Would love if someone could help me out, it should only take 5-10 minutes. Just need an option to close all positions at eg. 20:00 gmt input added.
Attached File
File Type: mq4 Breakout_v7.05 .mq4   51 KB | 116 downloads
  • Post #2
  • Quote
  • Nov 2, 2018 3:49am Nov 2, 2018 3:49am
  •  Beertje
  • | Joined Oct 2011 | Status: Member | 446 Posts
There is it. You need to calculate GMT to server time manually, because it is based on server time.
Attached File
File Type: mq4 Breakout_v7.05 Add CloseTime.mq4   52 KB | 98 downloads
 
 
  • Post #3
  • Quote
  • Last Post: Nov 2, 2018 8:47pm Nov 2, 2018 8:47pm
  •  Cizz
  • | Joined Jun 2015 | Status: Member | 128 Posts
Quoting Beertje
Disliked
There is it. You need to calculate GMT to server time manually, because it is based on server time. {file}
Ignored
Perfect yeah understood. Really appreciate you doing this. I find exiting the trades at the same time each day helps keeps the backtests more consistent rather than using take profits in pips.

I'll let you know how I go.

Thanks
 
 
  • Platform Tech
  • /
  • Need an exit all positions at "Hour" input added into this EA
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022