please write this differential MV indicator.

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

please write this differential MV indicator.

Postby davidxiao » Sun Nov 11, 2018 9:30 pm

Hi All,

Could you please write this differential MV indicator. The formula is:

MV=MV(N1) MV(N1) is moving average
N1 is period of moving average
mv=MV(n)-MV(n-1): it is the difference of MV of two days.
mmv=mv(N2)
N2 is N2 period. it is the same meaning of N1, it can be the same as N1 or be different.

Thanks in advace.

David Xiao
davidxiao
 
Posts: 51
Joined: Tue Jul 15, 2014 9:37 am


Re: please write this differential MV indicator.

Postby davidxiao » Sat Nov 17, 2018 2:05 am

Hi Apprentice,

First of all, thank you for your code. I tried it, it works well to Forex, but it doesn't work for index and commodities such as Nas100, US500, AUD. could you please fix it?

Thanks,
David Xiao
davidxiao
 
Posts: 51
Joined: Tue Jul 15, 2014 9:37 am

Re: please write this differential MV indicator.

Postby Apprentice » Sat Nov 17, 2018 4:54 am

could you please fix it?

Can you provide more information?
The same logic was used regardless of the data set.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: please write this differential MV indicator.

Postby davidxiao » Thu Nov 22, 2018 11:37 pm

Hi Apprentice,

When I apply the indicator to forex, XAG, the indicator works well, but when applied it to USdollar, gold, Sp500 etc, it did not show me anything, please check the attached chart.

colud you please fix it?

Thanks,

David Xiao
Attachments
USDOLLAR D1 (11-22-2018 2134).png
XAUUSD D1 (11-22-2018 2139).png
davidxiao
 
Posts: 51
Joined: Tue Jul 15, 2014 9:37 am



Return to Indicator and Signal Requests

Who is online

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