SAR Trailing Stop ALL strategy request

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

SAR Trailing Stop ALL strategy request

Postby Cactus » Thu Jul 28, 2016 10:39 pm

This might be my last request in a while as I am finally putting a system together after months of research

I like the "breakeven all" strategy posted here viewtopic.php?f=31&t=13498&hilit=breakevenall&start=20 by moomoofx which help to put stop loss on breakeven automatically to not take any loss in case market turns against you. The reason this is especially useful for me is because it considers ALL positions, and you don't need to specify which order you want to put breakeven on. They all have their own breakevens. In case of automated trading this is very useful.

Now I am after a way to lock-in profits using a trailing stop. There are a couple solutions for trailing stops on the forum however they all require you to specify an order and do not consider ALL open positions you may have for given symbol. I think the most effective trailing stop is using SAR.

That is why I want to ask you to develop a strategy that I can use that would automatically set stops for open positions using SAR, and move them on each next dot. Move the stops on green points going up in case of long orders. And move the stops on red points going down with short orders.

However I understand I wouldn't be able to use the breakeven all strategy with this anymore and I would replace it with this trailing SAR stop because the strategy I linked always re-sets the stop whenever you move it. So the two strategies would clash.

Some rules:
- Only start placing the stop when position is in profit > 0.1
- Use ask price to set stops on short positions on sar dots moving down
- Use bid price to set stops on long positions on sar dots moving up
- Monitor each and all position independently (for one symbol)
- Be able to set up the strategy many times for each symbol
- Be able to specify SAR "Step" and "Max" parameters

This would be super helpful 8-) ;)
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: SAR Trailing Stop ALL strategy request

Postby Apprentice » Fri Jul 29, 2016 7:25 am

Your request is added to the development list,
Under Bugzilla Id Number 3581

Bugzilla is developer internal requests database.
If someone is interested to do any task from this list please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SAR Trailing Stop ALL strategy request

Postby Cactus » Fri Jul 29, 2016 2:52 pm

Glad to hear. I will buy you a car when I get rich.
Also I think this would work nicely for trailing stop if it can be coded (short stops when price below line, long stops when price above line)
viewtopic.php?f=17&t=59994&hilit=BAT+ATR+indicator
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: SAR Trailing Stop ALL strategy request

Postby Cactus » Fri Jul 29, 2016 3:25 pm

And also this! I mean either of these for a start.
viewtopic.php?f=17&t=884&hilit=%2AATR

Do you feel it is very time consuming and difficult to make a strategy like this?
- That sets a stop on either of these indicators and update it
- Only when a position starts to be is in profit
- For all and any open positions on the user account
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 40 guests