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 Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2007, 02: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!
Reply With Quote
  #2 (permalink)  
Old 02-19-2007, 02:50 PM
Administrator
 
Join Date: Sep 2005
Posts: 15,980
Blog Entries: 68
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, 56 views)
File Type: mq4 AllSellOrders.mq4 (2.6 KB, 45 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2007, 09: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!
Reply With Quote
  #4 (permalink)  
Old 02-20-2007, 08:54 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,980
Blog Entries: 68
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!
Reply With Quote
  #5 (permalink)  
Old 11-03-2007, 02:49 PM
lepiricus's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 209
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!
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

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


All times are GMT. The time now is 09:42 PM.



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