Inside Bar Setup

Script Details

- This script plots Inside Bar for given day in selected time-frame (applicable only for Timeframes < Day)
- Basis plotted inside bar, relevant targets are marked on the chart
- Targets can be customised from script settings. Example, if range of mother candle is 10 points, then T1 is 10 * x above/below mother candle and T2 is 10 * y above/below mother candle. This x & y are configured via script settings

How to use this script ?

- This script works well on 10-15 mins timeframe for stocks, 15/30 mins timeframe for nifty index and 30/60 mins time frame for bank nifty index
- If mother candle high is broken, take long trade with SL of mother candle low and if low is broken, take short trade with SL of mother candle high

1. Above logic is to be combined with support/resistances i.e. price action. This script is an add-on to price action analysis giving you more conviction.
2. If range of mother candle is very high, it is recommended to avoid the trade.
3. Basis inside bar formed on higher time frame, take trade on basis of lower time frame i.e if inside bar is formed on 60 mins, take trade on the basis of 10-15 mins time frame

1. As seen in the chart, Nifty is near it's resistance and we are seeing Inside Bar being formed, In such scenario, even if High of Mother Candle is broken, we should be more interested to short as we are near resistance and probability of getting our targets in long side is less.
2. So, if I see breakdown of mother candle i.e. price going below low of mother candle, we will short with SL of high of mother candle.
3. As seen in the chart, both the targets are achieved.

Additional Info:
1. Targets on Long/Short Side can be configured via settings. For indices 1 times/1.5 times the range works well.
2. This script plots targets basis the first inside bar formed in the day for selected time frame.
3. Inside bars formed through out the day are coloured separately but lines are plotted only on the basis of 1st formed inside bar as this strategy works well for the first formed inside bar)
4. Don't forget to check volume in case of breakout/breakdown.

1. Mother Candle - First Candle of Inside Bar
2. Child Candle - Candle formed inside Mother Candle (Second Candle of Inside Bar)

Happy Trading :)

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?