Portfolio / SOL trading signals

  • Python
  • Technical indicators
  • Backtesting

SOL trading signals

RSI, MACD and a 50-day average, calculated live. Change the rules, watch the buy and sell signals move, and see how the strategy would have done against just buying and holding.

Move the sliders. I’ll redraw every signal before you blink. Well, before I blink.

A real-life example

Meet Nico, who trades a little crypto on the side.

He reads about RSI and MACD, sets alerts on his phone, and makes calls based on a chart and a gut feeling. He has no idea whether his rules would have actually worked, because testing them by hand would take forever.

Example scenario. The prices are simulated, not real SOL market data. Not financial advice.

Before

  • Trades based on a chart and a feeling
  • Indicator settings copied from a video
  • No way to test a rule before risking money
  • Every win remembered, every loss forgotten

After

  • Indicators calculated automatically
  • Rules you can change and test in seconds
  • An honest comparison with just buying and holding
  • Every trade listed, wins and losses

Try it yourself

SOL Signal Lab Simulated prices · not financial advice

Price50-day average▲ Buy▼ Sell

RSI (shaded zone = between your buy and sell levels)

MACDSignal lineBars = momentum

Strategy return–
Just buy & hold–
Trades–
Winning trades–
Worst drop–
Trades
#BoughtPriceSoldPriceWhy it soldResult

These prices are simulated, not real SOL market data. This is an educational tool for testing ideas, not financial advice, and past results never guarantee future ones.

Simulated prices for learning and testing ideas. Not real SOL data, and not financial advice.

The problem

Indicator-based rules sound good, but without testing them on data there’s no way to know whether they help or just add noise.

The solution

A Python tool that pulls price history, calculates RSI, MACD and moving averages, turns your rules into buy and sell signals, and backtests them: every trade, the win rate, the worst drop, and a comparison with simply holding. Every setting is adjustable, so it’s a starting point you can customize.

How it's built

  1. Get pricesPull daily price history from an exchange or data API.
  2. IndicatorsCalculate RSI, MACD, signal line and moving averages.
  3. RulesTurn your conditions into buy and sell signals.
  4. BacktestSimulate every trade and track the results.
  5. CompareCheck the result against just buying and holding.

The indicators in Python with pandas:

import pandas as pd

def rsi(close, n=14):
    delta = close.diff()
    gain = delta.clip(lower=0).ewm(alpha=1/n, adjust=False).mean()
    loss = (-delta.clip(upper=0)).ewm(alpha=1/n, adjust=False).mean()
    return 100 - 100 / (1 + gain / loss)

df["rsi"] = rsi(df["close"])
df["macd"] = df["close"].ewm(span=12).mean() - df["close"].ewm(span=26).mean()
df["signal"] = df["macd"].ewm(span=9).mean()
df["buy"] = (df["rsi"].shift() < 30) & (df["rsi"] >= 30) & (df["macd"] > df["signal"])

What it makes possible

  • Test an idea before risking real money
  • See wins and losses honestly, side by side
  • A customizable base for your own strategy

Skills shown

  • Python
  • pandas
  • Technical indicators
  • Backtesting
  • Data visualization
Want this for your business?

Want to test your own strategy?

I can build a version around your rules and the markets you follow. Educational tools only, not advice.

Starting prices are for smaller projects. Bigger or more complex jobs are priced by scope: how much there is and how long it takes.