MichaelMichaelM » Tue Sep 02, 2014 2:34 am wrote:Here is my demo. I've modified the validation of HH/HL or LH/LL to what I'm comfortable with.
Can you post your modified version or the values you've used?
Jason
MichaelMichaelM » Tue Sep 02, 2014 2:34 am wrote:Here is my demo. I've modified the validation of HH/HL or LH/LL to what I'm comfortable with.
Check the EA inputscurrymonster » Wed Sep 03, 2014 7:11 pm wrote:Hi Steve, at the risk of getting tasered, if you do get a little time at some point to add some trading hours, as I've noticed if a raft of trades are taken after about 10 pm uk time, it can result in a bit of dd. If the option was added, I'd probably turn off trading between 23:00 and 5:00. Just a thought.
Keep imbibing wine and having baths dude,
Code: Select all
//CheckTradingTimes. Baluda has provided all the code for this. Mny thanks Paul; you are a star.
extern string trh = "----Trading hours----";
extern string tr1 = "tradingHours is a comma delimited list";
extern string tr1a = "of start and stop times.";
extern string tr2 = "Prefix start with '+', stop with '-'";
extern string tr2a = "Use 24H format, local time.";
extern string tr3 = "Example: '+07.00,-10.30,+14.15,-16.00'";
extern string tr3a = "Do not leave spaces";
extern string tr4 = "Blank input means 24 hour trading.";
extern string tradingHours="";
Hmmmmmm. I wonder which one of Baluda's trading time inputs - inputs that have gone out with every single one of my EA's since the dawn of time - did you miss? "----Trading hours----" perhaps?currymonster » Wed Sep 03, 2014 7:11 pm wrote:Hi Steve, at the risk of getting tasered, if you do get a little time at some point to add some trading hours, as I've noticed if a raft of trades are taken after about 10 pm uk time, it can result in a bit of dd. If the option was added, I'd probably turn off trading between 23:00 and 5:00. Just a thought.
Keep imbibing wine and having baths dude,
Insert by forum owner SH:theforexedge » Thu Sep 04, 2014 5:23 am wrote:
Michael
Can you post your modified version or the values you've used?
Jason
Erm I'll leave now.....and flush my head down the toilet, hecks!SteveHopwood » Wed Sep 03, 2014 9:19 pm wrote:Hmmmmmm. I wonder which one of Baluda's trading time inputs - inputs that have gone out with every single one of my EA's since the dawn of time - did you miss? "----Trading hours----" perhaps?currymonster » Wed Sep 03, 2014 7:11 pm wrote:Hi Steve, at the risk of getting tasered, if you do get a little time at some point to add some trading hours, as I've noticed if a raft of trades are taken after about 10 pm uk time, it can result in a bit of dd. If the option was added, I'd probably turn off trading between 23:00 and 5:00. Just a thought.
Keep imbibing wine and having baths dude,
Or any one of the next 7 lines of instructions telling you how to enter them.
As described in any one of the hundreds of user guides littered around this forum?
In every EA I have released since Paul gave me the code. Ok, so there might have been an ea that I coded for public consumption that did not include them, but I cannot remember one.
Have a look down the list of damn inputs Cal. I know there are a few, but this ain't a Hand-Holding-Therapy-Giving-Ickle-Lamby-Wamby-EA-For-Dimwits bot. You just might find something that fits the bill.
Possibly.
On a good day.
If still stuck, the chart feedback might give you a clue. Mine says, "24 hour trading" because the trading hours inputs allow it.
Can't do any harm and will not take long to do. Probably not today, but soon.patmontes » Thu Sep 04, 2014 9:48 am wrote:Hi Steve I wanted to know what you think if we should add the option to TP based on ATR like OAD?