Trendsignal

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Trendsignal

Postby Apprentice » Wed Mar 14, 2018 7:10 pm

EURNZD H1 (03-14-2018 2341).png

Based on the request.
viewtopic.php?f=27&t=65830
Trendsignal.lua
(3.88 KiB) Downloaded 905 times

Trendsignal with Alert.lua
(13.63 KiB) Downloaded 845 times

Strategy based on this indicator.
viewtopic.php?f=31&t=65877
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Trendsignal

Postby octaviomejia » Thu Mar 15, 2018 2:06 pm

Thank you Apprentice!

It works perfectly, you are amazing.

Could it be possible:

To add the option to trigger an alert when it shows the new arrow?

and add the trendlines between each arrow?

Have a great day
octaviomejia
 
Posts: 23
Joined: Tue Aug 08, 2017 11:05 am

Re: Trendsignal

Postby Apprentice » Thu Mar 15, 2018 6:50 pm

Trendsignal with Alert.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trendsignal

Postby octaviomejia » Mon Mar 19, 2018 7:33 pm

Thank you, Apprentice!
octaviomejia
 
Posts: 23
Joined: Tue Aug 08, 2017 11:05 am

Re: Trendsignal

Postby octaviomejia » Thu Apr 05, 2018 12:51 pm

Good morning Apprentice!

Could it be possible to create a strategy using the Trendsignal that you created?

To buy when the price changes from a downtrend to an uptrend triggered by the signal,
and to sell when the price changes from the uptrend to the downtrend.

Thanks!
octaviomejia
 
Posts: 23
Joined: Tue Aug 08, 2017 11:05 am


Re: Trendsignal

Postby octaviomejia » Tue Apr 10, 2018 1:59 pm

Apprentice,

Thanks for the strategy, during the weekend I tried to optimize it, using Market Scope II but every time I run the strategy optimizer I get the error: "attempt to index field 'Signal' (nil value)"

Quite probably I have been repeating the same mistake over and over, however,
Could it be possible that something is missing in the strategy that triggers this error?

Respectfully.
Attachments
TrendlineError.PNG
Error while trying to optimize the strategy
octaviomejia
 
Posts: 23
Joined: Tue Aug 08, 2017 11:05 am

Re: Trendsignal

Postby Apprentice » Thu Apr 12, 2018 4:19 am

Try to re-download Trendsignal.lua.
You probably have an old version of indicator.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trendsignal

Postby octaviomejia » Thu Apr 12, 2018 11:06 am

Thank you, Apprentice!

I updated the indicator and everything worked fine.
octaviomejia
 
Posts: 23
Joined: Tue Aug 08, 2017 11:05 am


Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 41 guests