OPEN-SOURCE SCRIPT
DayTrader Plug and Play Score Strategy HS

Been playing around with automating a strategy and to make something more flexible in updating indicators/ risk reward scenarios.
I Trade on 5 min timeframe choosing stocks from a day trading scanner I use to evaluate premarket movement.
This script take into account short term EMA crossovers, VWAP, RSI, Candlesticks, and previous day S/R lines to determine buy/sell points. It Mostly runs on a VWAP strategy and will only buy when price is above VWAP and only sell when price is below VWAP. But uses the other indicators as more confirmations.
All of these indicators come together to form a score 1-8.5 and gives buy/sell signals based on the score.
Strategy is as below:
My Stock scanner gives me anywhere from 3-5 stocks per day to trade. (Not included)
Strategy will only trade once per day per stock.
Strategy closes positions after 2 hours in the market.
Strategy closes all positions 5 min before end of day close.
Trade size is set to 1% of the account size. The risk is 2% of that trade, reward is 4%.
Score threshold for hitting the indicator threshold is set to 5.5 score
^^This is all editable in the script.
After building and testing an rebuilding for a few months this has been my most profitable strategy in PAPER TRADING so I thought id share. I enjoy this kind of tinkering and scenario testing. Enjoy!
I Trade on 5 min timeframe choosing stocks from a day trading scanner I use to evaluate premarket movement.
This script take into account short term EMA crossovers, VWAP, RSI, Candlesticks, and previous day S/R lines to determine buy/sell points. It Mostly runs on a VWAP strategy and will only buy when price is above VWAP and only sell when price is below VWAP. But uses the other indicators as more confirmations.
All of these indicators come together to form a score 1-8.5 and gives buy/sell signals based on the score.
Strategy is as below:
My Stock scanner gives me anywhere from 3-5 stocks per day to trade. (Not included)
Strategy will only trade once per day per stock.
Strategy closes positions after 2 hours in the market.
Strategy closes all positions 5 min before end of day close.
Trade size is set to 1% of the account size. The risk is 2% of that trade, reward is 4%.
Score threshold for hitting the indicator threshold is set to 5.5 score
^^This is all editable in the script.
After building and testing an rebuilding for a few months this has been my most profitable strategy in PAPER TRADING so I thought id share. I enjoy this kind of tinkering and scenario testing. Enjoy!
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.