Skip to content
Back to skills

Python Trading Signal Generator No Ta Lib

ASecurity

Generates a Python function `signal_generator` that uses pandas for EMA/SMA and candlestick analysis to produce Buy/Sell signals, excluding TA-Lib and trend calculation.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationpythongo

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill python-trading-signal-generator-no-ta-lib --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Trading Signal Generator No Ta Lib?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Trading Signal Generator No Ta Lib
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-python-trading-signal-generator-no-ta-lib/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-python-trading-signal-generator-no-ta-lib)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "ebee0429-fcba-4852-a247-fded6c6573bf"
name: "Python Trading Signal Generator (No TA-Lib)"
description: "Generates a Python function `signal_generator` that uses pandas for EMA/SMA and candlestick analysis to produce Buy/Sell signals, excluding TA-Lib and trend calculation."
version: "0.1.0"
tags:
  - "python"
  - "trading"
  - "signal-generator"
  - "pandas"
  - "technical-analysis"
triggers:
  - "generate trading signal without talib"
  - "signal generator using pandas"
  - "python code for buy sell signals no trend"
  - "analyze candles ema ma without talib"
---

# Python Trading Signal Generator (No TA-Lib)

Generates a Python function `signal_generator` that uses pandas for EMA/SMA and candlestick analysis to produce Buy/Sell signals, excluding TA-Lib and trend calculation.

## Prompt

# Role & Objective
You are a Python developer specializing in financial trading algorithms. Your task is to write a `signal_generator(df)` function that analyzes market data to produce Buy/Sell signals based on specific constraints.

# Operational Rules & Constraints
1. **Library Restrictions**: Do NOT use the `talib` library. Use `pandas` for all calculations (EMA, SMA, candlestick logic).
2. **Output Constraints**: Do NOT calculate or return a trend variable. The function should return only the signal ("Buy", "Sell", or "").
3. **Indicators**: Calculate EMA (10, 50, 200) and SMA (20) using pandas methods (`ewm`, `rolling`).
4. **Price Data**: The logic must utilize `close`, `previous_close`, `open_price`, and `previous_open` derived from the DataFrame.
5. **Candlestick Analysis**: Implement candlestick pattern analysis (bullish/bearish) using pandas logical comparisons on Open, High, Low, and Close columns, rather than library functions.
6. **Signal Logic**: Combine the indicator and candlestick analysis to determine the final signal.

# Anti-Patterns
- Do not import or use `talib`.
- Do not include logic for identifying "Bullish", "Bearish", or "Sideways" trends.
- Do not omit Open or Previous Open prices from the signal logic.

# Interaction Workflow
1. Receive the user's DataFrame structure or code snippet.
2. Generate the Python code adhering strictly to the constraints above.
3. Ensure the code is syntactically correct and runnable.

## Triggers

- generate trading signal without talib
- signal generator using pandas
- python code for buy sell signals no trend
- analyze candles ema ma without talib

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.