The_Algo_Engineer

CONSOLIDATION BAND BREAKOUT [5MIN TF]

CONSOLIDTION BREAKOUT STRATEGY for 5 minute Time-Frame , that has the time condition adjustable for Indian Markets.

// ══════════════════════════════════════════════════════════════════════════ //
Unlike the Free Scripts - Risk Management , Position Sizing , Partial Exit etc. are also included .
Message to know more about the strategy.
// ══════════════════════════════════════════════════════════════════════════ //

The Timing can be changed to fit other markets, scroll down to "TIME CONDITION" to know more.
The commission is also included in the strategy .

The basic idea is when ,

1) Price crosses above upper Level ,indicated by Red Line, is a Long condition.
2) Price crosses below lower Level ,indicated by Green Line , is a Short condition.
3) Candle close crosses above ema1, is a part of the Long condition .
4) Candle close crosses below ema1, is a part of the Short condition .
5) Allowed hours specifies the trade entry timing.
6) ATR STOP is the stop-loss value on chart , can be adjusted in INPUTS.
7) Target 1 is the 1st target value on chart , can be adjusted in INPUTS.
8) RISK is Maximum Risk per trade for the intraday trade can be changed .
9) Total Capital used can be adjusted under INPUTS.
10) ATR TRAIL is used for trailing after entry, as mentioned in the inputs below.
11) Check trades under the list of trades .
12) Trade only in liquid stocks .
13) Risk only 1-5% of total capital.
14) Inputs can be changed for better back-test results, but also manually check the trades before setting alerts
15) SQUARE OFF TIME - As you change the time frame , also change the square-off time to that candle's closing time.
Eg: For 3min Time-frame , Hour = 2Hrs | Minute = 57min
16) Strategy stops for the day if you have a loss .
*The input values and the results are mentioned under "BACKTEST RESULTS" below*

// ══════════════════════════════ //
// ————————> RISK MANAGEMENT <——————— //
// ══════════════════════════════ //
Risk management is done based on max loss per trade and can be adjusted in the INPUTS.

// ═══════════════════════════ //
// ————————> POSITION SIZE <——————— //
// ═══════════════════════════ //
Quantity of each trade is different based on the loss

// ═════════════════════════ //
// ————————> PROPERTIES <——————— //
// ═════════════════════════ //
COMMISSION , SLIPPAGE ,RECALCULATE is already mentioned .
COMMISSION can be charges , based on the broker charges.

// ═══════════════════════════════//
// ————————> TIME CONDITION <————————— //
// ═══════════════════════════════//
The time can be changed in the INPUT.
The Indian Markets open at 9:15am and closes at 3:30pm.
The 'Allowed hours' under Inputs specifies the time at which Entries should happen .
"Close All" function closes all the trades before 3pm , at the open of the next candle.
To change the time to close all trades , check INPUT.
All open trades get closed at 3pm , because some brokers don't allow you to place fresh intraday orders after 3pm .

// ═══════════════════════════════════════════════ //
// ————————> BACKTEST RESULTS ( 123 CLOSED TRADES )<————————— //
// ═══════════════════════════════════════════════ //
INPUTS can be changed for better Back-Test results.
The strategy applied to NSE:TCS (5 min Time-Frame and with a capital of 1,00,000 ) gives us 77% profitability , as shown below
It was tested for a period a 1 year with a Profit Factor of 2.143 ,net Profit of 10,886 Rs .
The Initial Capital and Risk can be increased for better results.
The graph has a Linear Curve with Consistent Profits.

The INPUTS are as follows,
1) LENGTH ——————————————> 79
2) MUT_STDEV ————————————> 2.3
3) ALLOWED HRS ———————————> 9:25 TO 14:30
4) ATR STOP ——————————————> 2.2
5) RISK ——————————————————> 400
6) ATR TRAIL ———————————————> 2.6
7) TARGET 1 ————————————————> 2.1
8) MAX POSITION VALUE ——————————> 1,00,000
8) MAX DRAWDOWN —————————————> 2,000
8) SQUARE-OFF ————————————————> 14:55

NSE:TCS

Apply it to your charts Now !!

Send us a message to know more about this strategy

Thank You ☺ NSE:TCS
Notas de prensa:
Now ,Trade | Backtest the Strategy in INDIAN | CRYPTO | FOREX Markets with the Selector Switch option
Technical updates improved backtest results (scroll-down to check the graph)

LONG POSITION WIN TRADE (NO REPAINT)

SHORT POSITION WIN TRADE (NO REPAINT)

STOP-LOSS TRIGGERED

Tooltips updated
Buy & Sell Signals updated [ SET ALERTS TO GET NOTIFICATION ON PHONE ]


Apply it to your charts Now !!
TCS
Send us a message to get Free-Trials | Instant Access
Thank You ☺

Script que requiere invitación

El acceso a este script está restringido a los usuarios autorizados por el autor y, por regla general, es de pago. Puede añadirlo a sus favoritos, pero solo podrá usarlo si solicita permiso al autor y éste le autoriza. Póngase en contacto con The_Algo_Engineer para obtener más información o siga las siguientes instrucciones del autor.

TradingView recomienda no comprar ni utilizar un script si su autor no le ofrece total confianza o cuando no entienda cómo funciona. En muchos casos, puede encontrar una buena alternativa de código abierto de forma gratuita en nuestros Scripts de la comunidad.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

Instrucciones del autor

El autor de este script ya no puede otorgar acceso al mismo. Rogamos que no solicite el acceso.

¿Quiere utilizar este script en un gráfico?

Advertencia: Por favor, consulte antes de solicitar acceso.