OPEN-SOURCE SCRIPT

Crosby Ratio Indicator

58
//version=5
indicator("Crosby Ratio Indicator", overlay=false)

// Define the parameters (Adjust as needed)
length = input(14, title="Lookback Period")

// Example Calculation (Replace with actual Crosby Ratio formula)
highs = ta.highest(high, length)
lows = ta.lowest(low, length)
crosby_ratio = (highs - lows) / lows * 100 // Placeholder formula

// Plot the Crosby Ratio
plot(crosby_ratio, title="Crosby Ratio", color=color.blue, linewidth=2)

// Add a baseline (Optional)
hline(50, "Threshold", color=color.red, linestyle=hline.style_dotted)

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.