| New signals service! | |
|
|||||||
| 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 |
|
|||
|
Thanks MrPip, I will look at this in the afternoon. I tried to use some of the SkyDart code but it just got all messy on me. I'm not a seasoned coder like you, but I will pat myself on the back for creating my midnight variable so if the time passes midnight it adjusts properly
![]() I like your the idea of going down to the minute because after a closer look this morning, my old code put me in a trade during the 800 hour when I wanted it to stop by 800. My code had a stop hour = 8, which means it can take orders up to 59. Your code would have been better and more detailed if the stop hour =0800. Thanks again, plus this should help out Ruf. Minnelli Forex Signal Providers - Journal Last edited by Minnelli; 06-22-2007 at 03:32 PM. |
|
|||
|
Stop Hour
Quote:
That is how my function works. Robert |
|
|||
|
Already done
Quote:
This has been done in Hans123 and variations. You would need more rules than just place buy stop or sell stop. What happens when one is hit? Do you delete the other? What happens at end of day if neither is hit? Or if one is hit but not yet closed? There are other issues that would need to be decided as well. Robert |
|
||||
|
MrPip,
Yeah I seen hans123 but that I believe was base on certain range which I don't remember. I just want one that I can input certain pips from the open price at that hour. Also yeah like you said that one needs to cancel after the other is trigger and just closed the trade at the end of the day. |
|
|||
|
Started new thread over here. Big thanks to MrPip for providing the initial code!!!
http://www.forex-tsd.com/expert-advi...tml#post125934 |
|
|||
|
Ea
Hello All
Does anyone have an EA that do not allow the trades in certain time. For example if you attach it to GBP/JPY it will not allow other EA to put a pending or market price orders for this pair in certain time like Do not open trade between 4:30 to 5:30 and between 8:30 to 9:00 and between 10:30 to 11:00 The EA will not allow just one EA to put the orders and it will define it by its magic number. Your help is appreciated |
|
|||
|
Moved your post to this thread where you can find some codes and discussion about similar idea.
The other usefull thread related to this subject is here Trading Times Enhancement |
|
||||
|
Question?
I have an indicator.
I need to refresh it every bar. How do I do it so that the EA refreshes it somehow every tick? Also, what is the code to turn off EA or turn on EA? Is that possible? Also, how do I do it so that before the EA turns off, it remembers something when it starts up again? Thanks, Julia. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trade only certain times of day? | pipsweak | Expert Advisors - Metatrader 4 | 1 | 04-01-2007 05:20 PM |
| Changing Times | Pervaz | General Discussion | 3 | 08-29-2006 10:03 PM |
| Metatrader times | guybraun | Metatrader 4 | 2 | 02-15-2006 01:53 PM |
| Trading Times | dennisros | General Discussion | 3 | 02-13-2006 11:42 AM |
| Trade Times | caldolegare | General Discussion | 7 | 11-15-2005 01:07 PM |