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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

"Close All" Button EA or Indicator for symbol only 1 reply

close trade button? 1 reply

Need an on-chart button to close position w/o confirmation 9 replies

Close all trades with a push of a button? 1 reply

Confessions of a compulsive close-button clicker 10 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 38
Attachments: Close All Trade Button on Screen (EA)
Exit Attachments

Close All Trade Button on Screen (EA)

  • Last Post
  •  
  • Page 1 2 3
  • Page 1 2 3
  •  
  • Post #1
  • Quote
  • First Post: Edited Dec 3, 2020 12:25am Jun 10, 2016 2:59pm | Edited Dec 3, 2020 12:25am
  •  qkcode
  • Joined Jun 2016 | Status: Member | 28 Posts
A simple Close All Trades button on chart. maybe somebody like to use it.

Have fun.

====

update on v2 : simple updates (visually telling) and also corrected the buttons to be unpressed few seconds after being pressed (wasn't the case in v1).

and yes, this is an Expert Advisor (EA), place it in the Experts folder.

====

update on v2x : limit the close all/delete all functions to orders on current chart only. as requested by mbisson.
Attached Images
Attached Files
File Type: mq4 me_Close_All v1.mq4   5 KB | 7,774 downloads
File Type: ex4 me_Close_All v1.ex4   14 KB | 4,980 downloads | Uploaded Jun 12, 2016 1:00am
File Type: ex4 me_CloseAll v2.ex4   14 KB | 632 downloads | Uploaded Sep 17, 2020 5:51am
File Type: mq4 me_CloseAll v2.mq4   14 KB | 905 downloads | Uploaded Sep 17, 2020 5:51am
File Type: mq4 me_CloseAll v2x.mq4   15 KB | 654 downloads | Uploaded Dec 3, 2020 12:24am
File Type: ex4 me_CloseAll v2x.ex4   13 KB | 705 downloads | Uploaded Dec 3, 2020 12:24am
  • Post #2
  • Quote
  • Jul 1, 2016 12:20pm Jul 1, 2016 12:20pm
  •  qkcode
  • Joined Jun 2016 | Status: Member | 28 Posts
updated : add deletion of pending orders.
Attached Image
Attached Files
File Type: ex4 me_Close_All v1.1.ex4   12 KB | 3,082 downloads
File Type: mq4 me_Close_All v1.1.mq4   6 KB | 3,676 downloads
3
  • Post #3
  • Quote
  • Jul 1, 2016 12:31pm Jul 1, 2016 12:31pm
  •  thanhfxvn
  • | Commercial Member | Joined Apr 2016 | 9 Posts
Can you add "close on time EA" on it?
Attached File
File Type: mq4 close on time.mq4   2 KB | 1,506 download
1
  • Post #4
  • Quote
  • Edited at 2:50pm Jul 1, 2016 12:50pm | Edited at 2:50pm
  •  guesser
  • | Joined Jun 2016 | Status: Dragon trader | 594 Posts
Quoting qkcode
Disliked
updated : add deletion of pending orders. {image} {file} {file}
Ignored
qkcode, thank you.

Is a useful tool much better than drag the script.
Attached Image
"You may say I am a dreamer .... but I am not the only one."
  • Post #5
  • Quote
  • Jul 7, 2016 8:19am Jul 7, 2016 8:19am
  •  hannele
  • Joined Sep 2012 | Status: Member | 210 Posts
Quoting qkcode
Disliked
updated : add deletion of pending orders. {image} {file} {file}
Ignored
Thank you
cheers hannele
  • Post #6
  • Quote
  • Sep 28, 2016 1:33pm Sep 28, 2016 1:33pm
  •  my_bie
  • | Joined Sep 2008 | Status: Member | 23 Posts
Nice n Simple,

can you add
___________________
| |
| [ 0.01 ] Lot |
| [ Buy ] [ Sell ] |
| |
| [ Close All Buy ] |
| [ Close All Sell ] |
| [ Close All Trade ] |
___________________

Thanks
  • Post #7
  • Quote
  • Apr 11, 2017 9:51am Apr 11, 2017 9:51am
  •  qkcode
  • Joined Jun 2016 | Status: Member | 28 Posts
Quoting my_bie
Disliked
Nice n Simple, can you add ___________________ | | | [ 0.01 ] Lot | | [ Buy ] [ Sell ] | | | | [ Close All Buy ] | | [ Close All Sell ] | | [ Close All Trade ] | ___________________ Thanks
Ignored
here you go...

(months later... hahaha...)
Attached Image
Attached Files
File Type: mq4 me_SimpleTradingDashboard v1.mq4   18 KB | 9,046 downloads
File Type: ex4 me_SimpleTradingDashboard v1.ex4   18 KB | 5,595 downloads
10
  • Post #8
  • Quote
  • Apr 12, 2017 2:15am Apr 12, 2017 2:15am
  •  FlipFlopGC
  • | Commercial Member | Joined Aug 2016 | 629 Posts
Possible to add close by pairs?
flipfloptrader forum
  • Post #9
  • Quote
  • Apr 12, 2017 3:09am Apr 12, 2017 3:09am
  •  qkcode
  • Joined Jun 2016 | Status: Member | 28 Posts
Quoting FlipFlopGC
Disliked
Possible to add close by pairs?
Ignored
yes possible. but I'm not doing it.
  • Post #10
  • Quote
  • May 17, 2017 2:08pm May 17, 2017 2:08pm
  •  my_bie
  • | Joined Sep 2008 | Status: Member | 23 Posts
Quote
Disliked
here you go...
(months later... hahaha...)
its work perfecly

thanks alot
  • Post #11
  • Quote
  • Jun 1, 2017 1:57pm Jun 1, 2017 1:57pm
  •  adelzadeh
  • Joined Oct 2015 | Status: loading... | 1,038 Posts
EA trading panel
Attached Image
Attached File
File Type: ex4 Order-On-Chart-Panel-EA.ex4   65 KB | 6,755 downloads
what we want:1+1+1+1+1+1+1+1=8 what market delivers:1+2+8+7-4+0-5+8-4-5=8
7
  • Post #12
  • Quote
  • Jun 2, 2017 3:25am Jun 2, 2017 3:25am
  •  jjventural
  • | Joined Apr 2012 | Status: Member | 74 Posts
Quoting qkcode
Disliked
{quote} here you go... (months later... hahaha...) {image} {file} {file}
Ignored
Many many thanks qkcode for this symple and hepful EA. Just one question, when you move the EA along the chart, the field for the amount of lots doesn't move with the rest of the panel. Could you please fixed it and add arrows for increasing or decrasing the number of lots instead of written it by hand???

It's possible to have a panel for the opened orders with a button to close them individually and with the gain/loss wirtten on it?? (I don't know if I'm asking to much ...)

Thanks one more time....
  • Post #13
  • Quote
  • Jul 15, 2017 9:17pm Jul 15, 2017 9:17pm
  •  clickers
  • | Joined Nov 2015 | Status: Member | 6 Posts
Thank you. PAP 1.3
  • Post #14
  • Quote
  • Jul 16, 2017 12:55am Jul 16, 2017 12:55am
  •  highway
  • Joined Sep 2005 | Status: Member | 1,352 Posts
Quoting qkcode
Disliked
{quote} here you go... (months later... hahaha...) {image} {file} {file}
Ignored
Thank You Qkcode
Could you please make and put these coloured orders lined up a horizontal position in a separate_window?
Really appriciate your gift
https://www.forexfactory.com/attachm...1&d=1491918587
  • Post #15
  • Quote
  • Aug 5, 2017 11:32am Aug 5, 2017 11:32am
  •  redfan
  • Joined Sep 2011 | Status: Member | 1,074 Posts
Quoting qkcode
Disliked
{quote} here you go... (months later... hahaha...) {image} {file} {file}
Ignored
Just wondering if you could put a stop loss and take profit. I think this could make a beautiful scalping tool,
thank you in advance for your precious time.
  • Post #16
  • Quote
  • Aug 18, 2017 3:40am Aug 18, 2017 3:40am
  •  soladosu
  • | Joined Jul 2016 | Status: Member | 23 Posts
Quoting qkcode
Disliked
{quote} here you go... (months later... hahaha...) {image} {file} {file}
Ignored
can you pls add: Buy limit, Buy stop, Sell limit, Sell stop, the order placement should be set in pip (e.g 10 pips to buy limit)
Thanks in advance.
  • Post #17
  • Quote
  • Aug 18, 2017 5:04am Aug 18, 2017 5:04am
  •  falanca
  • | Joined Sep 2007 | Status: Member | 320 Posts | Online Now
İt doesnt work on my mt4
  • Post #18
  • Quote
  • Aug 19, 2017 2:05am Aug 19, 2017 2:05am
  •  HeroKato
  • | Commercial Member | Joined Nov 2016 | 183 Posts
Using expert advisors is really a bad idea.

1- you cannot run other expert advisors meanwhile
2- ea are not meant for this.

use scripts instead.

those are drag n drops scripts, drop them on the chart to select all the trades from that chart or double click them to actually make them work on all trades for all charts.

not to say that if you want to place trades, scripts are way easier to manage, for example this is a sell script, 20 SL x 40TP with 10 orders, 2.5 pips distance each.
drop above price to get sell limits, drop below price to get sell stops, double click to get 1 market order and multiple sell stops.

if you want to modify them, open with metaeditor and modify the values at the top, pretty simple, ofc create different scripts for different styles.
Attached Files
File Type: mq4 Close All.mq4   7 KB | 3,428 downloads
File Type: mq4 Close Losses.mq4   8 KB | 1,974 download
File Type: mq4 Close Open.mq4   8 KB | 1,957 download
File Type: mq4 Close Pendings.mq4   8 KB | 1,890 download
File Type: mq4 Close Profits.mq4   8 KB | 2,515 downloads
File Type: mq4 Buy 20-40TP l 25 griglia l 10 ordini.mq4   9 KB | 1,922 download
File Type: mq4 Sell 20-40TP l 25 griglia l 10 ordini.mq4   9 KB | 1,772 download
4
  • Post #19
  • Quote
  • Nov 9, 2017 2:21pm Nov 9, 2017 2:21pm
  •  Forexior
  • | Joined Feb 2016 | Status: Member | 32 Posts
Quoting HeroKato
Disliked
Using expert advisors is really a bad idea. 1- you cannot run other expert advisors meanwhile 2- ea are not meant for this. use scripts instead. those are drag n drops scripts, drop them on the chart to select all the trades from that chart or double click them to actually make them work on all trades for all charts. not to say that if you want to place trades, scripts are way easier to manage, for example this is a sell script, 20 SL x 40TP with 10 orders, 2.5 pips distance each. drop above price to get sell limits, drop below price to get sell...
Ignored

Is it possible to execute script with a clickable button on the chart?
  • Post #20
  • Quote
  • Feb 19, 2018 11:04pm Feb 19, 2018 11:04pm
  •  sogt725
  • | Joined Jun 2006 | Status: Zig n' Zag like a Wolfe Wave Bishop | 204 Posts
HeroKato,

Can you make a script to close all orders on all currency/instrument pairs , regardless of open, pending, profitable, loss-making & multiple pairs.
The scripts I tested above applies only on specific currency pair charts.
CCI decipherer
  • Platform Tech
  • /
  • Close All Trade Button on Screen (EA)
  • Reply to Thread
    • Page 1 2 3
    • Page 1 2 3
4 traders viewing now, 1 is a member:
miit
  • More
Top of Page
  • 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 / ©2021