Buy/Sell on moving average uptrend/downtrend

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

Buy/Sell on moving average uptrend/downtrend

Postby Nyaelie » Fri Sep 18, 2020 12:32 am

Hi, I've been trying to make this work all day as I thought it wouldn't be too hard but I just can't do it. So I was really hoping to get some help on this. Basically what I want is a strategy with the following constraints:

- Buy on Moving Average uptrend (current MA value higher than previous MA value) and close any active sell trade
- Sell on Moving Average downtrend (current MA value lower than previous MA value) and close any active buy trade

So there should always be a max of 1 open position. On some platforms you can make the Moving Average change color and I'm trying to make a strategy out of that. I think it works the way I described (current MA value higher/lower than previous MA value), but correct me if I'm wrong.

That's all there is to it. It'd be really appreciated, thanks a lot!
Nyaelie
 
Posts: 15
Joined: Fri Sep 18, 2020 12:19 am

Re: Buy/Sell on moving average uptrend/downtrend

Postby Apprentice » Fri Sep 18, 2020 3:00 am

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



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 11 guests

cron