LazyBear

Elder's Market Thermometer [LazyBear]

Market temperature, introduced by Dr.Alexander Elder, helps differentiate between sleepy, quiet and hot market periods.

Following is Mr.Elder's explanation on how to use this indicator (from his book "Come in to my Trading Room"):

"When markets are quiet, the adjacent bars tend to overlap. The consensus of value is well established, and the crowd does little buying or selling outside of yesterday’s range. When highs and lows exceed their previous day’s values, they do so only by small margins. Market Thermometer falls and its EMA slants down, indicating a sleepy market. When a market begins to run, either up or down, its daily bars start pushing outside of the previous ranges. The histogram of Market Thermometer grows taller and crosses above its EMA, which soon turns up, confirming the new trend."

"Market Thermometer gives four trading signals, based on the relationship between its histogram and its moving average:

1) The best time to enter new positions is when Market Thermometer falls below its moving average. When Market Thermometer falls below its EMA, it indicates that the market is quiet. If your system flashes an entry signal, try to enter when the market is cooler than usual. When Market Thermometer rises above its moving average, it warns that the market is hot and slippage more likely.

2) Exit positions when Market Thermometer rises to triple the height of its moving average. A spike of Market Thermometer indicates a runaway move. When the crowd feels jarred by a sudden piece of news and surges, it is a good time to take profits. Panics tend to be short-lived, offering a brief opportunity to cash in. If the EMA of Market Thermometer stands at 5 cents, but the Thermometer itself shoots up to 15 cents, take profits. Test these values for the market you are trading.

3) Get ready for an explosive move if the Thermometer stays below its moving average for five to seven trading days. Quiet markets put amateurs to sleep. They become careless and stop watching prices. Volatility and volume fall, and professionals get a chance to run away with the market. Explosive moves often erupt from periods of inactivity.

4) Market Thermometer can help you set a profit target for the next trading day. If you are a short-term trader and are long, add the value of today’s Thermometer EMA to yesterday’s high and place a sell order there. If you are short, subtract the value of the Thermometer’s EMA from yesterday’s low and place an order to cover at that level."

You can configure the "Explosive Move threshold" (default: 3), "Idle Market Threshold" (default: 7) and "Thermometer EMA length" (default: 22) via Options page.

More info:
"Come in to my Trading Room - A complete Guide to Trading" by Dr.Alexander Elder. (Page 162)

List of my other indicators:
- Chart: - GDoc: docs.google.com...ByMEvm5MLo/edit?usp=sharin...


List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?
//
// @author LazyBear 
// List of all my indicators: 
// https://docs.google.com/document/d/15AGCufJZ8CIUvwFJ9W-IKns88gkWOKBCvByMEvm5MLo/edit?usp=sharing
//
study("Elder Market Thermometer [LazyBear]", shorttitle="EMT_LB")
lengthMA=input(22, "EMA Length")
explosiveMktThreshold=input(3, title="Explosive Market Threshold")
idleMarketThreshold=input(7, title="Idle Market Threshold")

emt =   iff (high<high[1] and low>low[1], 0, 
        iff ((high - high[1]) > (low[1] - low), abs(high - high[1]), abs(low[1] - low)))

aemt = ema(emt, lengthMA)
qc=aemt>emt?nz(qc[1])+1:0
cemt = (emt < aemt) ? qc>idleMarketThreshold?green:blue : 
        ((emt > aemt) and (emt < aemt*explosiveMktThreshold)) ? orange : red

plot(emt, color=cemt, style=columns, linewidth=2, title="Market Thermometer")
plot(aemt, color=#FE00DE, title="EMA of Market Thermometer")