Need Order script w/ built in SL
  #1 (permalink)  
Old 03-05-2007, 03:45 PM
Freshman
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
wadeboxjr is on a distinguished road
Default Need Order script w/ built in SL

I need a script w/ a built in SL. Here's the base code for the script I have now. All it needs is a built in SL. Should be pretty simple, but I'm not a coder by any means...


Buy 1 Lot=$10 Auto Script
#include <stdlib.mqh>
#include <WinUser32.mqh>
//+------------------------------------------------------------------+
int start()
{

//----
int ticket=OrderSend(Symbol(),OP_BUY,1.00,Ask,3,0,0,"e xpert comment",255,0,CLR_NONE);

}
//----
OrderPrint();
return(0);

//+------------------------------------------------------------------+


Thanks.

EWB
wadeboxjr@marten-enterprises.com
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need this simple script :-) bossxero MetaTrader and ZeroCode 2 11-22-2006 01:03 AM
4109 Bug in reverse script Bill R Trading Systems 3 08-04-2006 08:12 PM
Easy Questions About Script matthd MetaTrader and ZeroCode 7 10-25-2005 11:03 PM


All times are GMT. The time now is 11:30 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now