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!
|
|
|
|
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!
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 5/26/2013(UTC) Posts: 3
|
|
|
|
|
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.