Skip to content

jerlinn/ComfyUI-SuperTrend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComfyUI SuperTrend

A Supertrend indicator for US stocks, a technical analysis tool that can assist investors in identifying market trends.

CoverIMG

Plots

  • Candlestick with Trading volume chart

Legend

  • 🔴 LowerBand: Rising cycle
  • 🟢 UpperBand: Down cyle
  • ▲ Buy
  • ▼ Sell / Leave

Calculate

$\text{BASIC Upperband} = \frac{\text{High} + \text{Low}}{2} + \text{Multiplier} \times \text{ATR}$

$\text{BASIC Lowerband} = \frac{\text{High} + \text{Low}}{2} - \text{Multiplier} \times \text{ATR}$

  • High and low: These are the highest and lowest prices of the asset during a specified time frame. (Default is 7, I set 14)
  • ATR: This measures market volatility. The ATR is calculated based on the highest and lowest prices, as well as the closing price of the asset over a specified time frame.
  • Multiplier: This is a constant value that traders and investors employ to push the indicator to be more or less sensitive to price movements.(Default is 3, I set 2)

Usage

  • 🖊️ Input:Stock symbols (1 or more)、Date (YYYYMMDD)
  • 🏞️ Output:SuuuuperTrend plot

Install | Manual

cd ~/ComfyUI/custom_nodes
git clone https://github.com/jerlinn/ComfyUI-SuperTrend.git
cd custom_nodes/ComfyUI-SuperTrend
pip install -r requirements.txt
Restart ComfyUI

Add Node:

Right Click ▸ Financial Analysis ▸ 📈 Super Trend

Examples

  1. Default Workflow CleanShot 2024-01-22 at 23 31 43@2x

  2. Microsoft ComfyUI_temp_pvrza_00003_

  3. Apple ComfyUI_temp_pvrza_00004_

  4. Nvidia ComfyUI_temp_pvrza_00005_

Copilot
ComfyUI Assistant @ZHO

About

A super trend indicator for US stocks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy