Spécifications

Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction as well here is the code 

 

Trend Indicator A*V2 (smoothed Helkin Ashi Cloud) by DZIV

 

//@version=5

//

//╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗

//║ Author  | DZIV (dzi_v_)

//║ Licence | CC BY-NC-SA 4.0 : https://creativecommons.org/licenses/by-nc-sa/4.0/

//╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣

//║ Changelog :

//║ 2021.04.15 > A-V1.0 -First publish

//║ 2021.05.05 > A-V2.0 -Added high and low calculation and display

//║                     -Minor script optimisation

//║ 2021.05.06 > A-V2.1 -Added resolution customisation in the study

//║ 2021.10.18 > A-V2.2 -Added "MA Type" customisation possibility

//║                     -Replaced the "colour schemes" feature by a "base color inputs" feature (user friendly)

//║                     -Switched the title names to English for a better understanding

//║                     -Minor script optimisation

//║ 2024.04.21 > A-V2.3 -Switched to PineScript version 5

//║                     -Major script rethinking and optimisation

//║                     -Removed double smoothing for less lag

//║                     -Added ALMA, HMA and ZLEMA to the "MA Type" input string

//╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝

//

//╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗

//║ Settings :

indicator('Trend Indicator A (v2.3)', 'Trend Indicator A (v2.3)', true)

 

ma_type = input.string('EMA', 'MA Type', ['ALMA','HMA','SMA','SWMA','VWMA','WMA','ZLEMA','EMA'], group = 'Setup')

ma_period = input.int(9, 'MA Period (Length)', 1, group='Setup')

 

alma_offset = input.float(0.85, 'ALMA Shift', 0, 1, 0.05, group = 'Setup (ALMA)')

alma_sigma = input.int(6, 'ALMA Deviation', 1, step = 1, group = 'Setup (ALMA)')

 

show_line_1(x) =>

    input.bool(true, 'Show Close line', group = 'On/Off') ? x : na

show_line_2(x) =>

    input.bool(false, 'Show High/Low lines', group = 'On/Off') ? x : na

show_fill(x) =>

    input.bool(true, 'Show fill', group = 'On/Off') ? x : na

//╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣

//║ Calculations :

f(x) =>

    switch ma_type

        'ALMA' => ta.alma(x, ma_period, alma_offset, alma_sigma)

        'HMA' => ta.hma(x, ma_period)

        'SMA' => ta.sma(x, ma_period)

        'SWMA' => ta.swma(x)

        'VWMA' => ta.vwma(x, ma_period)

        'WMA' => ta.vwma(x, ma_period)

        'ZLEMA' => ta.ema(x + x - x[math.floor((ma_period - 1) / 2)], ma_period)

        => ta.ema(x, ma_period)

 

ma_heikinashi_open = f(request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, open))

ma_heikinashi_close = f(request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, close))

ma_heikinashi_high = f(request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, high))

ma_heikinashi_low = f(request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, low))

 

trend = 100 * (ma_heikinashi_close - ma_heikinashi_open) / (ma_heikinashi_high - ma_heikinashi_low)

//╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣

//║ Colors :

color_positive = input.color(color.new(#26A69A, 0), 'Positive color (Bullish)', group = 'Colors')

color_negative = input.color(color.new(#EF5350, 0), 'Negative color (Bearish)', group = 'Colors')

color_neutral = input.color(color.new(#808080, 0), 'Neutral color', group = 'Colors')

 

color_trend = trend > 0 ? color_positive : color_negative

//╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣

//║ Plot :

plot_open = plot(ma_heikinashi_open, 'Open line', na)

plot_close = plot(ma_heikinashi_close, 'Close line', show_line_1(color_trend), 2)

plot_high = plot(ma_heikinashi_high, 'High line', show_line_2(color_neutral))

plot_low = plot(ma_heikinashi_low, 'Low line', show_line_2(color_neutral))

 

plot_highest = plot(math.max(ma_heikinashi_open, ma_heikinashi_close),'Highest Body line', na)

plot_lowest = plot(math.min(ma_heikinashi_open, ma_heikinashi_close),'Lowest Body line', na)

//╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣

//║ Fill :

fill(plot_open, plot_close, color.new(color_trend,50), 'Open/Close Cloud')

fill(plot_high, plot_highest, show_fill(color.new(color_neutral,87.5)), title = 'High Cloud')

fill(plot_lowest, plot_low, show_fill(color.new(color_neutral,87.5)), title = 'Low Cloud')

//╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝


Répondu

1
Développeur 1
Évaluation
(70)
Projets
87
57%
Arbitrage
6
67% / 17%
En retard
2
2%
Chargé
2
Développeur 2
Évaluation
(175)
Projets
187
47%
Arbitrage
3
33% / 33%
En retard
1
1%
Chargé
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(15)
Projets
22
45%
Arbitrage
6
33% / 33%
En retard
2
9%
Chargé
Publié : 7 articles, 35 codes
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(7)
Projets
6
0%
Arbitrage
4
25% / 75%
En retard
2
33%
Gratuit
8
Développeur 8
Évaluation
(3)
Projets
9
67%
Arbitrage
0
En retard
0
Travail
9
Développeur 9
Évaluation
(6)
Projets
8
38%
Arbitrage
1
100% / 0%
En retard
2
25%
Gratuit
10
Développeur 10
Évaluation
(12)
Projets
13
62%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(13)
Projets
18
44%
Arbitrage
2
50% / 50%
En retard
0
Gratuit
12
Développeur 12
Évaluation
(15)
Projets
20
25%
Arbitrage
2
50% / 0%
En retard
4
20%
Travail
13
Développeur 13
Évaluation
(10)
Projets
13
0%
Arbitrage
24
0% / 75%
En retard
4
31%
Travail
14
Développeur 14
Évaluation
(33)
Projets
34
41%
Arbitrage
0
En retard
3
9%
Gratuit
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
17
Développeur 17
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
18
Développeur 18
Évaluation
(8)
Projets
13
38%
Arbitrage
0
En retard
2
15%
Gratuit
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
Requirements Specification Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with
REWARD! 35 - 200 USD
I will pay you a REWARD, if you find / create an EA that fits ALL the below criteria! Platform : MT4 ONLY! NOT MT5, I repeat: NOT MT5!! Timeframe : doesn’t matter Pair : doesn’t matter Strategy : doesn’t matter Drawdown : no more than 25% Return : minimum 5%, every month Lot sizing : dynamic lots I will backtest the EA with 99.9% tick data accuracy for a period of 20+ years . If the EA can produce minimum 5% returns
Recently I have backtested more than 100 EAs and I have come to a conclusion that in the long-term all of them produce catastrophic results. I used 99.9% data quality and whenever possible decades of data. In the short-term almost all of them can have nice gains. But there is hardly any EA that could survive even just 3-5 years, let alone decades ! This got me thinking: if almost all EAs are unfit for long-term
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial

Informations sur le projet

Budget
30+ USD
Délais
à 1 jour(s)