https://github.com/samgozman/pinbar-strategy-tradingview
(Pinescript) Pinbar trading strategy for Tradingview
https://github.com/samgozman/pinbar-strategy-tradingview
Last synced: 6 months ago
JSON representation
(Pinescript) Pinbar trading strategy for Tradingview
- Host: GitHub
- URL: https://github.com/samgozman/pinbar-strategy-tradingview
- Owner: samgozman
- Created: 2022-06-04T06:50:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T11:51:44.000Z (over 3 years ago)
- Last Synced: 2025-12-08T23:50:49.349Z (8 months ago)
- Size: 2.82 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# pinbar-strategy-tradingview
[](https://ko-fi.com/C0C1DI4VL)
(Pinescript) Pinbar trading strategy for TradingView
[Link to TradingView script](https://www.tradingview.com/script/QtCWpUWb-Pinbar-trailing-stop-strategy/)

## Explanation
The strategy finds the nearest pinbar pattern and opens a position (long or short). You choose your take profit and stop loss multiplier.
* Take Profit - X times the pinbar size from it's highest point.
* Stop loss - X times the pinbar size from it's lowest point.

You need to determine the best TP/SL combination on your own for each chart. Start from 1:1 or 2:1. Keep in mind your brocker fee.
### More examples
BIG 1D

BMY 1H

GILD 1H

BTC/USD 5M
