Hi Im looking for online stock backtesting tool It should be able to backtest historical performance according entered criteria of selected stocks For example : enter if EMA 50 is crossed........ exit if 5% loss or after x days ............. I know about finviz elite backtesting tool but if you know about something else (and free it will be great Thanks a lot for reccomendations
Most online backtesting tools are hopeless and do not account for survivorship bias (i.e. incorporating delisted stocks, or criteria that is dynamic in nature)
If you know how to code and are not too picky about performance and capabilities, you can do some back testing in TOS with ThinkScript. There is a good deal of capability, but for my interests, it was too limited. The "example" you post is trivial enough to be done in ThinkScript. If you have account with TD Ameritrade, it is free. I have been told that TradeStation's "easy language" is great for back testing, but I have no first hand experience with it. I have written my own tool, but the amount of effort required is not justified for most. I have found that when different people discuss "back testing" tools, they seldom converge on what they mean. For example, manual VS automated is seldom mentioned... Good luck.
I have a custom backtesting framework implemented in R. Have been planning for a while to create a package that can be distributed via R packaging system, but did not have the time yet. If you are interested - send me a message.
Profit Spy looks to do something like that. It's free for history of up to 60 days. Graded pay-scale for longer allowable time lines.