I am looking for a algorithm script that would allow automated trading only during certain hours of the day.
Any help would be appreciated.
Automated Trading [SOLVED]
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Automated Trading [SOLVED]
First, write your thoughts in English...I am looking for a algorithm script that would allow automated trading only during certain hours of the day.
Any help would be appreciated.
then convert them to EasyLanguage.
eg.
Code: Select all
input:
begin.time(930),
end.time(1200);
if time > begin.time AND time < end.time then
begin
{--- put your trading logic here ---}
end;
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Automated Trading
The answer is yes and no... it depends.Would i use this exact code in the PowerLanguage Editor and then compile it, then use it with the other signals that i would use for automated trading?
I would suggest you to start here. A little time investment will take you a long way.
viewtopic.php?f=16&t=6929