StuBuzzzini

Random Buy Success Rate Calculator

StuBuzzzini 업데이트됨   
I created a prior Success Rate Calculator to help me quantify the success rate of my invite-only indicator "SB Master Chart". Happy with the results of the calculator, I decided to create a calculator for a random buy.

This is a table addon that calculates in real-time the success rate of a random buy. I think this simple calculation can give you a good indication if you want to invest in a stock and what the odds are for it being profitable at anytime during your holding period. A stock with a low score might be one that you stay away from.

There are two configurable options.

Lookback Success Calculations (Bars)
This setting is used to determine what the success is for a random buy. For example. The script tracks purchases made at every bar and check the results bars in the future to see if at any time during that time it closed above the buy cost basis.

For example if the setting is 5, we would want a close above our cost basis within 5 bars from the random buy.
The longer you are willing to hold a stock, the higher you should set this setting. If you want to buy/hold a stock for 20 days, set it to twenty to see your odds of being profitable during that time period.

Lets use the daily chart as a quick example.
If today the signal goes off and we have a settings of five, in five days (5bars) if there is a close above todays close, we count that as a success. If there is not, we count that as a failure.

Start Date Settings
This setting is used to limit the amount of data we gather for testing. For example, we may want to only know how many successes we want since the start of the year. This is the default setting, you can set it for an earlier date in time if you wish to gather more data.

Future todo updates: Adjust cell color based on values. Right now its defaulted to green.
릴리즈 노트:
Updated to include average gain. This will give the trader a better picture on where to set take profit.

Disclaimer: I am not a financial advisor. Do not take anything on here, twitter or stocktwits as financial advice, ever. Do your own research. Consult a professional investment advisor before making any investment decisions!
초대 전용 스크립트

이 스크립트에 대한 접근은 작성자가 승인한 사용자로 제한되며, 일반적으로 지불이 필요합니다. 즐겨찾기에 추가할 수 있지만 권한을 요청하고 작성자에게 권한을 받은 후에만 사용할 수 있습니다. 자세한 내용은 StuBuzzzini에게 문의하거나 아래의 작성자의 지시사항을 따르십시오.

트레이딩뷰는 당신이 스크립트 작성자를 100% 신뢰하고 스크립트의 작동 방식을 이해할 때까지 스크립트 비용을 지불하고 사용할 것을 권장하지 않습니다. 대부분의 경우 트레이딩뷰의 커뮤니티 스크립트 에서 무료로 좋은 오픈 소스 대안을 찾을 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?

경고: 액세스를 요청하기 전에 읽으십시오 .