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)
First post, been lurking for a few weeks.
Old school guy here looking for a quick and dirty way to do a scan and backtest.
Example of what I知 looking for,
How many times has XYZ stock been down 4 days in row for the last xx years (the longer the better)?
What was % return of XYZ stock the following day after being down 4 days in a row? % return 3 days after being down 4 days?
This is a rough example of what I am looking for but inputs would change to maybe down 3 days etc etc,,
Being a tad on the older side and not wanting to learn python at this stage does anyone know how to flesh this out ?
Can you help answer these questions from other members on NexusFi?
To do some analysis like this would either be done in excel or in python these days.
Another alternative is dependant on which broker you are with
Tradestation, Metastocks, Metatrader all have their own engine you can test with.
There's also Amibroker which is seperate.
Example of the code would be as simple as
if Close[0] < Open[0] and Close[1] < Open[1] and Close[2] < Open[2] and Close[3] < Open[3] then
buy 1 contracts next bar at market;