How to Create Custom Indicators Using FYERS Smart Script?

How to Create Custom Indicators Using FYERS Smart Script?

Smart Script is a feature on FYERS Smart Charts that lets you create and customise technical indicators based on your trading requirements. You can write your own indicator Smart Script using the Script Editor or use FIA (FYERS Intelligent Assistant) to create indicators by describing your requirements.

Creating a Custom Indicator Using Smart Script

To get started:

  1. Open FYERS Smart Charts.
  2. Select Smart Script from the right sidebar.
  3. Choose either Write or paste a script or Use FIA, depending on how you want to create your indicator.

Script Editor – Write or Customise Your Own Indicator

The Script Editor lets you create custom technical indicators by writing or pasting Smart Script.

  • Write indicator calculations and define custom trading conditions.
  • Configure parameters and how indicator values appear on the chart.
  • Paste an existing script and modify its calculations or logic.
  • Review and refine your code before applying the indicator.

FIA – Create Indicators Without Coding

FIA (FYERS Intelligent Assistant) lets you generate custom indicator scripts by describing your requirements.

  • Create indicator scripts based on your trading logic.
  • Specify calculations, parameters and conditions without writing code.
  • Modify an indicator by describing the changes you need.
  • Ask FIA to help you understand or refine the generated script.

Accessing Saved Smart Scripts

Once you've created and saved a custom indicator, you can access it under Indicators → My Smart Scripts on FYERS Smart Charts.

Select the saved indicator to apply it to your chart.


What if...

ScenarioSolution
The indicator generated by FIA doesn't match my requirementsContinue the conversation with FIA and specify the calculations, conditions or parameters you want to change.
I already have an indicator scriptYou can paste your existing code into the Script Editor and review or modify it according to your requirements.
I want to modify a custom indicatorYou can edit the indicator's code using the Script Editor or ask FIA to refine a script through natural-language instructions.
Important: Smart Script is currently labelled as a Beta feature in FYERS Smart Charts. Always review the calculations and conditions of custom or AI-generated indicators before relying on their signals for trading decisions.

    • Related Articles

    • What is Smart Script on FYERS Smart Charts?

      Smart Script is a feature on FYERS Smart Charts that lets you create custom technical indicators based on your own trading logic. You can combine multiple indicators, define specific conditions, and display custom signals directly on your chart. You ...
    • How many Smart Scripts can I create on FYERS Charts?

      Smart Scripts on FYERS Charts allow you to create and save custom technical indicators using the Script Editor or FIA (FYERS Intelligent Assistant). The number of Smart Scripts you can create and save depends on your FYERS membership. What is the ...
    • How Can I Analyse Market Liquidity Using Indicators in FYERS Smart Charts?

      Liquidity Lens on FYERS Smart Charts provides built-in indicators to help you analyse resting buy and sell orders across different price levels. These indicators help you identify liquidity concentrations, understand their distribution, compare Bid ...
    • How do I find, modify, and manage my saved Smart Scripts?

      Smart Script lets you save and manage custom indicators within FYERS Smart Charts. You can access previously saved indicators, modify their calculations or conditions, and remove scripts you no longer use. Where can I find my saved Smart Scripts? ...
    • Can I create Fundamental and Technical screeners using FIA?

      Yes, FIA on FYERS (Web & App) allows you to create custom screeners using both technical and fundamental indicators. You can ask FIA to screen stocks based on your criteria, and then save those screeners under 'My Screeners' for later use. How to ...