|
|||||||
| 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 |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
To start off, I am a beginner MQL programmer. Now, here goes a beginner question.
I have a variable defined in my EA: Code:
extern double Lots = 0.1; Thanks in advance, Diam0nd.
__________________
- MetaTrader v4.00 Build 216 (16 Apr 2008) - MetaTrader MultiTerminal v4.00 Build 213 (20 Mar 2008) - Always use the latest (^ABOVE^) MetaQuotes products, saves a lot of nerves. What's new. "METAQUOTES FOR LIFE!" |
|
||||
|
Try to find and modify all "OrderSend" functions in EA... Add "Lots" variable...
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); Quote:
__________________
http://www.gummy-stuff.org/raff-regression.htm http://www.try-your-luck.com/ Lost in action ;-)... just_raff1410[at]yahoo.com |
|
||||
|
Quote:
![]()
__________________
- MetaTrader v4.00 Build 216 (16 Apr 2008) - MetaTrader MultiTerminal v4.00 Build 213 (20 Mar 2008) - Always use the latest (^ABOVE^) MetaQuotes products, saves a lot of nerves. What's new. "METAQUOTES FOR LIFE!" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I check for a double top or double bottom | iscuba11 | Metatrader 4 | 4 | 04-25-2008 08:19 AM |
| double exponencial | greenmouse | General Discussion | 8 | 06-13-2007 10:51 PM |
| Lots of $$ and lots of potential... | dukeofdents | Suggestions for Trading Systems | 5 | 04-08-2007 02:19 AM |
| can i extern a selectable variable? | winnysunny | General Discussion | 1 | 04-19-2006 01:49 AM |
| Double CCI crossover | Thruline | Indicators - Metatrader 4 | 1 | 12-14-2005 08:22 AM |