| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| EA to enable Automated trading ? https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4219 |
Page 1 of 1 |
| Author: | ianp [ Tue Apr 14, 2015 10:16 pm ] |
| Post subject: | EA to enable Automated trading ? |
I am looking for a EA that will enable automated trading at a certain time . as I am in Australia I am often asleep when the US news comes out and I would like to activate to get my HGB Ea to start after the news. I know a lot of EAs can have a time function built in , I was just wondering if anyone had come across one that just activates the Auto trading button on Empty4 Thanks Ian |
|
| Author: | renexxxx [ Tue Apr 14, 2015 10:49 pm ] |
| Post subject: | EA to enable Automated trading ? |
Hi Ian, That would obviously have to be a script, not an EA. How can an EA run, to enable itself when EAs are disabled? Attached is a script that will do the job. |
|
| Author: | milanese [ Tue Apr 14, 2015 10:59 pm ] |
| Post subject: | EA to enable Automated trading ? |
In general the simpleAllPairTradeManger ---click--> http://www.stevehopwoodforex.com/phpBB3 ... =21&t=4081 can activate after a certain time autotrading you can take a look into the code Cheers Tommaso |
|
| Author: | milanese [ Tue Apr 14, 2015 11:02 pm ] |
| Post subject: | EA to enable Automated trading ? |
it can.. see simpleAllPairTM Code: Select all Tommaso |
|
| Author: | renexxxx [ Tue Apr 14, 2015 11:08 pm ] |
| Post subject: | EA to enable Automated trading ? |
Agreed, the OnTimer() event handler will continue to be called, but not the OnTick() |
|
| Author: | ianp [ Wed Apr 15, 2015 3:22 am ] |
| Post subject: | EA to enable Automated trading ? |
Hi Rene & Milanese, Thank you for the replys , as usual I did not explain what I need very well . I am looking for a script ? to enable auto trading at a specific time e.g 01.05 local time on my computer , so I can go to bed with auto trading turned off and my Empty4 will let HGB start trading all the pairs I have it on at a pre-set time . Thanks |
|
| Author: | renexxxx [ Wed Apr 15, 2015 4:08 am ] |
| Post subject: | EA to enable Automated trading ? |
Hi Ian, It would need to be an EA that runs the OnTimer() event every so now and then, to check the time and switches the Auto Trading On/Off. Have a look at the attached EA. I don't know if Tommaso's code can do this as well -- I haven't looked at his code. In any case, you can use my code as a starting point. In the attached file, the HourOn and HourOff parameters are supposed to be in the time zone of the local PC. |
|
| Author: | ianp [ Wed Apr 15, 2015 5:24 am ] |
| Post subject: | EA to enable Automated trading ? |
Thanks Rene , That works great |
|
| Author: | BobbyT [ Thu Sep 22, 2016 6:50 am ] |
| Post subject: | EA to enable Automated trading ? |
Sorry to necro this thread but I have to say thank to Rene. Again! I was just about to give in getting Tomasso's code to work and resort to GVs when I found this :hi: |
|
| Author: | ymleong [ Mon Dec 12, 2016 12:46 pm ] |
| Post subject: | EA to enable Automated trading ? |
Hi Tom, I was helping a clueless trader to search for a EA that can read news events from FF site, and able to allow him to have few settings to turn off autotrading by his other EA, such as 1) TurnOffEABefNews (time parms, accept minutes) 2) TurnOnEAAfterNews (minutes parm) 3) FilterMajorNews (boolean) 4) FilterMediumNews (boolean) 5) FilterMinorNews (boolean) It doesnt have to have exact parms above but at least able to have the TurnOff/TurnOn parms. The news filter parm is to allow him to specify TRUE/FALSE to enable EA to detect when to turn it off. Eg he only wants it turn off for major news events, and he can specify in minutes how long he wished to turn his auto trading off/on. Eg he wants to turn off his trading EA 1hr before major news only and on 30mins after that. Autotradeswitcher looks ok but there is no ability for EA to read news events. If u know of any pls let me know. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|