An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# pinbar-strategy-tradingview

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](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/)

![Trade example](assets/wrk_1h.png)

## 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.

![Profits explained](assets/profit_mp.png)

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
![BIG 1D](assets/big_1d.png)

BMY 1H
![BMY 1H](assets/bmy_1h.png)

GILD 1H
![GILD 1H](assets/gild_1h.png)

BTC/USD 5M
![BTC/USD 5M](assets/btcusd_5m.png)