Tutorial - Convert an indicator into strategy in pineHello Everyone,
I just made this video because, this question came up many times in Pine QA. In this video we are trying to load default Bollinger Band indicator from Tradingview and convert it into strategy.
Below are the steps
Load the indicator on chart
Click on source code (curly brackets next to indicator title) to load the code into your pine editor.
Make copy of the script. Remove the indicator on chart and load your copy of the script from pine editor
Replace indicator call with strategy call
Define your entry/exit conditions for long and short
Add strategy.entry, strategy.exit, strategy.close calls based on the conditions to generate trades on chart
Useful references
Pine Reference Manual
www.tradingview.com
Strategy template in the linked ideas.
Enjoy :)
Beyond Technical Analysis
Managing Drawdowns - Do This When You're Underperforming!Hello Traders. It's been awhile since I last uploaded a workshop. Myself as a full-time trader, to be frank, the past 6 months have been tough for my personally. I've gone through some really bad drawdowns, mostly due to my external pressure that's causing me to have lower performance.
In today's topic, I am going to talk about "Drawdowns", which is not something people usually talk about. Social media, Youtube, all these platforms are made to make you 'feel bad'! People are constantly showing off their profits, but who'd willing to really open up to their drawdowns and bad trades?
Drawdowns are inevitable in trading, the only you can eliminate drawdown is to not take any trade/ risk. Make sense?
From my humble six years of trading experience, i realize most of the successful traders have one thing they are very good at - which is managing drawdowns and negative emotions. Think about it, we're all human, we're all a normal trader, why would some constantly achieving such a high performance while some constantly losing?
These are the four simple steps to help you in refining your drawdowns and hopefully get you out of it.
1. Understanding probabilities
- While we're in a drawdown (negativity), it's vital for us to take a step back and look at the numbers. Three things to read - trading plan, strategies data, market condition. If you're whatever you do is wrong, that's usually due your forcing trades during uncertain market environment/ condition, try to re-assess everything.
2. 3R Process (Review, Reflect, Revise)
- This is the most important process i've utilized for years to improve my trading consistency. Review your trading plan and all your journaling, then reflect what's the root of the problems, then find solutions around it. Remember to simplify things! By over-complicating your journaling, trading plan, or trading systems, really don't help things to be better.
3. Eliminate negativity
- Us, especially as a full-time trader, is common for us to blame ourself due to our bad decisions. But sometimes understand that no one wants to be in a drawdown, as it is all probability-based. Who want to lose money? But over the years, i found that the most successful traders out there have one very common personality - Confident.
- Be confident on yourself, that's the easiest element that allows you to execute trades consistently and fearlessly. Believe in your system, the drawdown is only temporary, you still got a long way to go. FInd a solution, fix it.
4. Take a step back - Re-evaluate
- When you're in a drawdown, most likely your rational behaviour and emotion have been negatively impact. So stop trying to force things, take the time you need to refresh your mind, re-set your mental state then come back stronger.
- By not giving yourself time to re-set your mental state, you're not just halting your performance, it could be self-sabotaging as well. Because by that means you're not applying the 3R process, certainly not fixing the problems too.
- Most of the losing streaks have one common losing pattern (that is hidden), so it is our accountability to find our the root of the problem, then frame a set of routine and action plan to solve it.
Hope this short workshop helps you a little bit.
Let me know in the comment section below what's your worst drawdown and how do you fix it!
Do not forget to like if you enjoy the content, and share with someone who'd enjoy reading this.
Calculate your 1% risk per Trading Account to identify 3:1 R:RHello traders:
Lately there are more and more newcomers in my community,
and some are not quite familiar with risk management, especially when it comes to calculating R:R based on 1% of your account size.
Risking 1%, simply means risking 1% of your total account size.
For example, $1000 account size, is $10 per risk at 1% of trading account
$100,000 account size, is $1,000 per risk at 1% of trading account
The goal is to forecast and plan out an entry that will potentially give you at least 3:1 RR per trade or more.
Meaning by risking 1%, $1000 of your $100,000 account, you should look to achieve a $3,000 profit or more, hence giving you 3:1 RR, or +3% profit.
There are many websites that help you to calculate your R:R and position size in relation to your account.
Utilise them to calculate exactly your LOT size position in relation to your SL amount so you have a proper risk management in place.
Any questions, comments or feedback welcome to let me know.
Thank you
Risk Management: When/How to move SL to BE and to profit in a running trade ?
Risk Management: How to filter trading opportunities if multiple setups are presenting entries:
Risk Management: 3 different entries on how to enter the impulsive phrase of price action
Risk Management: What Is Capital Partitioning ? How will it help you as a trader ?
Risk Management 101
Risk Management: How to set a Take Profit (TP) for your trades
Risk Management: How to Enter and set SL and TP for an impulse move in the market
Risk Management: How to scale in the impulsive phrase of the market condition?
Risk Management: Combine everything you learn to prevent blowing a trading account
How did Open Interest tell me: Stay long as BTC Dumped!?!BYBIT:BTCUSD
I was in 3 long trades as Bitcoin dumped on the 26th of May 2022.
I had 2 choices. Close my longs because I saw price dumping below my entry
or
look at what Open interest was telling me to determine if this was a fakeout.
I saw price dropping as OI was dropping. This meant that longs were closing out their positions, which means that when this ended, price could reverse quickly.
Longs were closing out their positions and re-entering as shorts. As soon as this selling dried up, Longs started entering and then suddenly shorts were being liquidated, pushing the price up again.
This is known as a stop run. Hit long stops and then hit short stops. Be aware of this kind of fakeout as it happens again and again!
Learn to trade the retest and why it is important not to short at support and inversely why it is NB not to long at resistance, UNLESS you get a retest of that level!
Not financial advice, DYOR. Papertrade before using real money.
If this educational snipped helped you, please consider giving it a thumbs up and follow for more like this!
Trade Safely and Learn something every day!
Shawn
Why Shorting support & Longing resistance gets traders REKT!INDEX:BTCUSD INDEX:ETHUSD FXOPEN:XAUUSD FRED:SP500 NASDAQ:NDX
I see this time and time again - no matter if you are trading, cryptocurrency, commodities, indices or stocks, the principle remains the same:
Shorting at support and longing at resistance is GENERALLY not a good idea.
I show you examples in the video and explain why.
There is however a good time to short at support - i.e. When it has flipped into resistance after the retest, changing the market structure - and the inverse is true for longs.
If this video helped you, please consider leaving a thumbs up and a comment if you have any questions!
Learn, learn and then learn some more!
Not financial advice. DYOR. Papertrade before using real money
Austrailian Dollar Seasonal PatternsHey traders today I wanted to go over the best Seasonal Patterns in the Austrailian Dollar Futures Market. The Austrailian Dollar futures and forex follow an annual seasonal pattern with is also correlated with Gold during the year . Knowing when to find these seasonal patterns on your charts can really benefit us in our trading of the Austrailian Dollar.
Enjoy!
Trade Well,
Clifford
How To Spot Economical Cycles Top Using [DXY- SPX and VIX]
Hi Everyone
In this video I want to share an overview of the importance of economic cycles for traders and investors and how we can use Trading View charts
with no indicators to figure out key economic signals on the following charts:
DXY tops for the end of previous bear markets
VIX normal ranges vs Bear cycles ranges
The Dow Jones Industrial average is another key chart with SPY charts because everyone has a 401K retirement account these days and people are use to the headlines of the Dow Jones Industrial Average new highs and new lows to shift emotionally between despair and exuberance. It's not unusual for people to throw in the towel just as the market begins to rise in the next economic cycle.
As a student of the markets, you need to know when it's time to load up on bargain priced assets and ride the next cycle up and when it is time to slowly sell or fade into the tops of the markets and avoid the downturns.
Are we in a normal healthy correction 10-20% or are we heading toward the Great Depression type 50% correction from the top? These charts will help you answer the question.
Mastering the market and economic cycles is the key to becoming wealthy in all asset classes - Stocks, Real Estate, and Cryptos
Hope it helps...
@Marc
Trading Psychology - Long Term Sustainability in the MarketHello traders:
Today I want to discuss an important topic on long term sustainability.
It is no surprise that trading any financial market has proven to be difficult, and stressful.
Many new traders come and go so fast in the industry, and it's often due to the wrong mindset, trading plan, risk management and expectations.
I want to focus on the psychology part of trading for sustainability,
as I have made many trading plan, risk management related videos already, though I can discuss more on mindset and emotion today.
My vision in trading psychology has always been: Consistency, and Sustainability .
These are a few things I tell myself each and everyday in my trading journey to help me stay sustainable in the market.
-I am NOT here to get rich quick, traders who have that mindset often failed fast and quit
-I am here to make a reasonable % return per month, based on proper risk management and trading plan.
-I understand in order to make a ridiculous return per month, it requires over-risking and over-trading,
but it's unsustainable on a larger account size. I do not wish to lose a larger account or ability to trade for larger prop firms’ accounts.
-I understand the uncertainty in the market, any strategy, method and approach will run into drawdowns and losses.
-To prevent revenge trading, over trading and over leveraged, proper mindset and emotion are needed to survive and sustain in the market
-I believe in long term sustainability, and looking to “win the lottery” by going all in on trades. 1
% per account risk with 5-7% return per month is reasonable, achievable, and sustainable in the long run.
These are just a few pointers and reminders I tell myself each and every day.
This year will mark my 9th year in trading, and I am thankful to have gone through all these trading experiences in the past that made me a better trader today.
I am still continuously learning and growing, very happy with the consistent and sustainable approach that I do.
I am sure there are many other traders with different opinions, methods, approaches in trading, with different mindset, expectations and goals.
I respect all trading strategy, perspective and options. At the end of the day, it's up to each individual trader to identify their journey and what method they wish to implement in trading.
I sincerely hope I can help some of the traders to understand the importance of long term sustainability, and that will enable traders to continue to be a part of the financial market for the years and years to come.
Thank you :)
Jojo
Risk Management Educational Video:
Risk Management: When/How to move SL to BE and to profit in a running trade ?
Risk Management 101
Risk Management: Combine everything you learn to prevent blowing a trading account
Trading Psychology Educational Video:
Trading Psychology: How to deal & manage losses/consecutive losses in trading ?
Trading Psychology: Revenge Trading
Trading Psychology: Fear Of Missing Out
Trading Psychology: Over Leveraged Trading
Trading Psychology: Is there Stop Loss Hunting in Trading ? How to deal with it ?
New York Lunch Session AVOID ITHello Traders!
The New York Lunch Session tends to do two things
- Consolidate
- Trend
It starts at 10am and ends at 8pm.
However there is a session overlap which is the London Close.
After the London Close finishes you will see the volume of the market reduce significantly.
After the bond markets close you will also see volume reduce as well.
This will allow you to be more meticulous with your trades and focus on high rewarding setups.
What Are My Daily Trading Routine As A Consistent TraderHello everyone:
Today I want to share my personal daily routine in trading.
Many have asked me about how a typical day of mine would be,
and I have no problem sharing that with everyone in hope to provide some examples on how you can construct your own day as well.
It's important to know that each person is unique, has different priorities, business, jobs, family, and other things to attend to.
So it's best to understand that what I propose here is more of a guideline that you can utilize, and ultimately comes down to your own schedule and time.
I am a strong believer in not needing to be on the chart all day long, in order to create a healthy trading lifestyle.
Morning 6-9 AM
-check the chart, go through all my flagged watchlist
-prepare for my weekly and mid-week market update live stream OR private quick daily market updates
-answer any questions within my community, platforms, and areas
-go on with my day (family, other businesses)
-wont need to check the chart again until the roll over time
-will set alerts to monitor any trades, entries..etc
Afternoon 3-5 PM
-after the day is rolled over
-construct a new daily watchlist for the day ahead
-check or uncheck flag in my watchlist to see if there's anything developed or confirmed my forecast/analysis
-answer any questions within my community, platforms, and areas
-go on with my day (family, other businesses)
-wont need to check the chart again until my night time before London Session starts
-will set alerts to monitor any trades, entries..etc
Evening 10-11 PM
-check the chart, go through all my flagged watchlist
-will set alerts to monitor any trades, entries..etc
Always remember to have a healthy trading lifestyle and don't get burn out
Have priorities in life
Thank you all :)
Pending Orders Changed The Way I TradeIf you feel like you're missing trades due to a busy work schedule or because you're afraid to hit the button when a great trading opportunity comes along, pending orders may be the thing you need.
In this video, I will teach you the difference between market orders vs. pending orders.
Thank you for watching the video and comment below your thoughts. I'd love to read them ( please be kind and happy trading).
How To Backtest Further In The Past On Low TimeframesQuick video to show this little trick using the Replay mode that allows us to load more historical bars than real time, and thus get a better picture at how a strategy can perform over time.
The Strategy Tester re-calculate the results everytime we load new bars, as the indicator strategy is correctly applied to these new bars.
I got the confirmation from the awesome TradingView Support Team that the extra data that you get this way is real and relevant, and can be used to test your strategies.
That means we are no more limited to 15/30 days backtest data in the 5min timeframe for example.
LET'S GET REAL: Fear of Losing! Hey Traders,
Most traders battle it. I myself had to progress past this in order to achieve consistent returns trading the markets. It is seen as one of the hardest challenges to pass in terms of emotional discipline. Understanding yourself better so you can make decisions in a calm, composed and consistent manner is crucial to success.
Today I wanted to touch on that. I wanted to talk about the fear of losing what spurred from my fear of losing, how I progressed through it (it still creeps in from time to time). Hopefully you can take from my story and how it improved your trading or how it can help you progress past that fear of losing.
If anyone has any questions or maybe some other stories in the way they progressed through a fear of losing or a fear of being a failure, please feel free to share in the comments and I'll get back to you as soon as possible.
Have a fantastic trading week!
Gems. Hello Traders!
Here I break down a full trading day.
Main Ideas:
New York Lunch Session: Period of consolidation (10:00am - 8pm)
Central Banks Dealers Range (2:00pm - 8:00pm)
EuropenOpening Price (2:00am)
Avoid London Session when CBDR and Asian Session is trending more than 35-40 pips.
Bearish on the day entry Ideas:
- Sell above MOP
- Sell above Asian High (5-15 pips)
- Sell CBDR +1 or +2 standard deviation(High/Medium Impact News Days +3 /+4)
- Sell above late NY buy stops
Bullish on the entry Ideas:
- Buy below MOP (5-20 Pips)
- Buy below Asian Low (5-15 pips)
- Buy CBDR -1 or -2 standard deviation(High/Medium Impact News Days -3 /-4)
- Buy below late NY sell stops
Tuesday and Wednesday are your higher volume days(More high and medium news packed)
Trade with the Time Zones London, New York, Asian (make it work with your work or life schedule)
Bearish on the week entry Ideas:
- Sell above Sunday's opening price (20-40 pips weekly premium)
Bullish on the week entry Ideas:
- Buy below Sunday's opening price (20-40 pips weekly discount)
Intraday trader exit around 12:00pm or 3:00pm (I would personally do 12:00 pm)
Weekly range trader exit Thursday New Open or London Close(Market reversals)
This is just my personal take on the market. I keep it simple and keep the rules clean and cut.
HOW TO USE TRADINGVIEWIn this video, i showed you how to use Tradingview to analyze different types of markets and asset classes.
You will discover how to open a chart and analyze any assets.
You will discover how to use different tools on tradingview to make your analysis easy and precise.
Tradingview made easy for you.
How I trade BA This video covers my BA trading strategy.
I get many requests on what my trading style looks like (as a quant trader), so I figured I would show how I trade BA, as this particular strategy is replicable and the tools I use are publicly available (linked below).
NOTE:
This isn't financial advice.
As well, my signal to long BA is always a Z Score of -2.6.
However, my signal to short BA changes based on the market sentiment. Currently, it is -1, however for the most part of 2021 and up until last month it was set at -0.5 to 0. In general, I DO NOT recommend shorting a stock with a Z-Score of -1. It is high risk.
Its important when you are applying any strategy to back-test it first!
As well, this strategy is applicable to other stocks; however, its important to get a feel for how the Z-Score behaves as each stock is unique. For example, TSLA I have seen go as low as a -4 Z Score and as high as a +4.4 Z Score. The parameters I share in this video are my current parameters for BA but are subject to change as the sentiment changes.
Let me know your questions/comments and criticisms below!
Thanks for watching
What Does Consistency Mean In Trading ? Hello traders:
Today let's talk about “consistency” in trading.
Many traders understand they need to be consistent, but what exactly is consistent in trading ?
To me, it's not just making consistent “profit”, rather it's being consistent with your trading strategy, risk management, trading psychology, mindset and emotion.
Let's take a look at a few examples of consistency in trading:
Consistency in profits:
More often traders think about hitting a set amount of % return in consistency.
This is certainly one way to look at it, but I would say to challenge ourselves to do more.
Each and every month, the market will develop differently, hence our profits are not gonna always be the “same” each and every month.
Some month with more profits, some month with more losses. We need to have the ability to stay “consistent” no matter what the market condition is.
Consistency in strategy and Trading Plan:
Remember, there are many different trading strategies out there.
The ability to stay “consistent” with your current trading strategy, and not jump from strategy to strategy.
Even if your strategy right now isn't getting any entries available in the current market condition, while others are entering trade, you need to stay consistent with your strategy and let the probability play out.
Understand no strategy can catch every move in the market. Some will catch this particular run, while others will catch other developments.
Consistency in risk management:
When you are at a series of drawdowns and losses, the ability to stay “consistent” with your risk management.
Not risking more than 1%, not entering more than 2-3 trades at a time. No revenge trade, and/or over leverage trade.
Respect your SL and honour the SL. More often traders fall into this stage while they take a number of losses and throw their risk management out the window.
Consistency in mindset and emotion:
When your strategy isn't playing out on a short term, the ability to stay “consistent” and not to start randomly taking trades based on FOMO, Greed and emotion.
Sometimes traders get impatient and feel like waiting for setups to happen is a hassle and they don't want to wait.
This is when they start to rush their trading journey and backfires on them.
Consistency in your goal:
Set goals for your result and progress. The ability to stay “consistent” with yourself and don't let external factors like social media, fake guru, scammers affect you and your goal.
If you plan to have 5% per month profit, then don't let other people affect you in a negative way.
Everyone trades differently, and with different strategy, method and approach. No need to compare and compete with others, rather, with yourself each and every year.
Below I will forward some good educational videos on the above topics that we have discussed:
Trading Psychology: Revenge Trading
Trading Psychology: Fear Of Missing Out
Trading Psychology: Over Leveraged Trading
Risk Management: Combine everything you learn to prevent blowing a trading account
How to Calculate Bounce Price Another tutorial video on how to calculate a bounce price using Z-Score.
This is actually a true, quantitative trading strategy and one that has been the most helpful in preventing me from getting shaken out of swing positions. I was reluctant to share, because it is a very powerful and unique way of doing assessments, but I figured why not be helpful!
This can be applied as a sole strategy or it can be combined with other methods of quantitative or technical analysis to help you do your assessments.
Please feel free to leave your questions and comments below. Also, please let me know if you find this helpful at all.
Take care everyone and trade safe!
Note: Sorry for the constant clearing of my throat. I would blame COVID but its just a habit I am trying to kick when public speaking/recording haha. Embarrassing!
Interest rates, Inflation and how to trade it.Hey Traders,
Massive week this week fundamentally for the Forex market. 3 big interest rate decisions being released so I thought there was no better time than now to have a chat about what it is, what it indicates and finally, how traders profit from it. Fed and BOE almost guaranteed to hike rates, RBA is sitting unsure.
Have a watch of the video and I am more than happy to have a discussion in the comment section!
As always, have a fantastic trading week and I wish you all many profits.
How to Calculate Probability in Price So many have asked for tutorials on some quant strategies. So this is my first tutorial for some basic quant trading strategies.
This is not really a strategy in and of itself, this is to help you determine realistic price points as part of your overall strategy.
You will need Excel to do this.
If you like this kind of tutorial/find it helpful, let me know and I can continue posting similar stuff on how to apply some more basic quant strategies into your trading.
Take care and trade safe!