Open Close Strategy

Strategies are published here.

Moderator: admin

Re: Open Close Strategy

Postby Driss99 » Tue Apr 07, 2020 4:47 pm

Hi Apprentice

The strategy with Wilders and rsi is working perfectly. I thought that the Open Close Strategy 2 file was the second varaint I asked for. However this still has the rsi as a parameter and there is no second profit target. Would it be possible to also program this second variant, I have modified it a little bit further, and the rules are as following:

When a buy/sell crossover happens it opens 3 positions with a fixed stop loss, each position has its own profit target (position 1 lowest tp and position 3 highest tp). If profit target of position 1 is reached we move sl to break even for the remaining two positions, if profit target of position 2 is reached we move sl to profit target 1 for the last position and let it run till it's stopped out or till a crossover in the other direction happens or we hit profit target. Stop loss remains fixed till a profit target is hit, then it moves to the next level.
I hope it is possible to program this other variant so I can compare both variants.
Driss99
 
Posts: 5
Joined: Sat Mar 14, 2020 1:52 pm

Re: Open Close Strategy

Postby Apprentice » Thu Apr 09, 2020 5:26 am

Your request is added to the development list.
Development reference 1037.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Open Close Strategy

Postby Apprentice » Fri May 08, 2020 6:09 am

Try this version.
Open Close Strategy 3.lua
(69.67 KiB) Downloaded 264 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Strategies

Who is online

Users browsing this forum: Majestic-12 [Bot] and 25 guests