OPEN-SOURCE SCRIPT

GemScope Signals

95
## ๐Ÿ“Š GemScope Signals โ€“ Strategy Summary

This is an **automated trading strategy (Pine Script v5)** designed to trade market trends using a **custom GemScope oscillator**, **EMA trend filter**, **risk control**, and **multi-level take profit system**.

---

### ๐Ÿ”น Trading Modes

* **Long Only**
* **Short Only**
* **Both Long & Short**

---

### ๐Ÿ”น Entry Logic

**Long Trades**

* No active long position
* Entry allowed (not in cool-down after stop loss)
* GemScope shows **bullish trend (bull > bear)**
* If EMA filter is enabled: **price must be above EMA 200**

**Short Trades**

* No active short position
* Entry allowed
* GemScope gives **bearish signal (bull < bear)**

---

### ๐Ÿ”น Exit Logic

* Positions close on **opposite GemScope signals**
* Short positions also close when:

* EMA filter is enabled
* Price moves above EMA
* Trend turns bullish

---

### ๐Ÿ”น Stop Loss System

* **Percentage-based stop loss** for both long and short trades
* After a stop loss:

* New entries are blocked
* Trading resumes only after a fixed number of candles (cool-down)

---

### ๐Ÿ”น Take Profit System (Partial Exits)

* Up to **three take-profit levels (TP1, TP2, TP3)**
* Each TP has:

* Independent price distance (%)
* Independent position size to close (%)
* Helps lock profits gradually while keeping runners open

---

### ๐Ÿ”น Trend & Visuals

* Candles turn **green in bullish trend** and **red in bearish trend**
* **EMA 200** is plotted for trend confirmation
* Chart signals:

* **โ€œGโ€** โ†’ Long signal
* **โ€œSโ€** โ†’ Short signal

---

### ๐Ÿ”น Risk & Money Management

* Uses **100% of account equity per trade**
* **No pyramiding** (one trade at a time)
* Built-in protection against over-trading after losses

---

### ๐Ÿ”น Overall Purpose

The strategy aims to:

* Trade only in **confirmed trends**
* Reduce false entries using EMA filtering
* Protect capital with stop loss and cool-down
* Maximize profits using **structured partial exits**

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.