Wednesday, November 11, 2026

7 reasons for rangebound market

 1 signal delay

2 premium decay not applies

3 move postponement

4- Majority view and Smart money view are same to make retail trader out of trade

5- for Liquidity creation

6- using cash selling if market is long, cash buying if market is short

7- delusion to confuse retail trader


Trade Related candle stick pattern

 3/3 candle stick patterns


in  axis - Bullish, Neutral, Bearish

In Y axis - Single candle, Double candle and triple candle pattern


The 33 patterns are as follows

  1. Hammer
  2. Inverted Hammer
  3. Dragonfly Doji
  4. Bullish Spinning Top
  5. Doji
  6. Spinning Top
  7. Marubozu
  8. Star
  9. Hanging Man
  10. Shooting Star
  11. Gravestone Doji
  12. Bearish Spinning Top
  13. Bullish Kicker
  14. Bullish Engulfing
  15. Bullish Harami
  16. Piercing Line
  17. Tweezer Bottom
  18. Bearish Kicker
  19. Bearish Engulfing
  20. Bearish Harami
  21. Dark Cloud Cover
  22. Tweezer Top
  23. Morningstar
  24. Bullish Abandoned Baby
  25. Three White Soldiers
  26. Three Line Strike
  27. Morning Doji Star
  28. Three Outside Up
  29. Three Inside Up
  30. Bearish Abandoned Baby
  31. Three Black Crows
  32. Evening Doji Star
  33. Evening Star




Monday, November 9, 2026

Astrology Sutras

1 -  When Hora Lagna of a Jataka falls in fire sign like Aries, Leo and Sagittarius and falls in bad house in 8th house or  in nirdhan yoga , his wealth vanishes overnight.

Wednesday, June 24, 2026

React concepts/Javascript

1. Named Exports


 A named export in JavaScript and TypeScript allows you to export multiple variables, functions, or classes from a single file. Unlike default exports, which only allow one primary value per module, named exports are ideal for sharing utility functions and keeping your codebase highly modular.

How to use Named Exports
1. Inline Exporting
You can export variables or functions directly as you declare them:-
// mathUtils.js
export const add = (a, b) => a + b;
export const subtract = (a, b) => a - b;
export const PI = 3.14159;
2. Exporting at the Bottom
Alternatively, you can declare your items first and export them together at the bottom of the file:-
// mathUtils.js
const multiply = (a, b) => a * b;
const divide = (a, b) => a / b;

export { multiply, divide };
How to Import Named Exports
When importing named exports, you must wrap the exact names in curly braces {}.
// app.js
import { add, PI } from './mathUtils.js';

console.log(add(2, 3)); // 5
console.log(PI);       // 3.14159
Useful Tricks
  • Renaming: You can use the as keyword to rename an export if it conflicts with an existing variable in your file:-
    import { add as sum } from './mathUtils.js';

  • Importing Everything: You can import all exported members at once into a single object using * as:
  • import * as math from './mathUtils.js';
    console.log(math.add(2, 3));

    We can export components using export default or named exports and import them using "Import"
    In one file only one default export can be there and no limit on named export components.
    componentName.js
    export default componentName;
    import ComponentName from componentName;

2.

Monday, May 25, 2026

Javascript Coercion

 

JavaScript == Type Coercion Table

ExpressionResultWhy?
0 == falsetruefalse is coerced to 0
0 == ""true"" is coerced to 0
"" == falsetrueBoth become 0
"0" == falsetrue"0" → 0, false → 0
null == undefinedtrueSpecial rule in JS spec
null == 0falseNo coercion between null and numbers
undefined == 0falseNo coercion between undefined and numbers
"5" == 5true"5" → 5
true == 1truetrue → 1
true == 2falsetrue → 1, 1 != 2
[] == ""true[] → ""
[] == 0true[] → "" → 0
[""] == 0true[""] → "" → 0
[1] == 1true[1] → "1" → 1
[] == falsetrue[] → "" → 0, false → 0
[null] == 0true[null] → "" → 0
["0"] == falsetrue"0" → 0, false → 0

Key Takeaways

  • == can be confusing because it tries to convert values to a common type.
  • null and undefined are only loosely equal to each other, not to anything else.
  • Arrays and objects are converted to primitives before comparison.
  • Always prefer === unless you really want these coercion rules.