cazador Posted March 14, 2010 Report Posted March 14, 2010 This Script to close all open position with one click. while open u can just open the trade window and adjust the currency and the amount and the buy or sell gonna be 1 click but if u found a script which could make it faster feel free to share it http://www.mirrorcreator.com/files/HA1WEVZH/Close_all_possitions.rar_links ---------------------------------------------------------------------------------------- to implement your request for entry all it takes is 2 essentially one-line MQL4 scripts and 2 hotkeys. //+------------------------------------------------------------------+ //|1-Click Buy Order.mq4 | //+------------------------------------------------------------------+ int start() { OrderSend(Symbol(), OP_BUY, 10, Ask, 3, Ask-15*Point, Ask+12*Point); return(0); } //+------------------------------------------------------------------+ //|1-Click Sell Order.mq4 | //+------------------------------------------------------------------+ int start() { OrderSend(Symbol(), OP_SELL, 10, Bid, 3, Bid+15*Point, Bid-12*Point); return(0); } (Spacing isn't rendered properly here on ET, unlike in the attached files.) Here Symbol() refers to the pair on the currently active chart, order size = 10 lots, slippage = 3, SL = 15, TP = 12. Feel free to edit any variables as needed, on the fly. Ctrl-s and F5 to save and compile after any edit, of course. Save these two files in the \Program Files\[MT4 dir]\experts\scripts folder. Open with MetaEditor and compile. In MT4 Navigator - Scripts, right-click on a script - Set hotkey, e.g.: Alt-b for 1-Click Buy Order Alt-s for 1-Click Sell Order. You're set to go, for entries. For exits, a script could be almost as simple or more involved. It depends on the trader's MO and therefore exactly what actions he needs to be able to execute with 1 click. http://www.mirrorcreator.com/files/ZEVZCAQW/1_click_buy_sell_Order.rar_links http://www.mirrorcreator.com/files/NTIVROKN/1_click_buy_sell.rar_links I hope someone finds this to be helpful! :-bd Bye,bye.. :shand: Cazador
hermanhess Posted March 16, 2010 Report Posted March 16, 2010 Re: Does anyone know if 1-click entries and exits are possible? ibfx has a scrip which will open your order in 1 click and another to close it in 1 click better to use that
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now