Filter (Bulls and Bears)

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

Filter (Bulls and Bears)

Postby Apprentice » Thu Jan 27, 2011 5:48 am

Filter.png

This is another prototype of an indicator.
Allows you to filter all currency pairs you are subscribed.
Filter.lua
(18.59 KiB) Downloaded 1846 times


Create three lists Bull and Bear Lists and Conflicting.
Currency is on Bull list if all filters are Bullisch.
Currency is on Bear list if all filters are Bearisch.

Currently, you can define up to three filters (for now).
Currently supported only three filters, RSI, ROC and Price.

For example, you define
RSI + ROC + PRICE or RSI (H1) + RSI (m30) + RSI (D1) and variations.

Improvements and new features like sorting, new filters, complex filters defining, planning to add in the future.

Description of current filters.

Bull
Price - If the price rises.
ROC> 0
RSI> 50
Bear
Price - If the price falls.
ROC <0
RSI <50

A similar list,which allows you to monitor all available currency pairs,
Displays Pip or the percentage change for the defined time frames
viewtopic.php?f=17&t=3234&p=7691&hilit=list#p7691

A similar list,which allows you to monitor all the currency pairs that contain a defined currency.
viewtopic.php?f=17&t=8257&p=18259#p18259
MAMA.lua is available here.
viewtopic.php?f=17&t=23283&p=40098&hilit=mama#p40098
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Filter (Bulls and Bears)

Postby alepan72 » Thu Jan 27, 2011 10:34 am

Nice tool.
Ask you something...?
Which period use the indicator for RSI and ROC?
Thanx and best regards!!!
Image
User avatar
alepan72
 
Posts: 59
Joined: Wed Oct 27, 2010 4:19 am

Re: Filter (Bulls and Bears)

Postby Apprentice » Thu Jan 27, 2011 12:29 pm

Period is 14 for both.

But I plan to soon offer a version where you can change the parameters.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Filter (Bulls and Bears)

Postby Apprentice » Thu Jan 27, 2011 2:54 pm

Price Decimal Places fix.
Growth Or Decline is now shown by color.
Indikator Options added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Filter (Bulls and Bears)

Postby alepan72 » Fri Jan 28, 2011 6:11 am

Much better :!:
But I have a screen problem. Take a look below... first is appearance in my 22" monitor and the second is from my 17" monitor

filterprob22.png

filterprob17.png


Can you fix it?
Best regards and thanx for your services!!!

Kisses from Greece!
Image
User avatar
alepan72
 
Posts: 59
Joined: Wed Oct 27, 2010 4:19 am

Re: Filter (Bulls and Bears)

Postby Apprentice » Fri Jan 28, 2011 7:56 am

This should fix things.
Not the best solution, but I had no time for a better one.

I need to make radical changes to make it good.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Filter (Bulls and Bears)

Postby Apprentice » Sun Jan 30, 2011 12:15 pm

PMA Filter Added.
Compares the position of the closing price in relation to the moving average.

MAMA Filter Added.
Compares Two MA positions in relation to Each other.

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

Re: Filter (Bulls and Bears)

Postby nookie » Wed Nov 16, 2011 4:26 am

I tried to add myself adx option but the following error comes out:

An error occurred during the calculation of the indicator 'ADX FILTER'. The error details: [string "ADX Filter.lua"]:342: [string "ADX.lua"]:67: [string "DMI.lua"]:97: attempt to index field 'high' (a nil value).

Not sure why value of DMI is mentioned, I need only ADX ones. Please help
nookie
FXCodeBase: Graduate
 
Posts: 203
Joined: Tue May 24, 2011 12:50 pm

Re: Filter (Bulls and Bears)

Postby Apprentice » Wed Nov 16, 2011 5:22 pm

It is difficult to say it this way.
Can you send me your code on my private mail.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Filter (Bulls and Bears)

Postby SANTOSH » Sat Nov 28, 2015 2:59 am

Apprentice wrote:PMA Filter Added.
Compares the position of the closing price in relation to the moving average.

MAMA Filter Added.
Compares Two MA positions in relation to Each other.

Fourth filter option added.



where can I look for the updated version of the above mentioned indicator " Filter (Bulls and Bears) " ?
SANTOSH
FXCodeBase: Graduate
 
Posts: 238
Joined: Tue Apr 21, 2015 12:21 am

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 53 guests