---
title: "5 EMA Strategy Automation (Power of Stocks) · MyAlgoMate"
source: https://myalgomate.com/products/5-ema-strategy-power-of-stocks
retrieved: 2026-11-15
publisher: MyAlgoMate (Myalgomate Technologies LLP, Rajkot, India)
---

1. [Home](https://myalgomate.com/)
2. [Products](https://myalgomate.com/products)
3. 5 EMA Strategy - Power of Stocks

// PRODUCT

# 5 EMA Strategy Automation (Power of Stocks)

MyAlgoMate's 5 EMA tool automates, for intraday traders, the publicly known 5 EMA method explained by Subasish Pani (Power of Stocks). It checks for the signal at every candle close in your time window and places orders with the exits and limits you set. It runs on your own Windows PC or your own cloud server.

MyAlgoMate is not affiliated with or endorsed by Power of Stocks. This page describes the automation tool only.

(Image: 5 EMA strategy automation: Signals tab with the signal list and the logs window)

(Image: 5 EMA strategy automation: Signals tab with the signal list and the logs window) (Image: 5 EMA strategy automation: Parameters tab with each symbol's quantity mode, EMA period and target settings) (Image: 5 EMA strategy automation: Positions tab and the logs window) (Image: 5 EMA strategy automation settings window: underlying, contract selection, EMA period, exits and Protect Profit)

[Buy now](https://myaccount.myalgomate.com/8) [Chat on WhatsApp](https://wa.me/918866122446?text=Hi%2C%20I%20came%20across%20your%20website%20and%20would%20like%20to%20know%20more%20about%205%20EMA.) 💬 Ask about this Reviews

Share

## What is 5 EMA Strategy - Power of Stocks?

The 5 EMA strategy is a publicly known intraday method built on a 5-period exponential moving average, explained by Subasish Pani (Power of Stocks). MyAlgoMate's 5 EMA tool automates it for equity, futures and index options: it checks for the signal at every candle close inside your time window and places the orders with the exits and risk limits you set. It works with Alice Blue, Angel One, Finvasia, IIFL, Zerodha and Fyers and costs from ₹1,250 a month per trading account on the annual plan (+ GST). No preset settings or backtest data are provided — you choose every parameter. MyAlgoMate provides technology only, not investment advice.

## Key facts

MyAlgoMate automates the rules you set; it does not provide settings, backtests or results.

**Price**

From ₹1,250 a month per trading account on the annual plan (+ GST)

**Brokers**

Alice Blue, Angel One, Finvasia, IIFL, Zerodha and Fyers

**Instruments**

Equity, equity futures, index futures and index options (Finnifty excluded)

**Style**

Intraday

**Signal check**

At every candle close, between the start and stop times you set

**Risk controls**

Max Profit and Max Loss, global and per symbol, plus lock and trail profit

**Paper trading**

Yes — Paper Trade or Live Trade mode

**Runs on**

Your own Windows or Mac computer, or your own cloud machine

**Broker API**

Your broker's API with historical data; any API fee is billed by the broker

**Settings**

All yours to choose — no preset settings or backtest data

Last updated: 15 November 2026

// PRICING

## Plans

Pay for the tools you use. All prices in INR, exclusive of GST.

Best value

Annual

₹1,250/mo

billed ₹14,999 /yrSave 34%

[Buy now](https://myaccount.myalgomate.com/8)

Prices in INR, ex-GST

Quarterly

₹1,566/mo

billed ₹4,699 /quarterSave 18%

[Buy now](https://myaccount.myalgomate.com/8)

Prices in INR, ex-GST

Monthly

₹1,899/mo

billed monthly

[Buy now](https://myaccount.myalgomate.com/8)

Prices in INR, ex-GST

Price is per client ID — one subscription is needed for each trading account (client ID).

// BROKERS

## Works with 6 brokers

Search for yours — connecting takes minutes, not a development project.

6 brokers

[View all 6 supported brokers →](https://myalgomate.com/products/5-ema-strategy-power-of-stocks/brokers)

// HIGHLIGHTS

## Features at a glance

The capabilities that matter most — the rest is configurable in detail below.

### Automated 5 EMA strategy

Subasish Pani's 5 EMA (Power of Stocks), fully automated for equity, futures and options.

### Live signal window

See live signals with entry, target and stop values as they fire.

### Order & position books

Track every order and live MTM in dedicated books.

### Fully configurable

Times, timeframe, max trades, order and product type and more.

### Built-in risk controls

Global max-profit/loss and profit-protection rules.

### Multi-symbol, no limit

Run any number of equity, futures or options symbols.

### Paper or live mode

Test in paper trade before going live; save and reuse configs.

// DEMO

## See it in action

Watch it set up and run — start to finish.

(Image: Video: 5 EMA strategy — demonstration)

5 EMA strategy — demonstration

// SET UP

## How to automate the 5 EMA strategy

1. Connect your broker account through its official API. The API needs historical data; any API charges are your broker's.
2. Add the symbols you want scanned: equity, equity futures, index futures or index options. There is no limit on how many.
3. Set the timing: a start time, a stop-entry time and an exit time, plus the EMA period and the time frame. At every candle close between the start and stop-entry times the tool checks for a signal, and at the exit time it closes all positions.
4. Choose buy-side signals, sell-side signals or both, how an option contract is picked (ATM points or closest premium) and the quantity (by quantity or lots, by capital or by risk per trade).
5. Set your exits and risk limits: stop loss, target, EMA touch or EMA close exits, Max Profit and Max Loss, and Protect Profit or trailing.
6. Start in Paper Trade mode, then switch to Live Trade when you are ready. It runs on your own Windows or Mac computer, or your own cloud machine.

// EVERY SETTING

## Every setting, explained

Every feature, explained at a functional level — pick any one to read how it works in the panel below.

- Execution Details ### Execution Details Copy link 1. We, Myalgomate Technologies LLP, are a technology provider platform and do not act/intend to act as a wealth manager/ advisor in any capacity.
2. This tool is an automated version of the strategy available in the public domain. We neither endorse this strategy nor provide [backtest](https://myalgomate.com/glossary#backtesting) data or any standard configuration. All the parameters are configurable and user needs to decide their own parameter to use the software.
3. The intention behind automating this strategy is to help those traders who are already trading on a similar strategy and want to automate it. Join this telegram channel to get updates on this product: https://t.me/Myalgomate5EMA Or Search with the name “Myalgomate5EMA” Demonstration Video: Instruments to trade: - Equity, Equity Futures, Index Futures, Index Options (Finnifty excluded) Intraday or Positional: - Intraday Different modes of trading: | Scan on Signal On | Trade On | Meaning |
| --- | --- | --- |
| Equity | Equity | The signal is scanned on Equity and Trade is also taken on Equity |
| Equity | Future | The signal is scanned on Equity but trade is taken on its future contract |
| Index Spot | Index Futures | The signal is scanned on Index Spot but trade is taken on its Index Future contract |
| Index Futures | Index Futures | The signal is scanned on Index Future and trade is taken on its Index Future |
| Index Spot | Options (Buy/Sell Mode) | The signal is scanned on Index Spot and trade is taken on Index Options (Based on the options contract selection logic set by the user) |
| Index Futures | Options (Buy/Sell Mode) | The signal is scanned on Index Future and trade is taken on Index Options (Based on the options contract selection logic set by the user) |
| Options | Options | The signal is scanned on the options chart and trade is taken on the same options | Execution Details: - You can decide whether to take buy-side signals only, sell-side signals only, or both.
- You can set the max no of trades per script and the total no of trades across all the symbols.
- At every candle close, it will be checked for signal. The signal is scanned during the start time and stop time mentioned. At exit time, it will [exit all](https://myalgomate.com/glossary#kill-switch) positions. Buy Side Trades: - Signal Candle: The high of the candle should not touch EMA. This candle will be called a Signal candle.
- If the price goes above the high of the Signal Candle High, it will buy.
- If you have enabled Triggered valid till the next candle, then the high of the signal candle should be broken in the next candle otherwise it will invalidate the trade. (Image: Chart example of the 5 EMA buy-side entry rule and its trigger prices) Sell Side Trades: - Signal Candle: Low of the candle should not touch EMA. This candle will be called a signal candle.
- If the price goes down below the signal candle low, then it will sell.
- If you have enabled Triggered valid till the next candle, then the low of the signal candle should be broken in the next candle otherwise it will invalidate the trade. (Image: Chart example of the 5 EMA sell-side entry rule and its trigger prices) Strike Configuration: For strike configuration, there are two modes available: 1. Entry by [ATM](https://myalgomate.com/glossary#at-the-money) Points
2. Entry by Closest Premium Entry by ATM Points: Examples: 1. Underlying Price: 35125, CE ATM Points = 0, PE ATM Points = 0 ATM Strike = 35100 CE Strike selected = 35100 PE Strike selected = 35100
2. Underlying Price: 35125, CE ATM Points = 100, PE ATM Points = 100 ATM Strike = 35100 CE Strike selected = 35100 + 100 = 35200 PE Strike selected = 35100 – 100 = 35000 (positive points pick out-of-the-money strikes)
3. Underlying Price: 35125, CE ATM Points = -100, PE ATM Points = -100 ATM Strike = 35100 CE Strike selected = 35100 – 100 = 35000 PE Strike selected = 35100 + 100 = 35200 (negative points pick in-the-money strikes) Entry by Closest Premium (CP): Examples: - Closest Premium Price: 100, Type: “~” It will select the option contract nearest to the price of 100.
- Closest Premium Price: 100, Type: “>=” It will select the option contract nearest and above the price of 100.
- Closest Premium Price: 100, Type: “<=” It will select the option contract nearest and below the price of 100. Quantity Configuration: - For Equity, you can set quantity based on the number of shares/ Capital per Trade/ Risk per Trade
- For Futures & Options, it will be based on the no of lots.
- Time-Based Exit
- User exits positions from software
- N Candles H/L from the signal:
- For example, if you have set the value = 3, then for a sell signal, it will set the SL to the highest of high of the last 3 candles including a signal candle. For the Buy signal, it will set the SL to the lowest low of the last 3 candles including the signal candle.
- SL & Target based on %/Pts:
- You can enable SL/target based on the % or points of the entry price.
- RR-Based Target
- For Sell side trade: If you have set the RR-based target = 2, entry price = 100, and SL price = 102, then the target will be 96. Opp. for the buy side.
- Exit based on EMA Touch:
- For sell-side trade, when the price comes down and touches the EMA, it will exit the position. For buy-side trade, when the price goes up and touches the EMA, it will exit the position. (Image: Chart example of the EMA touch exit: the position exits when a candle touches the 5 EMA) - Exit based on Candle Close above / below EMA:
- For sell-side trade, when the price comes down and the candle closes below the EMA, it will exit the position. For buy-side trade, when the price goes up and closes above the EMA, it will exit the position. (Image: Chart example of the EMA close exit: the position exits on a candle close above or below the 5 EMA) #### Stop Loss trailing Trailing Logic: - We do not modify the SL price in the broker when trailing happens. It will store the trail SL price in the software and continuously monitor if the [trailing SL](https://myalgomate.com/glossary#trailing-stop-loss) is hit. Whenever trailing SL is hit, it will modify the [SL order](https://myalgomate.com/glossary#stop-loss-order) to market to exit.
- Trailing will always happen in the direction of the trade. Example: Entry Type = Buy For trailing, if [LTP](https://myalgomate.com/glossary#last-traded-price) = 100, Initial SL % = 10% Trailing X% = 5%, and Trailing Y% = 5%, then it will trail like following: - Initial SL = 100 – (100*10%) = 90
- Trail X Points = 100 * 5% = 5
- Trail Y Points = 90 * 5% = 4.5
- When LTP reaches 105, it will trail the SL to 94.5.
- When LTP reaches 110, it will trail the SL to 99.
- When LTP reaches 115, it will trail the SL to 103.5. And so on… Entry Type = Sell For trailing, if LTP= 100, Initial SL % = 10% Trailing X% = 5%, and Trailing Y% = 5%, then it will trail like following: - Initial SL = 100 + (100*10%) = 110
- Trail X Points = 100 * 5% = 5
- Trail Y Points = 110 * 5% = 5.5
- When LTP reaches 95, it will trail the SL to 104.5.
- When LTP reaches 90, it will trail the SL to 99.
- When LTP reaches 85, it will trail the SL to 93.5. And so on… #### Protect Profit There are the following modes available to protect profits and it’s available at the strategy level and portfolio level both: - Lock Minimum Profit
- Trail Profits
- Lock & Trail Profits ##### Lock Minimum Profit - Assuming the “If Profit Reaches” parameter is set to 10000 and the “Lock Min Profit At” parameter is set to 5000.
- When the profit reaches 10000, the system will lock the minimum profit at 5000.
- All positions will be exited when the MTM decreases to 5000.
- This action is performed only once. ##### Trail Profits - Assuming the “Increase in Profit” parameter is set to 5000 and the “Trail Min Profit by” parameter is set to 3000.
- The system will trail the minimum profit by 3000 for every 5000 increase in profit.
- When the profit reaches 5000, the minimum profit will be locked at 3000.
- When the profit reaches 10000, the minimum profit will be locked at 6000.
- The locking of the minimum profit continues for subsequent increases in profit. ##### Lock & Trail Profits - This mode first locks in the profit at the “Lock Min Profit” value, then begins trailing profits.
- For example, if “Profit Reaches” is set to 10000, and “Lock Min Profit At” is set to 5000, with an increase in profit of 5000 and a “Trail Min Profit by” value of 3000:
- When your profit reaches 10000, the minimum profit will be locked at 5000.
- When your profit reaches 15000, the minimum profit will be locked at 8000.
- When your profit reaches 20000, the minimum profit will be locked at 11000, and so on. [Chat on WhatsApp about this](https://wa.me/918866122446?text=Hi%2C%20I%20came%20across%20your%20website%20and%20would%20like%20to%20know%20more%20about%205%20EMA.)
- Configurable Parameters
- Order Execution
- Salient Features
- Pre Requisites

// FAQ

## 5 EMA Strategy - Power of Stocks FAQ

### How do I automate the 5 EMA strategy?

Connect your broker through its official API, add the symbol and contract, set the EMA period, timeframe, direction and time window, set your exits and limits, then test in Paper Trade mode before switching to Live. The software runs on your own Windows or Mac computer or your own cloud machine.

### What is the 5 EMA strategy?

A publicly known intraday method built on a 5-period exponential moving average, explained by Subasish Pani (Power of Stocks). This tool automates it with the settings you choose.

### Does MyAlgoMate provide settings or backtest data?

No. The tool automates a strategy that is available in the public domain. MyAlgoMate does not endorse it and provides no backtest data or standard settings — you decide every parameter. MyAlgoMate provides technology only, not investment advice.

### When does it check for a signal?

At every candle close, between the start and stop times you set. At the exit time you set, it exits all positions.

### Can I take only buy or only sell signals?

Yes. Choose buy-side signals, sell-side signals or both. You can also cap the number of trades per symbol and in total.

### Which instruments can I trade?

Equity, equity futures, index futures and index options (Finnifty excluded). It trades intraday.

### Can I test it before going live?

Yes. Paper Trade mode shows live signals, an order book and live MTM without sending real orders to your broker.

### What do I need to run it?

Your broker's API with historical data (any API fee is billed by your broker), and a Windows or Mac computer — or your own cloud machine.

### Do I need a static IP?

Yes, for Indian equity brokers. Under SEBI's retail algo-trading rules, brokers accept API orders only from a static IP registered with them — one for each trading account. MyAlgoMate's [Virtual Trading Environment](https://myalgomate.com/products/virtual-trading-environment) gives each trading account its own static IP.

### How is it priced?

Per trading account (client ID): you need one subscription for each account it runs on. The current plans are listed on this page, plus GST.

// OVERVIEW

#### Fully automated Algo | 5 EMA strategy by Subasish Pani, Power of Stocks for Equity, Equity Futures, Index Futures, and Index Options (except Finnifty) Explained in the Traders Carnival

Questions? WhatsApp us: [Chat on WhatsApp](https://wa.me/918866122446?text=Hi%2C%20I%20came%20across%20your%20website%20and%20would%20like%20to%20know%20more%20about%205%20EMA.)

Join this telegram channel to get updates on this product: https://t.me/Myalgomate5EMA Or search with the name “Myalgomate5EMA”

// RELATED TOOLS

## Related tools

- [RMS Tool for a daily max-loss exit →](https://myalgomate.com/products/rms-tool)
- [Custom strategy automation →](https://myalgomate.com/solutions/custom-strategy-automation)

// READ NEXT

## Explore more

- [ORB (Opening Range Breakout) automation →](https://myalgomate.com/products/orb-opening-range-breakout)
- [How to get a static IP for algo trading →](https://myalgomate.com/blog/how-to-get-static-ip-for-algo-trading-in-india)
- [What is paper trading? →](https://myalgomate.com/glossary#paper-trading)

// REVIEWS

## What people say about 5 EMA Strategy - Power of Stocks

### No reviews yet

Be the first to share your experience with this product.

### Write a review

Copy review link

Reviews are moderated before they appear. Please describe your experience — setup, execution, support — not performance or returns. Use “Copy review link” to invite a customer to review 5 EMA Strategy - Power of Stocks.

Your rating

Name

Title (optional)

Your review

I agree this review may be published after moderation. It describes my experience and makes no returns, profit or performance claims.

Submit review

## Ready to try 5 EMA Strategy - Power of Stocks?

Set up in minutes, automate without code — with a team that answers.

[Buy now](https://myaccount.myalgomate.com/8) [WhatsApp us](https://wa.me/918866122446?text=Hi%2C%20I%20came%20across%20your%20website%20and%20would%20like%20to%20know%20more%20about%205%20EMA.)

---
MyAlgoMate is a technology provider: its software automates the user's own trading rules. It does not give
trading tips, calls or investment advice and never promises returns. Site map for AI assistants:
https://myalgomate.com/llms.txt
