Elder-Rays (Bulls & Bears Power)

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

Re: Elder-Rays (Bulls & Bears Power)

Postby Apprentice » Sun Jul 20, 2014 4:33 am

Bears with Fisher Transformation .lua
(3.06 KiB) Downloaded 931 times

Bulls with Fisher Transformation.lua
(3.04 KiB) Downloaded 890 times


As you can see,
Your formula will not achieve the desired results.
Try my simple math Bulls with Normalization.lua Bulls & Bears with Normalization.lua

If you provide an adequate formula will implement the Fisher transformation.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Elder-Rays (Bulls & Bears Power)

Postby zmender » Tue Jul 22, 2014 6:29 pm

I made an even simpler version. It compares the closing value to the EMA of the same period.

If closes above the moving average, receives value of 1
If closes below the moving average, receives value of -1
If closes on the moving average, receives 0

Than the average is calculated for the same period as EMA.
Attachments
Trend Indicator.lua
(3.1 KiB) Downloaded 876 times
zmender
 
Posts: 43
Joined: Thu Nov 10, 2011 11:00 pm

Re: Elder-Rays (Bulls & Bears Power)

Postby zmender » Tue Jul 22, 2014 6:31 pm

What you will get is in congested areas, the value hovers about 0, in a strong trend mode, the value approaches 1 or -1.

I will try add this as a trend filter to some moving average strategies and see if I can reduce the rapid trading around moving average.
Attachments
congestion.png
zmender
 
Posts: 43
Joined: Thu Nov 10, 2011 11:00 pm

Re: Elder-Rays (Bulls & Bears Power)

Postby zmender » Tue Jul 22, 2014 11:56 pm

I modified the customizable MAE envelope strategy to accept the above filter. Filters out about 75% of the trades. Number of profitable trades is halved while the number of lossing trades is reduced by 70%. Final balance is comparable, with win / loss ratio at about 1:1
zmender
 
Posts: 43
Joined: Thu Nov 10, 2011 11:00 pm

Re: Elder-Rays (Bulls & Bears Power)

Postby Coondawg71 » Wed Jul 23, 2014 12:53 pm

Can we please request a Signal Alert and corresponding Strategy for Zmender's version (Trend Indicator.lua) of the Bulls/Bears indicator?

On a default setting for a One hour price chart, the indicator would have 3 time periods in reference to specific trading periods. 24, 72 and 144. One Day, Three Days, One Week in hours.

Concept is based on the principle of trading on A.) the divergence of short term momentum from the larger momentum cycle and B.) Confluence of momentum cycle exhaustion.


BUY SIGNAL

IF 144 period <0, IF 72 period <0, when 24 period >0 (close of first bar above 0 line) Signal Alert "BUY WAVE1"

IF 144 period <0, when 72 period >0, and 24 period >0 (close of first bar above 0 line) Signal Alert "BUY WAVE2"

When 144 period >0, and 72 period >0, and 24 period >0 (close of first bar above 0 line) Signal Alert "BUY WAVE3"

When 144 period is greater than 0.90 and 24 period <0 CLOSE BUY orders on first close price below O line


SELL SIGNAL:

IF 144 period >0, IF 72 period >0, when 24 period <0 (close of first bar below 0 line) Signal Alert "SELL WAVE1"

IF 144 period >0, when 72 period <0, and 24 period <0 (close of first bar below 0 line) Signal Alert "SELL WAVE2"

When 144 period <0, and 72 period <0, and 24 period <0 (close of first bar below 0 line) Signal Alert "SELL WAVE3"

When 144 period is less than negative 0.90 and 24 period >0 CLOSE SELL orders on first close price above O line

Green Arrow UP located on price chart below each BUY signal.
Red Arrow DOWN located on price chart above each SELL signal.
Default font size of arrow set at 10.



DIVERGENCE SIGNALS

IF 144 period and 72 period >0 and 24 period value is Negative "0.75" Signal Alert "Divergence/BUY" ((negative 0.75 to negative 1.00))

IF 144 period and 72 period <0 and 24 period value is Positive "0.75" Signal Alert "Divergence/SELL" ((positive 0.75 to positive 1.00))

Light Blue Arrow UP located on price chart below each Divergence BUY signal.
Yellow Arrow DOWN located on price chart above each Divergence SELL signal.
Default font size of arrow set at 8.


CONFLUENCE SIGNALS

IF 144>0 when 72 period and 24 period are greater than positive 0.75, Signal Alert POSITIVE CONFLUENCE SELL short term cycle exhaustion

IF 144>0 when 144 period and 72 period are greater than positive 0.90, Signal Alert POSITIVE CONFLUENCE STRONG SELL long term cycle exhaustion

IF 144<0 when 72 period and 24 period are less than negative 0.75, Signal Alert NEGATIVE CONFLUENCE BUY short term cycle exhaustion

IF 144<0 when 144 period and 72 period are less than negative 0.90, Signal Alert NEGATIVE CONFLUENCE STRONG BUY long term cycle exhaustion


NOTE: Please allow user to change Signal threshold parameters from default settings of +-0.75 and +-0.90 to within the range of +-0.50 to +-1.00


Thanks!

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Re: Elder-Rays (Bulls & Bears Power)

Postby Apprentice » Fri Jul 25, 2014 4:39 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: Elder-Rays (Bulls & Bears Power)

Postby Coondawg71 » Fri Jul 03, 2015 10:50 am

Could we please bump up. Thanks!!!

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am


Re: Elder-Rays (Bulls & Bears Power)

Postby Apprentice » Wed Feb 21, 2018 6:37 am

The Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Elder-Rays (Bulls & Bears Power)

Postby aryan116 » Fri Jul 13, 2018 11:10 am

Apprentice wrote:The Indicator was revised and updated.

Can you please provide this indicator to me.
Thanks.
aryan116
 
Posts: 7
Joined: Thu Jul 12, 2018 4:12 pm

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 46 guests

cron