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

Notification

Icon
Error

Options
Go to last post Go to first unread
SaudKsa  
#1 Posted : Saturday, December 17, 2005 12:49:55 PM(UTC)
SaudKsa

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 12/12/2005(UTC)
Posts: 5

hi everybody :) iam new member in this great forums and this is my first post i need a help in writing custom bollinger with these criteria: 1. the stock must be moving down in the last nearest days 2. the stock moving toward the lower bollinger band i need the exploration to catch any stock in the range of 3% from the lower bollinger band and trending toward it(for example if the lower band price is $ 10.00 and the stock price is $ 12 and trending down then the system must catch it :cry: i dont know anything about Formula writing but iam planing to learn it soon it will not be hard coz i studied in my college how to program in JAVA mybe i just need to review things again :? for now .. i really need help in writing all the code or if there is any code like it allready in hands see you soon saudksa :(
wabbit  
#2 Posted : Sunday, December 18, 2005 6:40:32 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
SaudKsa wrote:
iam new member in this great forums and this is my first post
Welcome to the forum. I [censored]p you find it useful and we can help solve some of your problems.
SaudKsa wrote:
i need a help in writing custom bollinger with these criteria: 1. the stock must be moving down in the last nearest days 2. the stock moving toward the lower bollinger band i need the exploration to catch any stock in the range of 3% from the lower bollinger band and trending toward it(for example if the lower band price is $ 10.00 and the stock price is $ 12 and trending down then the system must catch it :cry:
First. Please define EXACTLY each of your terms. It will help you write your own code, and will help others who might want to help you. You mention you have a background in programming using Java, so you will understand that computers are just dumb machines that will do exactly what you tell it to do. You must be very specific and precise in your instructions else the results may be unexpected. Examples: You said, "moving down". How down? Is there a minimum allowable change? 1%? 10% You said, "last nearest days". How many days? How near must thes days be? You said, "moving toward the lower bollinger band". Moving from where? From an all time high, or just any price outside a boundary? You want a 3% boundary condition. 3% of what? The BBandBottom value? or 3% of the difference of the BBandBottom to the central MA? 3% of the BBandBottom value might place the indictor outside the BB channel! etc etc etc
SaudKsa wrote:
i dont know anything about Formula writing but iam planing to learn it soon it will not be hard coz i studied in my college how to program in JAVA mybe i just need to review things again
The MetaStock Formula Language is NOTHING like Java. MSFL has its own set of rules. Java is OO, MSFL is not. Forget just about everything you about programming in other languages and start afresh. Work your way through the MS Formula Primer (available free at this forum) and READ THE MANUAL, cover-to-cover, twice! Remember, just like a computer, we cannot help you to code your ideas unless you tell us exactly what you are trying to achieve. I hope this helps. wabbit :D
SaudKsa  
#3 Posted : Wednesday, December 21, 2005 2:34:14 PM(UTC)
SaudKsa

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 12/12/2005(UTC)
Posts: 5

heloo thaks very much wabbit for replying to my post.. :) also i thank you for helping me out and regarding my q`s i want you to knw that i got the Formula Primer and now i am studying it very carefully . it is much easy than what i thought
wabbit  
#4 Posted : Thursday, December 22, 2005 2:19:24 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
SaudKsa, Congratulations on your efforts to help yourself. If you need more assistance, please ask. I believe you will get more appropriate responses as you have demonstrated your willingness to learn using the free tools offered by Equis, and others! wabbit :D P.S. Patrick, Perhaps we ought post SaudKsa's repsonse on the very front page, with this bit highlighted, flashing neon, bells and whistles:
SaudKsa wrote:
i got the Formula Primer and now i am studying it very carefully . it is much easy than what i thought
(sic)
StorkBite  
#5 Posted : Thursday, December 22, 2005 2:55:29 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Welcome SaudKsa! Ditto. Gotta love the self-starters!
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.