logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jim c  
#1 Posted : Saturday, March 6, 2010 7:52:13 AM(UTC)
jim c

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 18

Hello. I have a custom indicator called mean. (h+l+c)/3. I have applied bollinger bands to this custom indicator. Now I would like to have explorer show me all stocks where my indicator has closed below the lower BB. I am getting better at coding but Im struggling with this one. I can obviously get the indicator in explorer but Im not sure how to get the BB to apply to my indicator. Is there an easy way to copy and paste the formula from the chart? Any tips or hints would be greatly appreciated. thanks Jim
jim c  
#2 Posted : Saturday, March 6, 2010 8:39:30 AM(UTC)
jim c

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 18

edit
v.trader  
#3 Posted : Saturday, March 6, 2010 12:01:52 PM(UTC)
v.trader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/26/2009(UTC)
Posts: 76
Location: Toronto, Canada

Hi Jim, I would suggest that you create an indicator first so you would be able to use it anywhere (e.g. exlorer, system tester). Input in your indicator builder: {NAME:BBand crossing) pds:= Input("MA periods",1,9999,20); dev:= Input("Standard Deviations",1,10,2); x:= (H+L+C)/3; y:=BBandBot(x,pds,s,dev); cross(y,x); Now in your explorer write: Filter: FML("Bband crossing")=1 This should achieve the results that you are looking for. VT
jim c  
#4 Posted : Sunday, March 7, 2010 6:27:50 PM(UTC)
jim c

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 18

Thanks! I appreciate the help. Lets see if I can make this work. Thanks , Jim
mstt  
#5 Posted : Sunday, March 7, 2010 11:18:28 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)

Hi Jim

(H+L+C)/3 is also Typical Price and can be written as Typ(). This is not to be confused with (H+L)/2 which is Mean Price and written as MP(). Of course there's also (H+L+2*C)/4 which is Weighted Close and written as WC(). Thta's today's shot of trivia.

Roy

jim c  
#6 Posted : Monday, March 8, 2010 4:16:15 PM(UTC)
jim c

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 18

Thats great to know. There is alot to learn but just seeing some examples of how its done goes a long way. Btw I managed to get the formula working that v trader gave me. Thanks guys!
jim c  
#7 Posted : Monday, March 8, 2010 5:34:03 PM(UTC)
jim c

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 18

Ive got the formula into the indicator builder and it works great. However, when I run a scan with the explorer it comes back empty. There are stocks that meet the criteria today but it is not picking them up. I tried to load 100 days even though it said the scan needs only 27. Still nothing out of 1400 some stocks. Any thoughts? Thanks guys. Jim
v.trader  
#8 Posted : Tuesday, March 9, 2010 6:33:46 AM(UTC)
v.trader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/26/2009(UTC)
Posts: 76
Location: Toronto, Canada

Hey. Are you sure you have this code in the FILTER tab of the exploration: FML("BBand Crossing")=1 {Bband crossing is the name of the indicator created with the indicator builder, make sure you have the right name} I just tried it out and it works fine for me. I scanned the NASDAQ market for March 8, 2010 and got quite a few positive results such as BYG, EFZ,.... I have my option set to load 2500 records but I don't think that would be an issue if you have less for this particular exploration. Makes sure you have everything in place and see what happens again. Hope it works. VT
jim c  
#9 Posted : Tuesday, March 9, 2010 5:33:56 PM(UTC)
jim c

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 18

Thanks again for your help. I copy and pasted the formula again and it works great now. Thanks alot for your help v.trader!
Users browsing this topic
Guest (Hidden)
Similar Topics
Rounding Bottom (Cup Pattern)Explorer Help Needed (Formula Assistance)
by Sahilsri 9/27/2012 3:59:34 AM(UTC)
Explorer Help with a custom Price Oscillator (Formula Assistance)
by ehhitch 8/18/2010 4:56:24 PM(UTC)
PS Bull Power Bear Power 3 (Signal) - Not working for Explorer HELP! (Basic Coding Techniques)
by CAR1 7/28/2009 3:23:30 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.