Professional Documents
Culture Documents
Adm
Adm
Welcome to Upstox!
DEMO: CO/OCO, Buy side SL and Sell side SL orders’:
CO/OCO orders CO (Cover Order): Place Buy order, Stop Loss in the same order. It is a pure Intraday
order.
OCO (One order Cancels Other/Bracket order): Place Buy order, Stop Loss and Target price in the
same order. It is a pure Intraday order.
Buy side Stop Loss (Buy side SL) A Buy side Stop Loss is used when the price of the security has
climbed above a specified stop price. The stop order can be entered as either SL-M order or a SL-L (a
pre-defined range) order.
Click to see video : https://youtu.be/Jt6w3DzGInw
Sell side Stop Loss (Sell side SL) A Sell side Stop Loss is used when the price of the security has
dropped below a specified stop price. The stop order can be entered as either SL-M order or a SL-L (a
pre-defined range) order.
Click to see video: https://youtu.be/3CBFKl3pQA4
Case 1) CMP is 500 . You want to buy @ 502 then you should use SL limit order
Case 2) CMP is 500. You want to buy @498 then you should use limit order
Case 3) CMP is 500. You want to sell @495 then you should use SL limit order
Case 4) CMP is 500. You want to sell @503 then you should use limit order
Upside (Breakout):-
Downside (Breakdown):-
Risk Management:-
Upside breakout
Downside breakout
1. Always use stoploss in half an hour candle from the last candle
high or low.
3. Before placing stoploss always check the high or low of the last
half hour candle.
5. Suppose for buying the high candle is 230.50 and the low
candle is 225.30 then the stoploss should be given at 224.30.
8. When Low one (L1) > Low two(L2) > Low three (L3)
9. When High three (H3)> High one (H1) > High two(H2)
//
study(title = "Magic Trading Tool", shorttitle = "TTSS", overlay =
true)
ShowEMA12_Channel= input(true)
ShowEMA36_Ribbon = input(true)
ShowPivots = input(true)
ShowPivotLabels = input(true)
ShowHHLL_ = input(false)
ShowHHLL = ShowPivots?false:ShowHHLL_
ShowFractals_= input(true)
ShowFractals = ShowPivots?false:ShowFractals_
ShowFractalLevels =input(false)
filterBW = ShowPivots?true:filterBW_
DodgerBlue = #1E90FF
isRegularFractal(mode) =>
ret = mode == 1 ? high_[5] < high_[4] and high_[4] < high_[3]
and high_[3] > high_[2] and high_[2] > high_[1] :
isBWFractal(mode) =>
//
||---------------------------------------------------------------------------------
--------------------||
:gray
pacC = ema(close_,HiLoLen)
pacL = ema(low_,HiLoLen)
pacU = ema(high_,HiLoLen)
ema05=plot(ShowEMA12_Channel?EMA05:na,
color=white,linewidth=1,transp=92,title="EMA05")
ema11=plot(ShowEMA12_Channel?EMA11:na,
color=blue,linewidth=1,transp=92,title="EMA11")
//
plot(emaMedium,
color=orange,linewidth=3,transp=20,title="EMA medium")
plot(emaSlow, color=yellow,linewidth=3,transp=20,title="EMA
slow")
plot( ShowEMA36_Ribbon?EMA12:na,
color=maColor(EMA12,EMA12,EMA36), style=line,
title="MA12", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA15:na,
color=maColor(EMA12,EMA15,EMA36), style=line,
title="MA15", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA18:na,
color=maColor(EMA12,EMA18,EMA36), style=line,
title="MA18", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA21:na,
color=maColor(EMA12,EMA21,EMA36), style=line,
title="MA21", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA24:na,
color=maColor(EMA12,EMA24,EMA36), style=line,
title="MA24", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA27:na,
color=maColor(EMA12,EMA27,EMA36), style=line,
title="MA27", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA30:na,
color=maColor(EMA12,EMA30,EMA36), style=line,
title="MA30", linewidth=1,transp=20)
plot( ShowEMA36_Ribbon?EMA33:na,
color=maColor(EMA12,EMA33,EMA36), style=line,
title="MA33", linewidth=1,transp=20)
topfractals = na
botfractals = na
topfcolor = na
botfcolor = na
(ShowPivots or
valuewhen(filteredtopf == true, high_[3], 2) <
valuewhen(filteredtopf == true, high_[3], 0)))
(ShowPivots or
valuewhen(filteredtopf == true, high_[3], 2) >
valuewhen(filteredtopf == true, high_[3], 0)))
(ShowPivots or
valuewhen(filteredbotf == true, low_[3], 2) <
valuewhen(filteredbotf == true, low_[3], 0)))
lowerlow = filteredbotf == false ? false :
( valuewhen(filteredbotf == true, low_[3], 1) >
valuewhen(filteredbotf == true, low_[3], 0) and
(ShowPivots or
valuewhen(filteredbotf == true, low_[3], 2) >
valuewhen(filteredbotf == true, low_[3], 0)))
up_alert = 0
dn_alert = 0
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
src = close
r = rsi(src, rsiP)
ma = sma(r, bandL)
up = ma + offs
dn = ma - offs
hline(25)
hline(50)
hline(75)
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
\