Page 1 of 4

Prevailing Trend

PostPosted: Thu Sep 05, 2013 1:49 pm
by Apprentice
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 1281 times

Tick Trend.lua
(5.24 KiB) Downloaded 883 times

Re: Prevailing Trend

PostPosted: Thu Sep 05, 2013 3:11 pm
by speakinmymind
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

Re: Prevailing Trend

PostPosted: Fri Sep 06, 2013 3:38 am
by Apprentice
1. Candle Size is used.
2. Use greater period.

Re: Prevailing Trend

PostPosted: Sat Sep 07, 2013 4:11 pm
by speakinmymind
Great!

Can you please create a strategy that executes upon cross.

Thanks alot!!

Re: Prevailing Trend

PostPosted: Sun Sep 08, 2013 1:28 am
by Apprentice
Your request is added to the development list.

Re: Prevailing Trend

PostPosted: Sun Sep 08, 2013 5:07 am
by Apprentice
Requested can be found here.
viewtopic.php?f=31&t=59426&p=89256#p89256

Re: Prevailing Trend

PostPosted: Mon Sep 30, 2013 10:05 am
by Alexander.Gettinger
MQL4 version of Prevailing Trend oscillator: viewtopic.php?f=38&t=59601.

Re: Prevailing Trend

PostPosted: Tue Oct 01, 2013 1:40 pm
by evgeniyn
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,

Re: Prevailing Trend

PostPosted: Wed Oct 23, 2013 9:07 am
by speakinmymind
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

Re: Prevailing Trend

PostPosted: Thu Oct 24, 2013 1:28 am
by Apprentice
Show difference option added.