|
|||||||
| 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 (1) | Thread Tools | Display Modes |
|
|||
|
New version
Quote:
It does check for the exact time to the minute so if there is no tick for the minute entered it will not place the trade. Time must be entered as an integer. For example 13:30 would be entered as 1330. If there is no tick until 1331 the trade will not be entered. I would be useful to have a time range begin and end for the trade to be placed so I added that as well. The default is a two minute window for trade to be entered. Robert |
|
|||
|
Quote:
MrPips, mind to look into it? |
|
|||
|
Quote:
However, if I change the setting as follows (not using the default) 2007.06.14 15:30:35 GBP9AM EURUSD,M1 inputs: look_price_hour=7; look_price_min=31; close_hour=17; use_close_hour=true; take_profit=5; open_long=0; open_short=0; stop_long=0; stop_short=0; slippage=0; lots=0.1; magic=20051016; None of the trades were opened. Why? Last edited by jack2 : 06-14-2007 at 07:32 AM. |
|
|||
|
I noted that this EA could not open at current market price. It must be on Stop.
Then if one of the trade executed, the other side will be closed. Can it be modified not to close and to maintain there? I need to open 3 Buy positions and 3 Sell positions at the same time at market price. |
|
|||
|
If you want to open a trade at specific time, you either have to have the EA put in a market order or your pending order must be the a minimum number of PIPs away from the current price as dictated by your broker. You may want to look at one of those news EA.
|
|
|||
|
Quote:
The minimum exit target as required by broker is 5. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/8067-help-how-write-simple-ea-buy-sell-specific-time.html
|
|||
| Posted By | For | Type | Date |
| درخواست Indicator و expert - صفحه 84 - Sarmaye Forums | This thread | Refback | 03-23-2008 11:36 AM |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Detecting price trend independent of a specific time frame | gee | Metatrader 4 | 4 | 02-24-2007 04:53 PM |
| Anyone want to write a simple EA? | Kaper | Suggestions for Trading Systems | 6 | 10-29-2006 10:36 PM |
| A Simple Buy/Sell Script | excite2 | Expert Advisors - Metatrader 4 | 8 | 07-18-2006 03:16 AM |
| Simple question of determining the time of day | Fishtank | Metatrader 4 | 2 | 04-04-2006 04:12 AM |