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

Notification

Icon
Error

Options
Go to last post Go to first unread
boy5176  
#1 Posted : Sunday, May 26, 2013 12:38:45 AM(UTC)
boy5176

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/26/2013(UTC)
Posts: 3

Hi , everyone . I am a beginner with metastock.
I am looking for a formula to scan when the candlestick touches the bottom bollinger band .Can somebody help on the exploration code for scaning this ?
Thanks a lot!

UserPostedImage


henry1224  
#2 Posted : Sunday, May 26, 2013 5:37:02 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Here is your freebie!

Code:

Signal:=If(Cross(H,BBandTop(C,20,S,2)),1,If(Cross(BBandBot(C,20,S,2),L),-1,0));
Signal<>0


Just cut and paste it into an exploration, the above code will show a +1 for when the high crosses above the BBand Top and -1 for when the low crosses below the BBand bottom!

Do your self a favor and read the manual that comes with Metastock and then go through the formula primer that is in the forum!

Knowing what you have coded and how it should work will save you thousands of dollars!
boy5176  
#3 Posted : Sunday, May 26, 2013 9:01:05 PM(UTC)
boy5176

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/26/2013(UTC)
Posts: 3

Thanks for your advice.
Users browsing this topic
Guest (Hidden)
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.