Prevailing Trend

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Prevailing Trend

Postby Apprentice » Thu Sep 05, 2013 1:49 pm

Trend.png


Up
moving average of UP candles for n periods

Down
moving average of DOWN candles for n periods

Trend.lua
(3.91 KiB) Downloaded 1280 times

Tick Trend.lua
(5.24 KiB) Downloaded 879 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Prevailing Trend

Postby speakinmymind » Thu Sep 05, 2013 3:11 pm

To verify, these are the moving averages of the SIZE of up/down candles and do not use price in the equation?

Also, with the same formula, can you create this MVA of all candles?
Basically, the same formula without the split.

Thanks alot!

Apprentice wrote:
Trend.png


Up
moving average of UP candles for n periods

Down
moving average of DOWN candles for n periods
Trend.lua
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Prevailing Trend

Postby Apprentice » Fri Sep 06, 2013 3:38 am

1. Candle Size is used.
2. Use greater period.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Prevailing Trend

Postby speakinmymind » Sat Sep 07, 2013 4:11 pm

Great!

Can you please create a strategy that executes upon cross.

Thanks alot!!
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Prevailing Trend

Postby Apprentice » Sun Sep 08, 2013 1:28 am

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


Re: Prevailing Trend

Postby Alexander.Gettinger » Mon Sep 30, 2013 10:05 am

MQL4 version of Prevailing Trend oscillator: viewtopic.php?f=38&t=59601.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Prevailing Trend

Postby evgeniyn » Tue Oct 01, 2013 1:40 pm

Hi,
What difference with
Drive

http://fxcodebase.com/code/viewtopic.php?f=17&t=54880&p=89013&hilit=drive#p89013
The Drive has same algoritm,
evgeniyn
 
Posts: 44
Joined: Fri Dec 28, 2012 1:27 am

Re: Prevailing Trend

Postby speakinmymind » Wed Oct 23, 2013 9:07 am

Could you please add the same difference output as you updated in the split moving average indicator? Thanks!

viewtopic.php?f=17&t=59276&start=10
speakinmymind
FXCodeBase: Graduate
 
Posts: 320
Joined: Thu Feb 28, 2013 8:18 am

Re: Prevailing Trend

Postby Apprentice » Thu Oct 24, 2013 1:28 am

Show difference option added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 49 guests

cron