View Single Post
  #2 (permalink)  
Old 05-20-2006, 02:11 AM
scorpion's Avatar
scorpion scorpion is offline
Administrator
 
Join Date: Aug 2004
Posts: 1,982
Thanks: 122
Thanked 383 Times in 152 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Only market order is possible for now. But in your case, you can produce same system with just market order.

1. Enter this in ZeroCode:

Buy logics:
Bid > LastPrice + (10 * Point)

Sell logics:
Bid < LastPrice - (10 * Point)


2. In the mql file, find // Calculate indicators' value

3. Below that, add these code:

PHP Code:
var: LastPrice(0), LastTime(0);
if 
TimeDay(LastTime) != Day() and Hour()=and Minute()=29 then
{
    
LastPrice Bid;
    
LastTime CurTime();

4. In above code, you may change Hour()=7 and Minute()=29 to whatever time you like. But it's in broker's timezone, not CET! So be sure to modify this to correct time.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.

Last edited by scorpion : 05-20-2006 at 02:14 AM.
Reply With Quote

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

Main Menu

Economic Forecast