Friday, June 23, 2023

Bharti Airtel Analysis


Entry/Exit and SL for the Bharti Airtel.

Daily/Weekly Time frame looks bullish.



                      DAILY



                                Weekly





Sunday, June 18, 2023

Basket Swing Trading

 1. Super Trend usages 

  a. 1 hour buy trend

  b. Day hour buy trend

  c. Check Weekly Volume UP

  d. Market is more than 1Cr

--> STOP LOSS: Day High Break


Example:

WEEKLY



Monthly



Daily




Saturday, April 30, 2022

Technical Question May 22

                                                     Technology 


 Difference between EEPROM and Flash memory.

- Flash memory is a non volatile storage memory which is electrically erasable and

programmable one.

- Flash memory is a special type of EEPROM.

- Flash memory can be erased and programmed in large blocks where as in EEPROM it

is in small blocks.

- Erase cycles are slow in EEPROM, this is advantages for flash memory for speed up

operations.

- Flash memory takes less power compared to the EEPROM.

- EEPROMS are generally used to store configuration information and booting

information.

- Flash memories are used in USB, memory cards etc.


Explain about I2C protocol. Is it possible to have more number of masters in the same

I2C lines.

- I2C "Inter Integrated Circuit" is a low level communication protocol used between low

speed devices.

- It is a two wire interface one line for Clock and other is for data line.

- I2C is simplex communication protoocol.

- I2C follows Master - Slave Communication protocol.

- I²C bus is a multi-master bus, which means more than one device capable of initiating

a data transfer can be connected to it. Master provides theClock to the slave devices.

- In a 8-bit address line first bit is used to indicate start bit with remaining 7-bits it can

able connect 2^7 devices.

- The communication between ?Master and Slave is as follows

1. Master waits until it sees no activity on the I2C bus. The SDA and SCL lines are

both high. The bus is 'free'.


2. The Master MCU issues a start condition, telling that "its mine - I have started

to use the bus". This condition informs all the slave devices to listen on the serial data

line for instructions/data.

3. Provide on the SCL line a clock signal. It will be used by all the ICs as the

reference time at which each bit of data on the SDA line will be correct (valid) and can be

used. The data on the data line must be valid at the time the clock line switches

from 'low' to 'high' voltage.

4. The Master MCU sends the unique binary address of the target device it wants

to access.

5. Master MCU puts a one-bit message (called read/write flag) on the bus telling

whether it wants to SEND or RECEIVE data from the other chip. This read/write flag is an

indication to the slave node whether the access is a read or a write operation.

6. The slave node ICs will then compare the received address with its own

address. The Slave device with the matching address responds back with an

acknowledgement signal. If the address doesn't match, they simply wait until the bus is

released by the stop condition.

7. Once the master MCU receives the acknowledgement signal, it starts

transmitting or receiving and the data communication proceeds between the Master and

the Slave on the data bus. Both the master and slave can receive or transmit data

depending on whether the communication is a read or write. The transmitter sends 8-bits

of data to the receiver, which replies with a 1-bit acknowledgement. And the action of

data transfer continues.

8. When the communication is complete, the master issues a stop condition

indicating that everything is done. This action free ups the bus. The stop signal is just

one bit of information transferred by a special 'wiggling' of the SDA/SCL wires of the bus.



Explain abot SPI protocol. How slave able to know it is write operation or read operation.

- SPI serial peripheral interface is three wire communication protocol in this one line for

Clock, two wires for MISO & MOSI, one optional one for Chip Select(CS).

- It is a Master-Slave communication protocol.

- SPI operates at full duplex (means, signals carrying data can go in both directions

simultaneously).

- SPI can have more number of Master or more number of Slaves. Master initiates the

communication. If more number of Slave are present GPIO pins are used for CS.

- Gives higher throughput than I2C.

1. The communication is initiated by the master all the time. The master

first configures the clock, using a frequency, which is less than or equal to the maximum

frequency that the slave device supports. The master then select the desired slave for

communication by pulling the chip select (SS) line of that particular slave-peripheral

to "low" state.

2. A full duplex data transmission can occur during each clock cycle.

That means the master sends a bit on the MOSI line; the slave reads it from that same

line and the slave sends a bit on the MISO line; the master reads it from that same line.

3. Data transfer is organized by using Shift register with some given

word size such as 8- bits (remember, its not limited to 8-bits), in both master and slave.

They are connected in a ring. While master shifts register value out through MOSI line,

the slave shifts data in to its shift register.

Thursday, February 10, 2022

Jammu Plans 22

 Place to visit Jammu: https://traveltriangle.com/blog/best-places-to-visit-in-jammu/

Place to visit Udhampur: https://www.tripadvisor.in/Attractions-g12375023-Activities-Udhampur_District_Jammu_Jammu_and_Kashmir.html


Place to visit Patnitop: https://www.tripadvisor.in/Attractions-g1152719-Activities-Patnitop_Udhampur_District_Jammu_Jammu_and_Kashmir.html


Place to visit Srinagar: https://www.tripadvisor.in/Attractions-g297623-Activities-Srinagar_Srinagar_District_Kashmir_Jammu_and_Kashmir.html

--> See Mughal Gardens:- Visit Pari Mahal  Then visit to Chesham Shahi and Shalimar Garden known as 'Garden of love'  in the evening enjoy a romantic  SHIKARA RIDE on world famous Dal Lake in which you will cover, Floating Gardens, Vegetable Gardens, Golden Lake, Inner markets like Mena Bazar, and Canals etc, also enjoy the scenic view of Zabarwan Mountains, Overnight stay at the Houseboat. 

