Hilega Milega Indicator

@Dhan @PravinJ

Please provide :index_pointing_up: above “Hilega Milega” Indicator -screen shot attached available on Trading View

3 Likes

Honestly, I am hearing this name for the very first time today, and I just couldn’t stop laughing! :joy: “Hilega Milega” sounds so bizarre and funny for a stock market tool—it feels more like a comedy movie dialogue than a technical indicator.

I have never used it personally, so I have no idea how it actually works on charts. But I must say, the name itself is incredibly catchy and unique! Let’s see if Dhan brings this interestingly named tool to the platform.

1 Like

I just seen the script its a combination of rsi length 3 and ema 3 and rsi length 21 and wma 21 the plotted lines are wma and ema lines and rest is rsi movement above 50 and below 50, script owner mentioned that he used wma to weigh volume and even suggested to add vwap to make it more accurate i may be not accurate in describing here what he said about his script, here his description of this script and his pinescript shared below:

Publishing this script on special request.

script siulates the strategy given by very polite and veteran trader from Patna ( NK Stock Talk ) . according to him, one can predict the market movement in any timeframe by applying some correlations of volume and price on top of strength.

He recommends to apply weighted moving avergage ( to predict volume factor ) on top of RSI and EMA to predict price ( on top of RSI again ) along with VWAP . i could not include VWAP here in script but it can be added separatly by just striking “/” on chart.

for more information and understanding on the strategy, one can refer the channel of NK Stock talk
search “Hilega To Milega (Hilbe_milbe ) Trading & Investing super System” on youtube.

Hopefully this will be usefull for all those who are using basic serverice of trading view and could not do indicator on top of indicator.

Disclaimer : I am just publishing for public use and nothing is recommendation. please understand it first before applying to trading. purpose of this script is solely on giving example how pine can be used to solved indicator on indicator problems. all credit to person who created this strategy.

Thanks
-daytraderph

/@version=4

study(title=“Hilega-Milega”, shorttitle=“Hilega-Milega”, format=format.price, precision=2, resolution=“”)

len = input(9, minval=1, title=“Length”)

src = input(close, “Source”, type = input.source)

_rsi=rsi(src,len)

h_50=plot(50,color=color.green,style=plot.style_line, linewidth=1,title="Line -50 ")

p_rsi=plot(_rsi,color=color.black,style=plot.style_line,linewidth=2 ,title=“RSI - Plot”)

fill(p_rsi, h_50, color = _rsi > 50 ? color.red:color.aqua,transp=50)

wma_21=wma(_rsi,21)

ema_3=ema(_rsi,3)

plot(wma_21, color=color.red, style=plot.style_line, linewidth=2, title=“Strength”)

plot(ema_3, color=color.green, style=plot.style_line, linewidth=2,title=“Price”)

1 Like

Many thanks for providing all important and relevant details :folded_hands:

1 Like

May learn and try it is very helpful in regular trading(s).

1 Like

Thanks for the suggestion! I actually focus more on chart and market psychology rather than indicators, but good to know it works well for you

Price action is grandfather of all

I’ve been using it 2 years and it’s a great tool on Tradingview. It helps a lot.

1 Like

@him_arora @Dhan Can you help on this? It is possible to build at ZeroDha web site but not possible on Dhan trading platform (Over lapping of moving averages on RSI as base inputs, like now have open, close, high, low, hlc/3 etc…)

There is a YouTube video on this. Given to understand that traders like it, a lot.
I got the original script from in[dot]tradingview[dot]com & used one of the AI tools to tweak its UI a bit.
Any AI tools that you use can explain the logic and constrains under which the scrip will perform.

//@version=6

indicator(title=“HM Buy/Sit/Sell_Avoid”, shorttitle=“Buy/Sit/Sell_Avoid”, format=format.price, precision=2)

**
**

// ── Inputs ────────────────────────────────────────────────────────────────

len = input.int(9, minval=1, title=“RSI Length”)

src = input.source(close, “Source”)

// ── Calculations ──────────────────────────────────────────────────────────

_rsi = ta.rsi(src, len)

wma_21 = ta.wma(_rsi, 21)

ema_3 = ta.ema(_rsi, 3)

