Please modify this divergence indicator to not repaint. Instead for every candle print a dot above candle for bearish and below for bullish.

MQL4 Göstergeler

İş Gereklilikleri

This indicator uses a repainting line over the bars where there is a divergence. 

I need the indicator to instead not repaint. I need a simple dot above the bar for bearish and below the bar for bullish. 


This is exactly what Im looking for but in tradingview. I want the indicator to look and act exactly like tradingview's indicator. 



In MT4 the repainting line is causing me issues when I backtest. It is leaving legacy lines all over my chart. 




Attached is the indicator I need modified



Here is the tradingview code if it helps: 


study("Knox_Div", overlay=true)

// Creator: Andrew Palladino/Rob Booker

// Modified: 12/21/2018

// Description: Knoxville Divergence Pinescript. 

// Version: 1.1


// Updates:

// 12/21/2018: Changed momentum reference candle from 1 to 0. Line 28 and line 50.


look_back = input(title="KD Lookback Period = ", type=integer, defval=30)

mom_period = input(title="KD Momentume Period = ", type=integer, defval=20)

rsi_period = input(title="KD Relative Strength Period = ", type=integer, defval=21)


//ob = input(title="RSI Overbought Level = ", type=integer, defval=70)

//os = input(title="RSI Oversold Level = ", type=integer, defval=30)

ob = 70

os = 30


momentum = mom(close, mom_period)

rsi_series = rsi(close, rsi_period)


//KD IN UPTREND

is_highest = iff(high == highest(high, look_back), 1, 0)


bar_up = 0

for i = 5 to look_back


    mom_check_up = if momentum[0] < momentum[i]

        bar_up := i

        1


rsi_ob = 0

for j = 0 to bar_up+1


    rsi_check_ob = if rsi_series[j] > ob

        rsi_ob := 1

        1

kd_check_up = iff((high > high[bar_up]) and (is_highest==true) and (bar_up > 0) and (rsi_ob == 1), 1, 0)



//bgcolor(rsi_ob==1 ? lime : na)



//KD IN DOWNTREND

is_lowest = iff(low == lowest(low, look_back), 1, 0)


bar_down = 0

for i = 5 to look_back


    mom_check_down = if momentum[0] > momentum[i]

        bar_down := i

        1


rsi_os = 0

for j = 0 to bar_down+1


    rsi_check_os = if rsi_series[j] < os

        rsi_os := 1

        1


kd_check_down = iff((low < low[bar_down]) and (is_lowest==true) and (bar_down > 0) and (rsi_os == 1), 1, 0)


//bgcolor(kd_check_up ? red : kd_check_down ? lime : na)



is_bullish_kd = kd_check_down and low <= lowest(low, look_back)

is_bearish_kd = kd_check_up and high >= highest(high, look_back)


plotchar(is_bullish_kd, text='+kd', textcolor=green, location=location.belowbar, color=green)

plotchar(is_bearish_kd, text='-kd', textcolor=red, location=location.abovebar, color=red)

//bgcolor(is_bearish_kd ? lime : na)


alertcondition(is_bullish_kd, title="Bullish KD Alert", message = "Bullish KD Alert!!")

alertcondition(is_bearish_kd, title="Bearish KD Alert", message = "Bearish KD Alert!!")

alertcondition(is_bearish_kd or is_bullish_kd, title="Bearish/Bullish KD Alert", message = "KD Alert!!")


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(94)
Projeler
190
66%
Arabuluculuk
8
25% / 50%
Süresi dolmuş
2
1%
Serbest
2
Geliştirici 2
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
Benzer siparişler
The Advisor should stop trading if the spread exceeds a selected value. Source code is unavailable. Decompilation may be necessary or any other suggested working solution may be acceptable. Testing should be thorough with proven demonstrable results
Convert Time Range Breakout Indicator to Strategy (Pine Script) I have an existing Time Range Breakout indicator on TradingView. I need a developer to convert it into a fully functional strategy with proper trade execution logic. Strategy Logic: Time Range: Define a specific time range (e.g., 03:00 – 04:30) During this time, the indicator marks the High and Low range Entry Conditions Buy when price touches the range
Hello, I’m looking for an experienced MQL4 developer to build a custom MT4 Expert Advisor based on a Koncorde-style indicator strategy. Here are the main requirements: 🔹 General Overview The EA must be a master EA , running on a single chart and managing multiple currency pairs simultaneously No need to attach EA to each chart Must support a configurable list of symbols 🔹 Indicator Requirement Develop a custom
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
Core Requirements: Platform: MetaTrader 5 (MT5). Symbol: XAUUSD (Gold). Timeframes: M1 and M5 (user selectable). Trading Style: Scalping with controlled risk (not aggressive or high-risk strategies) -> adjustable, even better. Execution: Fast execution, optimized for gold market conditions. Frequence = adjustable, but there should be 10-20 trades per day. Strategy Logic: Use a reliable and conservative strategy
Eu preciso disso. A linha central do TMA (17,5,1.5) será a principal referência. Outra linha de média móvel (AVG) de 3 períodos decrescentes 2. As ordens serão as seguintes: abaixo, somente compra de TMA; acima, somente venda de TMA. O sinal de entrada será o seguinte: se o preço estiver acima da Média Móvel Tarifária (TMA), será apenas para venda; quando o preço se mantiver abaixo da Média Móvel Tarifária (AVG)
I am looking for non-repainting indicator to run in all sessions for scalping gold , happy to discuss if you have developed such indicators which can show profit and stop loss levels
Hello! I want to buy two indicators: A Support and Resistence Indicator and a Trendline Indicator. Support and Resistence Indicators needs to automatically draws Support and Resistance lines based on High and Low Candle in every time-frame (If possible time-frame needs to be in inputs and choose by me what time-frame i want indicator to draw lines) Trendline Indicator needs to automatically draws Trendline Channels

Proje bilgisi

Bütçe
30+ USD