PortfolioBuddy

MTF - Box Trading Strategy

MultiTime Frame - Box Trading Strategies (MTF-BT))

How does it work ? The code uses dynamic levels and crossovers on higher time frames to identify trade calls.

Model 1 (Default) Uses a low risk model and Model 2 (Optional) Uses an aggressive model

How to Deploy / Use

As part of the Indicator there are a few choices the user can opt for

Box Resolution - The resolution of the higher time frame for analysis , typically set at 90 , can be customized by the users.
Use Long Strategy 1 - This would add long trades based on Model1 Algorithm for the users
Use Short Strategy 1 - This would add short trades based on Model1 Algorithm for the users
Use Long Strategy 2 - This would add long trades based on Model2 Algorithm for the users
Use Short Strategy 2 - This would add short trades based on Model2 Algorithm for the users

Check Range Val Validate the width of the channel on higher timeframe and trade only when the channel is wider than the value provided ,
The value of 0.14 is determined using series of back test across various assets

Use Stop Loss : Flag to check if Stop Loss should be done by the strategy
Stop Loss Limit : Stop Loss in Absolute terms

Use Profit Booking : Flag to check if Profit Booking should be done by the strategy
Stop Loss Limit : Profit Target in Absolute terms

Do Intraday Exit :Flag to check if trade should be taken as an Intraday only
Exit Window : Session time during which the trade should be closed , like 15:00 - 15:30 for NSE , 22:30 - 23:00 for MCX etc ,
it should be wide enough to accommodate the resolution the use has on the screen


Visual Checks - The user could manually validate the back test results on various assets they would like to use this strategy on before putting it live.

Usage/Markets : Index Trading / Equities and also well with Commodities and Currencies

Time Frame : works well between 3 and 30 , keep the Box resolution to at least 45 for 3/5 mins TF and you could move upto 180 (3 hrs ) for a 30 mins TF.


Strategy Settings Used/Assumed : All of this values are provided in the Properties Tab of the Indicator Settings
and the users can customize it to suit the broker or the product they are charting it against

Initial Capital : 100 000
Order Size : 10 Quantities for Equities , you may change it to 1 lot for Future contracts based on capital deployed
Commission : is set at 0.05%
Slippage : 20 ticks
Recalculate Option : After the Order is filled is selected by default


Disclaimer : There could be scenarios when the breakout/breakdown candle is rejected , especially when it is long one
so it is always recommended to have a confirmation candle that open-closes above the breakout candle / open-closes below the breakdown candle


If you like it and find it useful or if you find a defect or bug , Please let us know in the comments .. that would encouraging !! for us to develop it further

Thank you and have a beautiful and Profitable trading session !

How to get access
Please click on the link / email in the signature or send me a private message to get access

Feedback
Please click on the link/email in the signature or send me a private message for suggestions/feedbacks
Release Notes:
Added am Extra Option for the use to select the trading view, by this the use can select the time window in which the a new position should be taken especially in case of intraday trades

So for eg : Take Position between 09:15 to 14:30 and then you could decided exit on After 3 PM
Release Notes:
Added an Extra Option for the user to select the time window in which the Position can be taken , by using this feature the user can select the time window in which the a new position should be taken especially in case of intraday trades

So for eg : Take Position between 09:15 to 14:45 and the exit can be planned on after 3 PM

Email : portfoliobuddyts@gmail.com
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact PortfolioBuddy for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.