MA Stop Loss

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

MA Stop Loss

Postby alienmole » Fri May 11, 2018 4:20 am


Would it be possible please to create a Stop Loss Strategy that uses a moving average for the exit, the rules would be as follows:-

For a Short example (opposite for Long) the price is moving down and is +40 pips in profit and is trading below a 10 SMA, when an "UP" bar closes back over the 10 SMA the trade is exited.

1) Choose MA Period (10, 20 etc)
2) Choose MA Type ( SMA, EMA etc)
3) Choose MA Close Type ( Close, Median etc)
4) Choose Minimum amount in profit before close is allowed (+30 etc)
5) Choose Time frame to be used for MA (M15, H1 etc)

Posts: 28
Joined: Tue Mar 06, 2018 10:24 am

Re: MA Stop Loss

Postby Apprentice » Mon May 14, 2018 6:33 am

Your request is added to the development list under Id Number 4139
User avatar
FXCodeBase: Confirmed User
Posts: 20393
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MA Stop Loss

Postby alienmole » Wed Jul 11, 2018 3:30 am


I tried this strategy again today and its still not working as intended.

In your description of how it functions, you wrote:-
"Short Trade
Close trade X pips in profit
On Price /MA CrossOver
Vice versa for Long"

This is all correct except where you have the word "crossover" it should be followed by the word CLOSE. ie crossing over the MA alone is not sufficient to exit the trade, it should only exit the trade if a bar CROSSES and CLOSES over the MA.

Would be great if it could be amended to reflect this rule.

Many Thanks
Posts: 28
Joined: Tue Mar 06, 2018 10:24 am

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 5 guests