Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
This will be my first post ever in a Stock Forum. I'm a beginner trader who has a long background of programming in Java, Vector Analysis and Finance in general - but I've just started out with TA and grown a big passion for Quantitative analysis and realised that it is what I would want to work with for the rest of my life.
Enough about me I'm sorry for posting such a beginner question. I'm very used to look for similiar answers on search engines, but since I've only been programming for two days in Power Language and I'm very stuck, I'll appreciate any help.
Problem Description: I'm trying to build a simple signal in MC which buys Stocks when RSI hits less than 30, and sells if it hits bigger than 70. Unfortunatley, I'm having a lot of difficulties understanding the arguments of the RSI() function in MC, and how would it know how much I would like to buy?
Code (please be gently with me):
All the best,
/Shark
Can you help answer these questions from other members on NexusFi?
welcome to NexusFi (formerly BMT). Your code uses "crosses over" for both thresholds, when in fact I guess you are looking for "crosses under OverSold". For specifying how much to buy/sell: This can either be done under the properties when you load the strategy to a chart or directly in the code like this.
"Shares" is the same as "contracts", so you can use either one.