Thread
:
What Code Do I Use To Set EA To Only Work On 30M Chart?
View Single Post
#
3
(
permalink
)
10-19-2007, 03:44 AM
davidke20
Senior Member
Join Date: Sep 2006
Location: 38° 53′ 51.61″ N, 77° 2′ 11.58″ W
Posts: 1,398
Or you can do this to avoid plotting the EA on the wrong chart
PHP Code:
Start
()
{
if(
Period
()!=
30
){
Comment
(
"Wrong time frame! M30 only"
);return(-
1
);}
}
davidke20
View Public Profile
Send a private message to davidke20
Visit davidke20's homepage!
Find all posts by davidke20