Forex



Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2007, 03:21 PM
DanielTyrkiel's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 176
DanielTyrkiel is on a distinguished road
Fire and forget

Is there a script that does the following:
If price equals A, set (buy or sell - a bool function) order at price B with a tp and sl
Is it possible to write one if you haven't got one similar?
__________________
Think for Yourself, Question Authority

SKYPE: danieltyrkiel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2007, 03:50 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Scripts created by Igorad.
Open it in MetaEditor for the settings explanation.
Attached Files
File Type: mq4 AllBuyOrders.mq4 (2.6 KB, 72 views)
File Type: mq4 AllSellOrders.mq4 (2.6 KB, 58 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2007, 10:40 PM
DanielTyrkiel's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 176
DanielTyrkiel is on a distinguished road
Quote:
extern int Order_Type = 0; // 0- Current Price; 1 - SELLSTOP; 2 - SELLLIMIT
extern double Lots = 1;
extern double Price = 0;
extern double Distance = 0; // Distance from current price in pips for pending orders
extern int TakeProfit = 0; // TakeProfit in pips
extern int StopLoss = 0; // StopLoss in pips
extern int Slippage = 3;
extern string Comments ="SELL";
extern int Magic = 0;
If I understand correctly, I should set "Price" to whatever value I need (price A in my initial description). I'll test it. Thank you very much for your help!
__________________
Think for Yourself, Question Authority

SKYPE: danieltyrkiel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2007, 09:54 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by DanielTyrkiel
If I understand correctly, I should set "Price" to whatever value I need (price A in my initial description). I'll test it. Thank you very much for your help!
As I understand the "Price" is for stop orders.

It is very good script created by Igorad because we may open trades manually with any magic number selected.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 11-03-2007, 04:49 PM
lepiricus's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 218
lepiricus is on a distinguished road
This EA is very interesting to me. It would allow for you to "hide" your pending orders as well as TP and SL from your broker.

Question is, when you use it to buy gbp/usd at 2.0000 how do you keep it from opening multiple orders as price danced around 2.0000, or say your TP or SL was hit will it open another order if price runs over 2.0000 again?

Is there any way to have it work like mouse trap, so to speak, so that it only works once before you have to reset it?
__________________
All your pips are belong to us!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sure Fire Forex Trading ( Mark Mc RAE ) De Vinci Documentation 4 02-22-2007 04:21 AM


All times are GMT. The time now is 12:11 AM.



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