// ── Zone Logic ────────────────────────────────────────────────────────────

isBuy = _rsi > 50 and ema_3 > wma_21

isSell = _rsi < 50 and ema_3 < wma_21

isNothing = not isBuy and not isSell

// ── Plots ─────────────────────────────────────────────────────────────────

h_50 = plot(50, color=color.green, linewidth=1, title=“Line - 50”)

p_rsi = plot(_rsi, color=color.black, linewidth=2, title=“RSI”)

fill(p_rsi, h_50,

color = _rsi > 50 ? color.new(color.red, 50) : color.new(color.aqua, 50))

plot(wma_21, color=color.red, linewidth=2, title=“Strength (WMA 21)”)

plot(ema_3, color=color.green, linewidth=2, title=“Price (EMA 3)”)

// ── Labels ────────────────────────────────────────────────────────────────

buyStart = isBuy and not isBuy[1]

sellStart = isSell and not isSell[1]

nothingStart = isNothing and not isNothing[1]

if buyStart

label.new(bar_index, _rsi + 4,

text = “B”,

color = color.new(color.green, 0),

textcolor = color.white,

style = label.style_label_up,

size = size.small)

if sellStart

label.new(bar_index, _rsi - 4,

text = “S/Avd”,

color = color.new(color.red, 0),

textcolor = color.white,

style = label.style_label_down,

size = size.small)

if nothingStart

label.new(bar_index, _rsi,

text = “DN”,

color = color.new(color.orange, 0),

textcolor = color.white,

style = label.style_label_right,

size = size.small)

**
**

//@version=5
indicator(title=“Hilega Milega”, shorttitle=“HM”, overlay=false, format=format.price, precision=2)

// ==========================================
// — INPUTS —
// ==========================================
len = input.int(9, minval=1, title=“RSI Length”)
src = input.source(close, “Source”)
wma_len = input.int(21, minval=1, title=“WMA Length”)
ema_len = input.int(3, minval=1, title=“EMA Length”)
show_80 = input.bool(true, “Show Levels?”, group=“Levels”)
level_80 = input.int(80, “Upper Level”, group=“Levels”)
level_20 = input.int(20, “Lower Level”, group=“Levels”)
level_50 = 50

// ==========================================
// — CALCULATIONS —
// ==========================================
_rsi = ta.rsi(src, len)
wma_val = ta.wma(_rsi, wma_len)
ema_val = ta.ema(_rsi, ema_len)

// ==========================================
// — PLOTTING (OSCILLATOR) —
// ==========================================
h_50 = plot(level_50, color=color.new(color.gray, 50), title=“Mid Line 50”)
hline(show_80 ? level_80 : na, color=color.new(color.red, 30), linestyle=hline.style_dashed)
hline(show_80 ? level_20 : na, color=color.new(color.green, 30), linestyle=hline.style_dashed)

p_rsi = plot(_rsi, color=color.black, linewidth=2, title=“RSI”)
p_wma = plot(wma_val, color=color.red, linewidth=2, title=“Strength-WMA”)
p_ema = plot(ema_val, color=color.green, linewidth=2, title=“Price-EMA”)

// Fill color changes to green if the EMA is above 50, and blue if below 50
fill(p_ema, p_wma, color = ema_val >= 50 ? color.new(color.green, 85) : color.new(color.blue, 85), title=“Trend Fill”)

made with ai and added option to modify numbers and few more things ..

thanks for dhan rsi strength & momentum .. though if value changes of wma & ema in future, you guys have to modify it again .. my given source code has option to modify it by user(few other option for advance use) .. if possible .. can use this code ..

1 Like

The best would be give every trader to add at least one of their own customized indicator.

it is a good indicator bro

1 Like

i remember there was a whole series of videos for logic and explanation of the tool. this guy seems new to trading or the community of trading. almost all pre-c0vid traders knows the setup and guy behind this setup as it was talk of the town for a while in the community. pretty funny but there was logic behind it and one can improvise and make their own setup based on that.

@Dhan @PravinJ @him_arora & Entire Product Team, Many thanks for providing Indicator based on request “Dhan RSI Strength & Momentum”. Dil Se big Thanks to all of YOU…:folded_hands:

1 Like