SinTrend strategy

Strategies are published here.

Moderator: admin

SinTrend strategy

Postby Alexander.Gettinger » Fri Dec 30, 2011 2:09 am

This strategy based on SinTrend indicator: viewtopic.php?f=17&t=10495

SinTrend_Strategy.png


Download strategy:
SinTrend_Strategy.lua
(13.23 KiB) Downloaded 659 times


For this strategy must be installed SinTrend indicator (viewtopic.php?f=17&t=10495)

The Strategy was revised and updated on November 22, 2018.
Last edited by Alexander.Gettinger on Mon Feb 06, 2012 1:43 pm, edited 1 time in total.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: SinTrend strategy

Postby Exolon » Fri Feb 03, 2012 6:19 pm

It doesn't work for me with the "typical" price, in the Strategy Optimizer (not debugger). In fact a few prices seem to be missing. An assertion is thrown by this code in Strategies\Standard\include\helper.lua:

Code: Select all
    if sub.tick then
        return sub.stream;
    else
        if type == "open" then
            return sub.stream.open;
        elseif type == "high" then
            return sub.stream.high;
        elseif type == "low" then
            return sub.stream.low;
        elseif type == "close" then
            return sub.stream.close;
        elseif type == "bar" then
            return sub.stream;
        else
            assert(false, type .. " is unknown");
        end
    end
Exolon
 
Posts: 27
Joined: Thu Jul 07, 2011 5:39 pm

Re: SinTrend strategy

Postby Alexander.Gettinger » Mon Feb 06, 2012 1:43 pm

I fix this problem.
Please, download strategy again.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: SinTrend strategy

Postby briansummy » Wed Mar 21, 2012 12:59 pm

Does this repaint by chance? I have been noticing to watch out for those. This would be a great strategy with Heikin-Ashi Agreement trading to enter and exit for N+1 close.
briansummy
 
Posts: 53
Joined: Wed Feb 08, 2012 8:11 pm

Re: SinTrend strategy

Postby Apprentice » Sun Dec 04, 2016 9:35 am

Bump up.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 24510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 5 guests