|
|||||||
| 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 |
|
|||
|
Quote:
![]() |
|
|||
|
Quote:
if(bid == MarketInfo(Symbol(),MODE_BID)) Hope it helps. |
|
|||
|
if(bid == MarketInfo(Symbol(),MODE_BID)+10)
Thank You guys, it works! May I ask You another?
if(bid == MarketInfo(Symbol(),MODE_BID)+10) It is intended that in a certain time the market recognized the price which is for example, x. And will sell 10 pips above this x. I tried this code, and it doesn't work. Question#2 If within certain seconds the trade is not activated, what is the code syntax for disabling the trade? Please help!!! Thank You. Last edited by MQL4 : 07-24-2007 at 12:51 AM. |
|
|||
|
Seconds???!?!
Jeez guys learn some MQL4! We don't trade in seconds! We trade in Pips! In ticks! In new prices! But not seconds. You might get a new tick once per few minutes. If you learn some MQL4 and some market moves, you'll see that if you want to trade in "seconds", you'll have to trade during the most active time. Also, you can get time in seconds from Timexxxx (xxxx - something, just type Time and you'll get a list of possible functions, then look up those functions on mql4.com) Thats how people learn without being annoying with very simple questions ![]()
__________________
MQL4 programming is easy ^^ |
|
|||
|
Quote:
Thanks. ![]() What about Question #1? Can't find it on mql4.com |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning Cycles For New Traders | Dan7974 | General Discussion | 350 | 01-18-2008 06:04 PM |
| Learning to code for autotrading | GoatT | Metatrader Programming | 8 | 01-10-2007 08:55 PM |
| Self learning expert | mrtools | Expert Advisors - Metatrader 4 | 32 | 10-22-2006 05:29 PM |