--> Srinagar -Gulmarg (45 kms / approx. 90 Mins drive) 

Gondola ride (cable car Included In Package) from Gulmarg to Kongdoori & Marry Shoulder

--> Srinagar - Pahalgam (98KMS / approx. 3½ hour drive) 

visit Saffron fields, Avantipur ruins and Anantnag sulphur spring. Pahalgam is the most famous place for Indian Film Industry. Pahalgam is also famous for its alpine treks, nature walk and is also the central point of Amaranth Yatra.

--> Day Excursion to Sonmarg (90 kms / approx. 3 hour drive) 

many places you can enjoy the view of paddy fields with rivers flowing on one side.in Sonamarg you can visit Thajwas Glacier which is around 4Kms from Sonamarg a Local Taxi Or Pony Ride has to be hired (on your own Expenses)  in the evening return back to Srinagar overnight stay in Hotel at Srinagar. 


Sonmarg:https://www.youtube.com/watch?v=_Kb6W4LiKhM

BIKE Rent in Srinagar: 7569374836 ( Driven)

==============Plans===========

1. Jammu stay: 2 days Min

2. Udhampur : 2 day Min

3. Srinagar: 2 Days Min 

4. Buffer : 1 Days

5. Srinagar to HYD


Sunday, November 15, 2020

Strategy 6: Rising Wedge Pattern

 The rising wedge is a popular reversal pattern that is predictive in nature and can give traders a clue to the direction and distance of the next price move.

Rising wedges appear regularly in the financial markets and traders gravitate towards the pattern because of its simplicity in identification and application


WHAT IS A RISING WEDGE PATTERN?

The forex rising wedge (also known as the ascending wedge) pattern is a powerful consolidation price pattern formed when price is bound between two rising trend lines. It is considered a bearish chart formation which can indicate both reversal and continuation patterns – depending on location and trend bias. Regardless of where the rising wedge appears, traders should always maintain the guideline that this pattern is inherently bearish in nature (see image below).




HOW TO IDENTIFY A RISING WEDGE PATTERN

The rising wedge pattern is interpreted as both a bearish continuation and bearish reversal pattern which gives rise to some confusion in the identification of the pattern. Both scenarios contain a different set of observation dynamics which must be taken into consideration.

Continuation Pattern:

  1. Established downtrend
  2. Rising wedge consolidation formation
  3. Linking higher highs and lower lows using a trend line assembling towards a narrowing point
  4. Confirm divergence between price and volume using volume function - MACD may also be used
  5. Overbought signal can be confirmed by other technical tools like oscillators (RSI)
  6. Look for break below support for short entry

Reversal Pattern:

  1. Established uptrend
  2. Rising wedge consolidation formation
  3. Linking higher highs and lower lows using a trend line assembling towards a narrowing point
  4. Confirm divergence between price and volume using volume function - MACD may also be used
  5. Overbought signal can be confirmed by other technical tools like oscillators
  6. Look for break below support for short entry

HOW TO TRADE THE RISING WEDGE PATTERN

The chart above shows a rising wedge ‘continuation’ pattern after a determined downtrend. The rising wedge is outlined by the blue dashed lines showing diminishing bull strength in the uptrend. Confirmation of the uptrend waning in strength can be seen using the volume tool on the chart which depicts fading volume in concurrence with the ascending price in the market. This is known as divergence, showing that the upward movement is coming to an end.

The entry point (labelled) occurs once the trend support line of the rising wedge has been breached. There are two common methods of entry:

  1. Wait for a candle close below the support trend line before entry
  2. Enter into the short position as soon as the price breaks the support line, regardless of the candle close
The stop level as highlighted on the chart is elected from the high point of the rising wedge located on the resistance trend line. This identification point makes it relatively simple to locate the stop level for novice traders. The limit in this example was taken from the previous swing low giving this trade an extremely positive risk-reward ratio.




Strategy 5: HEAD AND SHOULDERS PATTERN

 

key action points when identifying this pattern:

  1. Identify the overall market trend using price action and technical indicators (preceding uptrend)
  2. Isolate the Head and Shoulders chart construction
  3. The distance between the ‘Head’ and ‘Shoulders’ should be as close to equidistant as possible
  4. Delineate the neckline at the low point between both ‘shoulders’ – preferably horizontal but not obligatory


The Head and Shoulders chart pattern is a price reversal pattern that helps traders identify when a reversal may be underway after a trend has exhausted itself. This reversal signals the end of an uptrend. The Head and Shoulders pattern has a distinctive appearance resembling its namesake which includes a distinct ‘left shoulder’, ‘head’, ‘right shoulder’ and ‘neckline’ formation.





WHAT IS THE INVERSE HEAD AND SHOULDERS PATTERN?

The Inverse Head and Shoulders (informally known as the 'Reverse Head and Shoulders pattern) resembles the same structure as the standard foration but reversed. The Inverse Head and Shoulders is observable in a downtrend (see image below) and indicates a reversal of a downtrend as higher lows are created.




There is a general rule of thumb to designate stop and limit levels. Taking the high point off the ‘right shoulder’ will specify the stop level whilst the vertical distance between the neckline and high of the ‘head’ will approximate the limit distance – 1832.8 pips in this case. The risk-reward ratio on this trade is roughly 1:1.2 which is still within the DailyFX recommended risk management parameters.






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


Qualcomm Short Term

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

Total Pageviews