Fred Tam F1 Indicator Strategy

Strategies are published here.

Moderator: admin

Fred Tam F1 Indicator Strategy

Postby Apprentice » Wed Apr 20, 2011 5:06 am

Fred Tam F1 Indicator.png


The strategy was written according to the indicator with the same name.
viewtopic.php?f=17&t=3971

1) Buy Signal
If recent closing price is higher than the recent days close max
( eg. close(0) > Max(close(i) )
2) Sell ​​Signal
If recent closing price is lower than the recent days close min
( eg. close(0) < Min(close(i) )

I have added a choice between two types of signals.
Close and High / Low Data stream as a source for the signal.

I have noticed that High / Low option offered less noise.
Fred Tam F1 Indicator Strategy.lua
(16.71 KiB) Downloaded 1534 times


The Strategy was revised and updated on January 21, 2019.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fred Tam F1 Indicator Strategy

Postby Apprentice » Wed Apr 20, 2011 8:36 am

Separate parameters for the Buy and Sell period added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fred Tam F1 Indicator Strategy

Postby nowires » Wed Apr 20, 2011 11:03 am

I am not able to load this strategy into marketscope 2.0

I go to add strategy, strategy properties, changed allow strategy to trade to : YES
I get the following message : ( String "Fred Tam F1 Indicator Strategy.lua ")
145: attemp to index global 'source' ( a nil value )

thanks,
Nowires
nowires
 
Posts: 2
Joined: Wed Apr 20, 2011 10:53 am

Re: Fred Tam F1 Indicator Strategy

Postby Apprentice » Wed Apr 20, 2011 11:24 am

Sorry for that, During the last Update,
By mistakenly i have uploaded in development version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fred Tam F1 Indicator Strategy

Postby Blackcat2 » Wed Apr 20, 2011 10:51 pm

Looks interesting, testing it at the moment..
Blackcat2
FXCodeBase: Initiate
 
Posts: 118
Joined: Wed May 19, 2010 12:42 am

Re: Fred Tam F1 Indicator Strategy

Postby nowires » Thu Apr 21, 2011 7:16 pm

Thanks, the Strategy loaded this time. I have changed the " Allow strategy to trade to : YES
and when a signal came it didnt do anything. Is this supposed to auto trade by changing this to YES ? Maybe I misunderstand what " allow strategy to trade means.

Thanks,
Nowires
nowires
 
Posts: 2
Joined: Wed Apr 20, 2011 10:53 am

Re: Fred Tam F1 Indicator Strategy

Postby Apprentice » Fri Apr 22, 2011 12:20 am

You are well understood by this option.
Today I re-tested this strategy,
everything works as expected.

Can you tell me more.
What Time Frame or currency pair you are using.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Fred Tam F1 Indicator Strategy

Postby RJH501 » Tue Jul 19, 2011 9:37 am

Hi,

Would you please compare the F1 Strategy AGAINST Showsignal with F1 Stategy applied.

It appears that the Strategy identifies a signal long before the Showsignal F1 appears on the chart.

Is this normal?

Regards

Richard
RJH501
 
Posts: 84
Joined: Mon May 30, 2011 8:38 pm

Re: Fred Tam F1 Indicator Strategy

Postby RJH501 » Thu Aug 25, 2011 5:00 am

Hello Apprentice,

The strategy is not setting the LIMIT and STOPS when a trade is made.

When you get time please review.

Thanks much!

Richard
RJH501
 
Posts: 84
Joined: Mon May 30, 2011 8:38 pm

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 21 guests