{"id":18263688,"url":"https://github.com/samgozman/pinbar-strategy-tradingview","last_synced_at":"2026-01-21T01:32:46.361Z","repository":{"id":76839842,"uuid":"499748946","full_name":"samgozman/pinbar-strategy-tradingview","owner":"samgozman","description":"(Pinescript) Pinbar trading strategy for Tradingview","archived":false,"fork":false,"pushed_at":"2023-04-06T11:51:44.000Z","size":2961,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-08T23:50:49.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samgozman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://paypal.me/sgozman"]}},"created_at":"2022-06-04T06:50:40.000Z","updated_at":"2025-07-07T09:33:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0f11522-6c21-4824-b584-fa7dd2e06a6f","html_url":"https://github.com/samgozman/pinbar-strategy-tradingview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samgozman/pinbar-strategy-tradingview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fpinbar-strategy-tradingview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fpinbar-strategy-tradingview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fpinbar-strategy-tradingview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fpinbar-strategy-tradingview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samgozman","download_url":"https://codeload.github.com/samgozman/pinbar-strategy-tradingview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fpinbar-strategy-tradingview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28621646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:12:15.806Z","updated_at":"2026-01-21T01:32:46.347Z","avatar_url":"https://github.com/samgozman.png","language":null,"funding_links":["https://paypal.me/sgozman","https://ko-fi.com/C0C1DI4VL"],"categories":[],"sub_categories":[],"readme":"# pinbar-strategy-tradingview\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C1DI4VL)\n\n(Pinescript) Pinbar trading strategy for TradingView\n\n[Link to TradingView script](https://www.tradingview.com/script/QtCWpUWb-Pinbar-trailing-stop-strategy/)\n\n![Trade example](assets/wrk_1h.png)\n\n## Explanation\n\nThe strategy finds the nearest pinbar pattern and opens a position (long or short). You choose your take profit and stop loss multiplier.\n\n* Take Profit - X times the pinbar size from it's highest point.\n* Stop loss - X times the pinbar size from it's lowest point.\n\n![Profits explained](assets/profit_mp.png)\n\nYou 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.\n\n### More examples\n\nBIG 1D\n![BIG 1D](assets/big_1d.png)\n\nBMY 1H\n![BMY 1H](assets/bmy_1h.png)\n\nGILD 1H\n![GILD 1H](assets/gild_1h.png)\n\nBTC/USD 5M\n![BTC/USD 5M](assets/btcusd_5m.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamgozman%2Fpinbar-strategy-tradingview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamgozman%2Fpinbar-strategy-tradingview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamgozman%2Fpinbar-strategy-tradingview/lists"}