Sunday, October 25, 2020

Machine Learning

                                               How to start:

1. Analyze the Train Data completely :

  1. Skewness : https://www.kaggle.com/getting-started/110134 
  2. Null values
  3. types of data or values

SMOTE: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.SMOTE.html 

Where available, you should select among these using the average parameter.

  • "macro" simply calculates the mean of the binary metrics, giving equal weight to each class. In problems where infrequent classes are nonetheless important, macro-averaging may be a means of highlighting their performance. On the other hand, the assumption that all classes are equally important is often untrue, such that macro-averaging will over-emphasize the typically low performance on an infrequent class.

  • "weighted" accounts for class imbalance by computing the average of binary metrics in which each class’s score is weighted by its presence in the true data sample.

  • "micro" gives each sample-class pair an equal contribution to the overall metric (except as a result of sample-weight). Rather than summing the metric per class, this sums the dividends and divisors that make up the per-class metrics to calculate an overall quotient. Micro-averaging may be preferred in multilabel settings, including multiclass classification where a majority class is to be ignored.

  • "samples" applies only to multilabel problems. It does not calculate a per-class measure, instead calculating the metric over the true and predicted classes for each sample in the evaluation data, and returning their (sample_weight-weighted) average.

  • Selecting average=None will return an array with the score for each class.

While multiclass data is provided to the metric, like binary targets, as an array of class labels, multilabel data is specified as an indicator matrix, in which cell [i, j] has value 1 if sample i has label j and value 0 otherwise.


How to handle Multicollinearity

 : https://www.analyticsvidhya.com/blog/2020/03/what-is-multicollinearity/ 



To be checked: https://scikit-learn.org/stable/auto_examples/ensemble/plot_adaboost_multiclass.html#sphx-glr-auto-examples-ensemble-plot-adaboost-multiclass-py

https://scikit-learn.org/stable/auto_examples/ensemble/plot_adaboost_regression.html#sphx-glr-auto-examples-ensemble-plot-adaboost-regression-py


Monday, October 19, 2020

Strategy 4: Bullish Flag Pattern

 

                                        Bullish Flag Pattern










Sunday, October 18, 2020

Strategy 2: V shape

                                             V shape Strategy 



As the name implies, the "V" chart patterns have the letter "V" shape and prices shift their momentum from an aggressive sell-off to aggressive rally in its structure. 




The key factors of the pattern identification:

1. Sharp Downtrend
2. Sharp Uptrend
3. V shaped Pattern (usually 1-3 bars reversals)
4. Volume increase in both breakdown and breakout phases
5. Breakout over neckline
6. Pullback to the Neckline
7. Target

Stop loss: The stop loss is placed under the last lowest one

How to Do Option Chain Analysis

                                         OPTION Chain Analysis


NSE LINK:

Old Link:

 https://www1.nseindia.com/live_market/dynaContent/live_watch/option_chain/optionKeys.jsp?symbolCode=-10006&symbol=NIFTY&symbol=NIFTY&instrument=-&date=-&segmentLink=17&symbolCount=2&segmentLink=17 

New Link:



Nifty Bank Analysis 18 oct 2020

                     NIFTY Bank Analysis

As we can see it is formed V Pattern we can see the retracement of the 5% from the Top. 

So We can short it and Target Around 22600 by Oct End. 




INTRADAY: strategy 1

 Today will see the intraday simple strategy it is mostly 90% looks good for me, but need to do the RND


  1. 2 Min/ 1 Min strategy ( time frame)
  2. BUY Signal
    1. PRICE is Uptrend 
    2. 20day EMA is UP
    3. 200 day EMA is up 

Example: 
Nifty:



3. SELL Signal:

  • 200 day EMA is Down.
  • 20 day EMA is down
  • Price is down

Example Nifty





Saturday, October 17, 2020

CandleSticks Basic

 Type of Candle stick:


  1. Bullish
  1. Bearish


  2. DOJI: The Doji is an excellent potential reversal signal. It occurs when the open and the close are the same. Usually, the open and the close are found in the middle of the price range.
  3. HAMMER : It is important to recognize this sing as and indication of a potential reversal When it develop in Harmonic area. 






Friday, October 16, 2020

HARMONIC PATTERNS

                                         HARMONIC PATTERNS:


Content from Below Book: 

BOOK: The Harmonic Trader  

--------------------------------------------------------------------------------------------------------------------------------

  1. Everyone knows that October historically has been a troubling month for the major markets.
  2. particularly evident when several harmonic calculations converge at a specific price area to define critical support or resistance. This area is known as the Potential Reversal Zone.
  3. The Key to utilizing these harmonic measures when analyzing a price chart is to determine the area where the greatest amount of calculated rations congregate.
  4. When three, four or even five numbers come together within a specific area as defined by their respective structure, you must respect the high probability for some type of reversal.



                                                                    RULES

  • Bigger the Pattern, the more significant the potential reversal ( Example : Weekly chart)
  • If a PRZ contains four or five numbers, the area should be considered  very harmonic. If the price action reverse from this area, the PRZ could be considered as an important turning point. BUT if the price action doesn't reverse it worked indicate that the predominant trend is quite strong. 
  • To determine valid reversals and to optimize trade executions. These skills require consistent dedication to research past harmonic examples and to analyze current set-ups.
  • Price Gap in the PRZ occurs most frequently and is the strongest of all the warning signals. A price gap is an extremely significant indicator of an invalid setup and has kept me out of my bad trade






Saturday, October 10, 2020

INTRADAY RULES for Stocks

                                                 INTRADAY RULES for Stocks


I have divided the level in three categories L1/L2/L3. it is up to you what you think in Which Level. 
What I have felt in my journey  on the Trading sessions I have kept it here. 


IMPORTANT LINKS:





                      =========BEGNIEERS ( L1)============


  1. NO BTST ( Buy Today and Sell Tomorrow or vice versa) 
  2. NO HYPOTHESIS/ ASSUMPTION 
  3. TRADE WITH ONLY 1 lot in OPTIONS
  4. Don't go 1st with the Target after, taking the Entry first set the Stop loss. do the Trailing Stop loss. 
  5. Target for the Minimum  500/1000 per day.
  6. Stick on the Trendlines and Strategies 
STRATEGY:




                      =========INTERMEDIATE (L2)============






                      =========EXPERTS (L3) ============


                                Entry Exit when the W Pattern  seen



Above diagram we can see the W pattern Making so Making the Entry when we see the upward Move. 

Keeping the Target Minimum of  Middle of the W . Later keep the Trailing Stop Loss

Qualcomm Short Term

  113 is the SL. 1st Target by mid July.

Total Pageviews