Customization of TradingView indicator
Technical Specification for Customization of TradingView Indicator
Example Script:
https://www.tradingview.com/v/8mzvMPWL/
1. Simplification of Visual Elements
Goal: make the chart cleaner by removing all unnecessary elements.
Tasks:
Remove all lines indicating trend continuation after BOS (for example, diagonal lines above or below candles).
Keep only key labels:
BOS(Break of Structure)CHoCH(Change of Character)
Ensure that BOS lines appear only during a valid pullback.
Ensure that the CHoCH label is drawn only when the conditions below are met.
2. Handling Price Gaps (Gaps)
Problem: currently, the indicator does not recognize gaps as candle closures, which breaks BOS/CHoCH logic.
Solution:
Any price gap should be interpreted as a candle closure.
If a gap meets the BOS or CHoCH conditions, the line and signal should be generated correctly.
Example: https://www.tradingview.com/x/Ykwlp08p/
3. BOS and CHoCH Logic (Trend Structure)
General Requirements:
BOS can be confirmed based on body or wicks, but only after a retracement (V-shaped apex).
CHoCH is confirmed only by candle body closure (not wick).
4. Notification System (Alerts)
Supported Timeframes:
M1 (1 minute)
M15 (15 minutes)
H4 (4 hours)
For each timeframe:
Separate alert settings;
Ability to enable/disable.
Alert Types:
BOS Up
BOS Down
CHoCH Up
CHoCH Down
Trigger Conditions:
The alert should trigger when crossing the level, not at candle close.
Add CHoCH counter: maximum 2 alerts in a row for CHoCH; reset on BOS.
Make this an optional setting (checkbox).
Filtering Alerts by Price Range
Add parameters:
Start,Stop.
Filtering Conditions:
If Start and Stop are set: alerts trigger only within this range (up or down).
If Stop = 0: range is open from Start to infinity.
If Start = 0, Stop is set: range from negative infinity to Stop.
If both values = 0: filtering is not applied.
📍 Filtering applies only to M1 alerts (mainly CHoCH).
5. Signal Formation Logic
BOS (Break of Structure)
Conditions:
There must be a V-shaped retracement before BOS:
The candle closes below the previous one (high and low).
The next candle breaks upward (by body or wick).
BOS can be:
BS (Bos Wick) — wick breaks the level.
BB (Bos Body) — body breaks the level.
CHoCH (Change of Character)
Conditions:
Only candle body closing beyond the level — confirmed CHoCH (CB).
Breakout by wick without body closure — unconfirmed CHoCH (CW).
In case of CW — the CHoCH line is updated to the new extremum.
6. Additional Code Quality Requirements
Modularity and Scalability
Divide code into logical modules:
CHoCH calculation
BOS calculation
Drawing
Alerts
Trend Table
Use functions for repetitive blocks (
calcBOS(),calcCHoCH(),sendAlert(), etc.).Avoid duplicating
request.security()— store data in variables and reuse.
7. Stability and Performance
The script should run quickly even when used on multiple charts.
Eliminate logic duplication and redundant calculations.
Optimize drawing and variables — use
varwhere possible.
8. Testing
Verify correct operation:
On all timeframes.
With simultaneous addition to multiple charts.
With real alerts in TradingView (web and mobile app).
Confirm:
The BOS & CHoCH algorithm works only with a valid pullback.
Alerts do not trigger repeatedly on the same candle.
📝 Signal Summary Table
Signal Type | Confirmation Method | Trend Direction | Note |
BOS | Wick (BS) or Body (BB) | In line with trend direction | After retracement (apex) |
CHoCH | Only Body (CB) | Against trend | Wick ≠ confirmation |
Unsuccessful CHoCH | Only Wick (CW) | No trend change | Line of CHoCH is moved to a new extremum |
Appendix 2
Applications 3
-
10 days300 USD
3516 51 2 10 days300 USDGood day! My name is Oleksandr, I am a full stack developer with over four years of experience in commercial development, of which the last two years I have been actively working with Pine Script and the TradingView platform. I have a deep understanding of market structure and practical experience in creating custom indicators with BOS, CHoCH logic, as well as a flexible alert system.
I carefully reviewed the technical task and fully understand that it is necessary to simplify visual elements, leaving only key BOS and CHoCH marks, as well as implement correct signal confirmation logic considering pullback and breakout types (body or shadow). I am also ready to implement support for gaps, where a price gap is interpreted as a candle close, which is important for accurate signal formation.
Special attention will be given to the alert system for three timeframes (M1, M15, H4) with the ability to flexibly configure them, limit the number of consecutive CHoCH signals, and filter by price ranges, as described. I will implement this logic neatly and modularly — the code will be clean, structured, and easily scalable. Repetitive calculations will be moved into functions, minimizing request.security calls, and optimizing performance for stable operation even when using multiple charts.
I have experience testing such indicators both on the web version of TradingView and in the mobile app, with real alerts. I can provide examples of previous projects or create a demo fragment based on your template. I am ready to start work immediately, provide access to the code, and pass a test if needed.
I would be glad to discuss the details and collaborate with you on this project.
-
13 days300 USD
8773 60 0 1 13 days300 USDHello,
We are ready to assist with customizing your TradingView indicator. Our company SolidWay has experience in developing and modifying trading tools, which allows us to successfully solve similar tasks. We have developed algorithms, including BOS and CHoCH logic, and are confident that we can adapt your indicator according to the specified requirements.
It is important that we consider all aspects of your project, such as simplifying visual elements, handling gaps, and implementing a notification system. We know how to ensure script performance and stability, even when used on multiple charts simultaneously.
Discussing the project details will help determine the budget and timeline, so let's discuss the specifics to successfully complete your task.
-
11 days300 USD
0 1 11 days300 USDI do everything qualitatively quickly and as you need, we will agree on the price.
Current freelance projects in the category Cryptocurrency & Blockchain
I am looking for a strong specialist in trading bots and agents.
250 USD
It is important to start - TODAY I need a person who has experience in writing trading bots on DEXs (needed on the BSC network) with an understanding of transaction costs, gas, etc. I want to test several trading strategies on a real trading agent I need to quickly… Cryptocurrency & Blockchain, Bot Development ∙ 8 hours 49 minutes back ∙ 14 proposals |
Audit and construction of a secure infrastructure for sending BTC transactions
602 USD
We are looking for a Bitcoin security engineer for two tasks: (1) auditing the current wallet generation and BTC sending system to identify vulnerabilities; (2) designing and building a new secure infrastructure for key storage and transaction sending.Part 1 — Audit of the… System & Network Administration, Cryptocurrency & Blockchain ∙ 10 days 17 hours back ∙ 11 proposals |

