Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Tools and utilities


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (9) Thread Tools Display Modes
  #151 (permalink)  
Old 06-10-2008, 09:29 AM
amenlo9's Avatar
Senior Member
 
Join Date: Apr 2006
Location: Malaysia
Posts: 185
amenlo9 is on a distinguished road
thanks Ferru..another question

Quote:
//+------------------------------------------------------------------+
//|1-Click Buy Order.mq4 |
//+------------------------------------------------------------------+
int start()
{
OrderSend(Symbol(), OP_BUY, 1, Ask, 2, Ask-100*Point, Ask+100*Point);
return(0);
}
How to modify this script to become no TP and SL?i try changed Ask-100 to Ask-0 but nothing was happen.i noticed sometimes this script not working when i drag it into chart or press the shortcut key.i try many times but it still not working.any working 1 click buy/sell script here?thanks
__________________
~~Keep The Faith~~

Last edited by amenlo9; 06-10-2008 at 09:41 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #152 (permalink)  
Old 06-10-2008, 10:04 AM
Senior Member
 
Join Date: Feb 2007
Posts: 716
FerruFx is on a distinguished road
Quote:
Originally Posted by amenlo9 View Post
thanks Ferru..another question


How to modify this script to become no TP and SL?i try changed Ask-100 to Ask-0 but nothing was happen.i noticed sometimes this script not working when i drag it into chart or press the shortcut key.i try many times but it still not working.any working 1 click buy/sell script here?thanks
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,0,comment,m agic,0,Blue);

FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #153 (permalink)  
Old 06-10-2008, 10:36 AM
amenlo9's Avatar
Senior Member
 
Join Date: Apr 2006
Location: Malaysia
Posts: 185
amenlo9 is on a distinguished road
Quote:
Originally Posted by FerruFx View Post
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,0,comment,m agic,0,Blue);

FerruFx
what does 3 mean?is it spread or maximum deviation?thanks
__________________
~~Keep The Faith~~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #154 (permalink)  
Old 06-10-2008, 03:39 PM
Senior Member
 
Join Date: Feb 2007
Posts: 716
FerruFx is on a distinguished road
Quote:
Originally Posted by amenlo9 View Post
what does 3 mean?is it spread or maximum deviation?thanks
Here's the complete function to understand:

int OrderSend( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)

Hope that helps.

FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #155 (permalink)  
Old 06-11-2008, 01:02 AM
amenlo9's Avatar
Senior Member
 
Join Date: Apr 2006
Location: Malaysia
Posts: 185
amenlo9 is on a distinguished road
Quote:
Originally Posted by FerruFx View Post
Here's the complete function to understand:

int OrderSend( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)

Hope that helps.

FerruFx
thanks you very much again Ferru.last question,is it possible to create a script which can execute buy/sell limit within the spread?
__________________
~~Keep The Faith~~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #156 (permalink)  
Old 06-11-2008, 03:03 AM
Senior Member
 
Join Date: Feb 2007
Posts: 716
FerruFx is on a distinguished road
Quote:
Originally Posted by amenlo9 View Post
thanks you very much again Ferru.last question,is it possible to create a script which can execute buy/sell limit within the spread?
Pending orders within the spread? Hummm ... not sure.

FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #157 (permalink)  
Old 06-11-2008, 03:54 AM
amenlo9's Avatar
Senior Member
 
Join Date: Apr 2006
Location: Malaysia
Posts: 185
amenlo9 is on a distinguished road
Quote:

This is what I have for the OrderSend script ...

// ----------------------------------------

OrderSend(Symbol(), OP_BUY,
Lots, NormalizeDouble(Ask - LimitEntry*Point,Digits), 3, NormalizeDouble(Bid - StopLoss*Point, Digits),
NormalizeDouble(Bid + TakeProfit*Point, Digits), "MGF-PSAR-LMT-3-2-15-b", magicnolong, 0, CLR_NONE);

// ----------------------------------------

hi,someone share script above to me that might suit my requirement but i dont know how to compile it.can you help?thanks
__________________
~~Keep The Faith~~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #158 (permalink)  
Old 06-11-2008, 06:54 AM
Junior Member
 
Join Date: Oct 2007
Posts: 1
blackblame is on a distinguished road
Smile

Hi to all.I'm looking for an EA or script that close all positions opened on one pair (because I have multiple positions in multiple cross). Does it exist?

Best regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #159 (permalink)  
Old 06-16-2008, 03:56 PM
hermanto's Avatar
Junior Member
 
Join Date: Apr 2008
Posts: 6
hermanto is on a distinguished road
Somebody help me please

Could somebody help me ?

I need ea that close all open positions (for certain pair) when 2 MA crossed.
Off course, if faster MA crossed down slower MA it close long position, vice versa.
Variabels :
- Faster MA type
- Faster MA value
- Slower MA type
- Slower MA value
- TimeFrame (we can fixed the timeframe without being interferred
when we switching between graph timeframe windows)

I prefer to enter the trade manually and let the ea babysitting my trade until the trend reversed.

Can anybody tell me about any ea available that fulfill my wish ?

I have tried to modified MA crossed EA, but it didn't work.

Infact, i have no idea about the code in that EA.

Can anybody modified it for me ?

Thank you for your kindness.
Attached Files
File Type: mq4 Exit Trade.mq4 (2.8 KB, 7 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #160 (permalink)  
Old 06-17-2008, 04:39 PM
Junior Member
 
Join Date: Feb 2006
Posts: 11
rlp512 is on a distinguished road
Stop trading for x number of hours

I am using the CloseOrdersLessThanStatedEquity.mq4 that closes all trades at stated equity level but I need to add a script so that the EA does not resume trading. Anyone have anything?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tools-utilities/174-close-all-open-tools.html
Posted By For Type Date
Ind close sume post with one click? - Nogold.com This thread Refback 08-08-2008 11:34 AM
Close all trades with a push of a button? This thread Refback 07-21-2008 03:38 PM
Close all trades with a push of a button? This thread Refback 07-21-2008 03:28 PM
Close all trades !!! This thread Refback 06-24-2008 03:13 AM
Close all trades !!! This thread Refback 06-19-2008 10:53 AM
Close all trades !!! This thread Refback 06-19-2008 09:33 AM
Antara EA yang telah diLIVE test oleh MyMEFx Grup - Page 50 - Nogold.com This thread Refback 12-05-2007 03:58 PM
skrypty close i modify This thread Refback 08-07-2007 04:11 AM
Ind close sume post with one click? - Nogold.com This thread Refback 06-30-2007 03:02 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open/close trade on same bar's close? WNW Expert Advisors - Metatrader 4 2 03-29-2007 05:37 AM
close all open trades ea G-Riper General Discussion 2 08-02-2006 09:41 PM
Close all open positions jonjonau Expert Advisors - Metatrader 4 6 07-12-2006 05:01 AM
Close All Open Positions? lonespruce Metatrader 4 9 06-22-2006 07:20 AM


All times are GMT. The time now is 06:52 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.