PROTECTED SOURCE SCRIPT
Custom Intraday Indicator with FII and Operator Activity

//version=5
indicator("Custom Intraday Indicator with FII and Operator Activity", overlay=true)
// Moving Averages for Entry/Exit Signals
shortMA = ta.sma(close, 9)
longMA = ta.sma(close, 21)
entrySignal = ta.crossover(shortMA, longMA)
exitSignal = ta.crossunder(shortMA, longMA)
// Open Interest and OI Change
oi = request.security(syminfo.ticker + ":OI", timeframe.period, close)
oiChange = oi - ta.valuewhen(oi != na, oi, 1)
// FII and Operator Activity (Assuming data is available from a custom source)
fiiBuying = request.security("FII_BUYING_DATA", timeframe.period, close)
fiiSelling = request.security("FII_SELLING_DATA", timeframe.period, close)
operatorBuying = request.security("OPERATOR_BUYING_DATA", timeframe.period, close)
operatorSelling = request.security("OPERATOR_SELLING_DATA", timeframe.period, close)
// Support and Resistance Levels
pivotHigh = ta.highest(high, 10)
pivotLow = ta.lowest(low, 10)
// Plotting
plot(shortMA, color=color.blue, title="Short MA")
plot(longMA, color=color.red, title="Long MA")
plotshape(entrySignal, style=shape.triangleup, location=location.belowbar, color=color.green, title="Entry Signal")
plotshape(exitSignal, style=shape.triangledown, location=location.abovebar, color=color.red, title="Exit Signal")
plot(pivotHigh, color=color.orange, style=plot.style_line, title="Pivot High")
plot(pivotLow, color=color.purple, style=plot.style_line, title="Pivot Low")
// Display OI and OI Change
plot(oi, color=color.blue, title="Open Interest")
plot(oiChange, color=color.fuchsia, title="OI Change")
// Display FII and Operator Activity
plot(fiiBuying, color=color.green, title="FII Buying")
plot(fiiSelling, color=color.red, title="FII Selling")
plot(operatorBuying, color=color.blue, title="Operator Buying")
plot(operatorSelling, color=color.purple, title="Operator Selling")
indicator("Custom Intraday Indicator with FII and Operator Activity", overlay=true)
// Moving Averages for Entry/Exit Signals
shortMA = ta.sma(close, 9)
longMA = ta.sma(close, 21)
entrySignal = ta.crossover(shortMA, longMA)
exitSignal = ta.crossunder(shortMA, longMA)
// Open Interest and OI Change
oi = request.security(syminfo.ticker + ":OI", timeframe.period, close)
oiChange = oi - ta.valuewhen(oi != na, oi, 1)
// FII and Operator Activity (Assuming data is available from a custom source)
fiiBuying = request.security("FII_BUYING_DATA", timeframe.period, close)
fiiSelling = request.security("FII_SELLING_DATA", timeframe.period, close)
operatorBuying = request.security("OPERATOR_BUYING_DATA", timeframe.period, close)
operatorSelling = request.security("OPERATOR_SELLING_DATA", timeframe.period, close)
// Support and Resistance Levels
pivotHigh = ta.highest(high, 10)
pivotLow = ta.lowest(low, 10)
// Plotting
plot(shortMA, color=color.blue, title="Short MA")
plot(longMA, color=color.red, title="Long MA")
plotshape(entrySignal, style=shape.triangleup, location=location.belowbar, color=color.green, title="Entry Signal")
plotshape(exitSignal, style=shape.triangledown, location=location.abovebar, color=color.red, title="Exit Signal")
plot(pivotHigh, color=color.orange, style=plot.style_line, title="Pivot High")
plot(pivotLow, color=color.purple, style=plot.style_line, title="Pivot Low")
// Display OI and OI Change
plot(oi, color=color.blue, title="Open Interest")
plot(oiChange, color=color.fuchsia, title="OI Change")
// Display FII and Operator Activity
plot(fiiBuying, color=color.green, title="FII Buying")
plot(fiiSelling, color=color.red, title="FII Selling")
plot(operatorBuying, color=color.blue, title="Operator Buying")
plot(operatorSelling, color=color.purple, title="Operator Selling")
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.