ChartArt

Hobble Skirt Bottom Impede Fashion (by ChartArt)

A very noisy indicator to detect bottoms and new uptrends.
Original idea by ChartArt.

First published indicator - constructive criticism welcome.
(The indicator is experimental and doesn't work most of the time.)

I would describe it as an "coincident indicator". The signals occur at approximately the same time as the conditions it signifies. Rather than predicting future events it changes at the same time to the upside as possible bottoms show up.

P.S. hobble skirt is a syllable of chart, that is how I came up with the name
"A hobble skirt was a skirt with a narrow enough hem to significantly impede the wearer's stride, and was a short-lived fashion trend around the turn of the twentieth century."

P.P.S. Bottoms are also short-lived...
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?
study("Hobble Skirt Bottom Impede Fashion (by ChartArt)", shorttitle = "CA_Hobble_Bottom")

// version 1.0
// idea and art creation by ChartArt on 1-19-2014
//
// A very noisy indicator to detect bottoms and new uptrends.
// The indicator is experimental and doesn't work most of the time, hence the ridiculous name.
//
// list of my work: 
// https://www.tradingview.com/u/ChartArt/

switch1=input(true, title="Enable Hobble Skirt Bottom?")
switch2=input(true, title="Enable Fashion?")
switch3=input(true, title="Enable Impede?")

skirt = low[0]-low[1]
hobble_skirt = ((skirt[0]-skirt[1])+(skirt[0]-skirt[2]))/2
bottom=low[0]>low[1] ? green : red
impede=(low[0]>low[1] or low[1]>low[2]) and (high[0]>high[1] or high[1]>high[2]) and (hl2[0]>hl2[1] or hl2[1]>hl2[2]) and skirt>0 ? green : red
fashion_length = input(3, title="Fashion Length")
fashion=ema(hobble_skirt,fashion_length)

plot(switch1?hobble_skirt:na, color=bottom, linewidth=3)
plot(switch2?fashion:na, color=aqua, linewidth=2, linewidth=1)
bgcolor(switch3?impede:na, transp=80)