Deviation from MA strategy

Strategies are published here.

Moderator: admin

Deviation from MA strategy

Postby Alexander.Gettinger » Mon Jan 31, 2011 10:18 pm

Strategy based on this indicator: viewtopic.php?f=17&t=3293
Added parameter [MinValue], it assign minimum value for open/close orders.
Supported direct and reverse signals of indicator.

MaDev_Strategy.png


Download:
MaDev_Strategy.lua
(14.48 KiB) Downloaded 1015 times


For this strategy must be installed indicators:
MaDevOsc: viewtopic.php?f=17&t=3293
Averages: viewtopic.php?f=17&t=2430

The Strategy was revised and updated on January 21, 2019.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Deviation from MA strategy

Postby craige » Tue Feb 01, 2011 10:48 am

Hi Guys

great works.

two questions

1. when I use this strategy, the option "allow the strategy to trade" can not be used, if I choosed true, there is a reminder "string: Madev strategy.lua 136: unsupported".

2. the strategy was able to work if I turn off the option "allow the strategy to trade", but the alert signal which could appear on the marketscope did not have the up or down arrow, only having the signal.

thanks for your help

all the best

Craige
craige
 
Posts: 51
Joined: Thu Dec 23, 2010 9:54 pm

Re: Deviation from MA strategy

Postby Alexander.Gettinger » Fri Feb 18, 2011 12:54 am

Closing the program after loading the strategy into the list then re-launching Tradestation worked.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk


Re: Deviation from MA strategy

Postby jaricarr » Fri Aug 25, 2017 7:53 pm

[quote="Alexander.Gettinger"]Strategy based on this indicator: viewtopic.php?f=17&t=3293
Added parameter [MinValue], it assign minimum value for open/close orders.
Supported direct and reverse signals of indicator.


Hi Alexander and Apprentice,

Can you please explain how "MinValue" works ?
and if possible, please incorporate this logic to the indicator.
Many thanks,
JariCarr
jaricarr
FXCodeBase: Initiate
 
Posts: 102
Joined: Fri Feb 19, 2016 12:39 pm

Re: Deviation from MA strategy

Postby Apprentice » Mon Aug 28, 2017 5:16 am

"MinValue" will define the minimum value of MaDevOsc indicator.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
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 19 guests