|
|||||||
| 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 |
|
|||
|
Timebased EA
There seems to be a problem with this EA where the magic number setting does not work. I have it trading over mutipal pairs with different magic numbers but only one trade is taken on one pair. Can someone help..?
|
|
|||
|
help getting rid of a function in skyline's "Daily Scalping EA"
I need some help modifying the ea to stop closing orders daily and/or weekly at a specific time
I just want it to close the trades only at TP or SL this should be easy for a programmer but for a complete noob like me it's been like hell for the last 6 hours any help please ? |
|
||||
|
I didnt write it but it takes your hour 1-24 multiples x 100 and adds your minute. one only knows what that totals.
ct = Hour() * 100 + Minute(); it also opens your buy at the open above the high/low.... not much for an ea. Last edited by ajk : 04-09-2008 at 02:50 AM. |
|
||||
|
Quote:
Thanks. |
|
|||
|
How specific would you like it?
You could say.. Code:
if (Hour() == 5 && Minute() == 30)
{
...
}
Code:
if (Hour() == 5 && MathAbs(Minute() - 30 ) < 3)
{
...
}
|
|
||||
|
Quote:
Thanks you |
![]() |
| 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 |