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")
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.