Create tradingview indicator with pine script

Other Indicateurs

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
Nice
Commentaires de l'employé
Great customer, good description of specifications, fast communications. I look forward to working with you again.

Spécifications

I would like an indicator that calculates a percentage distance from a band. The percentage distance should be fully adjustable by the user.

The indicator should draw a horizontal line at the selected percentage distance, and that line should support a price alert.

It should be able to calculate the distance from the blue band in both directions:

  • upward (above the blue band),
  • downward (below the blue band).

There should also be the same functionality for the red band, with its own adjustable percentage distance.

Additionally, there should be an option to:

  • calculate and draw lines from both bands simultaneously,
  • enable calculations from only the blue band,
  • enable calculations from only the red band,
  • or disable this feature completely so that no percentage-distance lines are drawn.

The bands move together with the price, so the calculated line must update dynamically as well.

For example, if I set the line to 0.20% above the blue band, I want the line to always stay 0.20% above the current position of the blue band. As the band moves up or down, the line should move with it automatically, maintaining the exact 0.20% distance at all times.

In other words, the line should continuously recalculate its position based on the current value of the selected band, rather than remaining fixed at the original level.



Répondu

1
Développeur 1
Évaluation
(281)
Projets
352
29%
Arbitrage
37
27% / 65%
En retard
10
3%
Chargé
2
Développeur 2
Évaluation
(398)
Projets
514
23%
Arbitrage
60
57% / 25%
En retard
60
12%
Chargé
3
Développeur 3
Évaluation
(22)
Projets
28
7%
Arbitrage
9
33% / 33%
En retard
1
4%
Travail
4
Développeur 4
Évaluation
(2)
Projets
2
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
7
Développeur 7
Évaluation
(19)
Projets
25
36%
Arbitrage
3
33% / 67%
En retard
3
12%
Gratuit
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(154)
Projets
214
69%
Arbitrage
8
38% / 38%
En retard
22
10%
Gratuit
10
Développeur 10
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 5 codes
11
Développeur 11
Évaluation
(3)
Projets
9
67%
Arbitrage
0
En retard
0
Travail
12
Développeur 12
Évaluation
(8)
Projets
10
30%
Arbitrage
0
En retard
2
20%
Chargé
Publié : 1 code
13
Développeur 13
Évaluation
(16)
Projets
21
29%
Arbitrage
2
50% / 0%
En retard
4
19%
Travail
Commandes similaires
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not

Informations sur le projet

Budget
35+ USD