Automated Trading  [SOLVED]

Questions about MultiCharts and user contributed studies.
kinkeadfx
Posts: 52
Joined: 22 Nov 2010
Has thanked: 5 times
Been thanked: 1 time

Automated Trading

Postby kinkeadfx » 10 Oct 2013

I am looking for a algorithm script that would allow automated trading only during certain hours of the day.

Any help would be appreciated.

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Automated Trading  [SOLVED]

Postby TJ » 10 Oct 2013

I am looking for a algorithm script that would allow automated trading only during certain hours of the day.
Any help would be appreciated.
First, write your thoughts in English...
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;

kinkeadfx
Posts: 52
Joined: 22 Nov 2010
Has thanked: 5 times
Been thanked: 1 time

Re: Automated Trading

Postby kinkeadfx » 17 Oct 2013

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?

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Automated Trading

Postby TJ » 17 Oct 2013

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?
The answer is yes and no... it depends.
I would suggest you to start here. A little time investment will take you a long way.
viewtopic.php?f=16&t=6929


Return to “MultiCharts”