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")
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.