Work several strategies simultaneously

Section for discussions related to indicators, use of indicators, and building of trading stategies using indicators.

Moderator: admin

Re: Work several strategies simultaneously

Postby Apprentice » Sat Feb 08, 2014 2:19 am

This is possible, moreover, most strategies have some kind of limitations in this respect.
User avatar
FXCodeBase: Confirmed User
Posts: 20583
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Work several strategies simultaneously

Postby moomoofx » Thu Feb 27, 2014 4:59 am

rjm354 wrote:Is there a way to give me the option or choice to limit the strategy to opening only 1 position on each pair ?

That defeats the purpose of the strategy. The whole point of having the different set of moving averages is to open up multiple trades simultaneously and smooth out the equity curve. I.e., when one loses, the other is winning.

However I have implemented this for you. Attached you'll find a new version with a PositionLimit parameter. Zero for unlimited.

(9.55 KiB) Downloaded 395 times
User avatar
FXCodeBase: Confirmed User
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan.


Return to Discussions

Who is online

Users browsing this forum: No registered users and 2 guests