Sir ji nameste, need help

Screenshot (10)

Hi @Dev28 ,

Thanks for bringing this up. @Tradehull_Imran may be able to assist here

Hi @Dev28 ,

Kindly continue the discussion in a single thread to avoid duplicate threads. As mentioned earlier, follow the steps provided below. If the issue still persists, share the complete code so that it can be reviewed and verified.

  1. Open the Google Drive link and download the whole files then use sqn_lib.py.
  2. Keep sqn_lib.py in the same folder as your main Python file.
  3. Import it in the file where you are running the provided code.
import sqn_lib
  1. Then use it:
chart = sqn_lib.sqn(chart, 21)
chart["market_type"] = chart["sqn"].apply(sqn_lib.market_type)

Drive link: sqn_lib.py – Google Drive