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")
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。