
I have just bought it, now on Monday I will know how much loss and how much profit I will make.
What do you think, should I hold it till Monday or sell it today?

What do you think, should I hold it till Monday or sell it today?
"I have just started an SIP in Wipro. I bought the stock at ₹204 and have never sold it. Now it is trading at ₹174. Should I continue holding it and invest more, or should I average down my position?"
//@version=6
strategy(
"Professional Multi-Divergence Strategy",
overlay=true,
pyramiding=0,
initial_capital=10000,
commission_type=strategy.commission.percent,
commission_value=0.05)
​
//////////////////////////////////////////////////////////////////////////////
// INPUTS
//////////////////////////////////////////////////////////////////////////////
​
pivotLen = input.int(5, "Pivot Length", minval=2)
emaLen = input.int(200, "EMA Trend Length")
adxLen = input.int(14, "ADX Length")
adxMin = input.float(20, "Minimum ADX")
​
minScore = input.int(2, "Minimum Divergence Score", minval=1, maxval=4)
​
slATR = input.float(1.5, "SL ATR Multiplier")
tpATR = input.float(3.0, "TP ATR Multiplier")
​
//////////////////////////////////////////////////////////////////////////////
// INDICATORS
//////////////////////////////////////////////////////////////////////////////
​
ema200 = ta.ema(close, emaLen)
​
rsi = ta.rsi(close, 14)
​
mfi = ta.mfi(hlc3, 14)
​
[macdLine, signalLine, hist] = ta.macd(close, 12, 26, 9)
​
obv = ta.obv
​
[_, _, adx] = ta.dmi(adxLen, adxLen)
​
atr = ta.atr(14)
​
//////////////////////////////////////////////////////////////////////////////
// PIVOTS
//////////////////////////////////////////////////////////////////////////////
​
phPrice = ta.pivothigh(high, pivotLen, pivotLen)
plPrice = ta.pivotlow(low, pivotLen, pivotLen)
​
phRSI = ta.pivothigh(rsi, pivotLen, pivotLen)
plRSI = ta.pivotlow(rsi, pivotLen, pivotLen)
​
phMFI = ta.pivothigh(mfi, pivotLen, pivotLen)
plMFI = ta.pivotlow(mfi, pivotLen, pivotLen)
​
phMACD = ta.pivothigh(macdLine, pivotLen, pivotLen)
plMACD = ta.pivotlow(macdLine, pivotLen, pivotLen)
​
phOBV = ta.pivothigh(obv, pivotLen, pivotLen)
plOBV = ta.pivotlow(obv, pivotLen, pivotLen)
​
//////////////////////////////////////////////////////////////////////////////
// STORAGE
//////////////////////////////////////////////////////////////////////////////
​
var float priceHigh1 = na
var float priceHigh2 = na
​
var float priceLow1 = na
var float priceLow2 = na
​
if not na(phPrice)
priceHigh2 := priceHigh1
priceHigh1 := phPrice
​
if not na(plPrice)
priceLow2 := priceLow1
priceLow1 := plPrice
​
//////////////////////////////////////////////////////////////////////////////
// RSI DIVERGENCE
//////////////////////////////////////////////////////////////////////////////
​
var float rsiHigh1 = na
var float rsiHigh2 = na
var float rsiLow1 = na
var float rsiLow2 = na
​
if not na(phRSI)
rsiHigh2 := rsiHigh1
rsiHigh1 := phRSI
​
if not na(plRSI)
rsiLow2 := rsiLow1
rsiLow1 := plRSI
​
bullRSI =
not na(priceLow1) and
not na(priceLow2) and
not na(rsiLow1) and
not na(rsiLow2) and
priceLow1 < priceLow2 and
rsiLow1 > rsiLow2
​
bearRSI =
not na(priceHigh1) and
not na(priceHigh2) and
not na(rsiHigh1) and
not na(rsiHigh2) and
priceHigh1 > priceHigh2 and
rsiHigh1 < rsiHigh2
​
//////////////////////////////////////////////////////////////////////////////
// MFI DIVERGENCE
//////////////////////////////////////////////////////////////////////////////
​
var float mfiHigh1 = na
var float mfiHigh2 = na
var float mfiLow1 = na
var float mfiLow2 = na
​
if not na(phMFI)
mfiHigh2 := mfiHigh1
mfiHigh1 := phMFI
​
if not na(plMFI)
mfiLow2 := mfiLow1
mfiLow1 := plMFI
​
bullMFI =
not na(priceLow1) and
not na(priceLow2) and
not na(mfiLow1) and
not na(mfiLow2) and
priceLow1 < priceLow2 and
mfiLow1 > mfiLow2
​
bearMFI =
not na(priceHigh1) and
not na(priceHigh2) and
not na(mfiHigh1) and
not na(mfiHigh2) and
priceHigh1 > priceHigh2 and
mfiHigh1 < mfiHigh2
​
//////////////////////////////////////////////////////////////////////////////
// MACD DIVERGENCE
//////////////////////////////////////////////////////////////////////////////
​
var float macdHigh1 = na
var float macdHigh2 = na
var float macdLow1 = na
var float macdLow2 = na
​
if not na(phMACD)
macdHigh2 := macdHigh1
macdHigh1 := phMACD
​
if not na(plMACD)
macdLow2 := macdLow1
macdLow1 := plMACD
​
bullMACD =
not na(priceLow1) and
not na(priceLow2) and
not na(macdLow1) and
not na(macdLow2) and
priceLow1 < priceLow2 and
macdLow1 > macdLow2
​
bearMACD =
not na(priceHigh1) and
not na(priceHigh2) and
not na(macdHigh1) and
not na(macdHigh2) and
priceHigh1 > priceHigh2 and
macdHigh1 < macdHigh2
​
//////////////////////////////////////////////////////////////////////////////
// OBV DIVERGENCE
//////////////////////////////////////////////////////////////////////////////
​
var float obvHigh1 = na
var float obvHigh2 = na
var float obvLow1 = na
var float obvLow2 = na
​
if not na(phOBV)
obvHigh2 := obvHigh1
obvHigh1 := phOBV
​
if not na(plOBV)
obvLow2 := obvLow1
obvLow1 := plOBV
​
bullOBV =
not na(priceLow1) and
not na(priceLow2) and
not na(obvLow1) and
not na(obvLow2) and
priceLow1 < priceLow2 and
obvLow1 > obvLow2
​
bearOBV =
not na(priceHigh1) and
not na(priceHigh2) and
not na(obvHigh1) and
not na(obvHigh2) and
priceHigh1 > priceHigh2 and
obvHigh1 < obvHigh2
​
//////////////////////////////////////////////////////////////////////////////
// SCORE SYSTEM
//////////////////////////////////////////////////////////////////////////////
​
bullScore = 0
bullScore += bullRSI ? 1 : 0
bullScore += bullMFI ? 1 : 0
bullScore += bullMACD ? 2 : 0
bullScore += bullOBV ? 2 : 0
​
bearScore = 0
bearScore += bearRSI ? 1 : 0
bearScore += bearMFI ? 1 : 0
bearScore += bearMACD ? 2 : 0
bearScore += bearOBV ? 2 : 0
​
//////////////////////////////////////////////////////////////////////////////
// FILTERS
//////////////////////////////////////////////////////////////////////////////
​
bullTrend = close > ema200
​
bearTrend = close < ema200
​
strongTrend = adx > adxMin
​
longSignal =
bullScore >= minScore and
bullTrend and
strongTrend
​
shortSignal =
bearScore >= minScore and
bearTrend and
strongTrend
​
//////////////////////////////////////////////////////////////////////////////
// ENTRIES
//////////////////////////////////////////////////////////////////////////////
​
if longSignal and strategy.position_size <= 0
strategy.entry("LONG", strategy.long)
​
if shortSignal and strategy.position_size >= 0
strategy.entry("SHORT", strategy.short)
​
//////////////////////////////////////////////////////////////////////////////
// EXITS
//////////////////////////////////////////////////////////////////////////////
​
longSL = strategy.position_avg_price - atr * slATR
longTP = strategy.position_avg_price + atr * tpATR
​
shortSL = strategy.position_avg_price + atr * slATR
shortTP = strategy.position_avg_price - atr * tpATR
​
strategy.exit(
"LONG EXIT",
from_entry="LONG",
stop=longSL,
limit=longTP)
​
strategy.exit(
"SHORT EXIT",
from_entry="SHORT",
stop=shortSL,
limit=shortTP)
​
//////////////////////////////////////////////////////////////////////////////
// PLOTS
//////////////////////////////////////////////////////////////////////////////
​
plot(ema200, title="EMA 200", linewidth=2)
​
plotshape(
longSignal,
title="LONG",
style=shape.triangleup,
location=location.belowbar,
size=size.small)
​
plotshape(
shortSignal,
title="SHORT",
style=shape.triangledown,
location=location.abovebar,
size=size.small)
​
alertcondition(longSignal, "Long Signal", "Bullish divergence setup")
alertcondition(shortSignal, "Short Signal", "Bearish divergence setup")
I live in India. How do I use TikTok? Can anyone in India tell me an easy way in which I can monetize my channel by making videos.
I work in the laboratory from 6 am to 11 am, after that I waste time watching movies at home, I have had fights with my friends too, currently I am not able to go out of the house for a walk, I stay at home and get bored.Is there anything I can do from home to earn a side income?