Thread: MQL Code Maker
View Single Post
  #36 (permalink)  
Old 06-06-2005, 10:52 AM
scorpion's Avatar
scorpion scorpion is online now
Administrator
 
Join Date: Aug 2004
Posts: 1,991
Thanks: 125
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

First of all, thanks to your suggestion very much.

Quote:
Originally Posted by Rastarr
Secondly, there needs to be some form of conditional logic not based solely on indicators i.e. consider this reasonably simple expert I alluded to above.

If Chart = Daily then
If Current Time = Bar Open Time + 4 hours then
If Bar Open Price > Current Price
Then
Place Buy Limit Order (at Bar Open Price) with S/L (Bar Low) with Profit (20 pips) and expire order in 24 hours
Else
Place Sell Limit Order (at Bar Open Price) with S/L (Bar High) with Profit (20 pips) and expire order in 24 hours
Actually, ZeroCode Beta 1 already support this condition. In next beta, this feature will be out interactively in the popup menu with indicators. One thing is not yet code is Entry Order instead of Market order option. Try below logics:

Buy logics:
AND Period = 1440
AND Hour = 4
AND Open > PriceBid

Sell logics:
AND Period = 1440
AND Hour = 4
AND Open <= PriceBid

In summary, next betas features:

- MQ4 support
- Custom indicator support
- Save the system (indicators and logics) to file
- Buy and Sell Entry Orders support
- More advance functions in popup menu

__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.

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

Main Menu

Economic Forecast