PROTECTED SOURCE SCRIPT
Telah dikemas kini

Automated Bot By RootKit

155
Primary Entry (Flip):
Enters a long position when price crosses above a dynamic moving average (called Step MA), but only if:

It's within the user-defined trading hours

Daily profit/loss limits haven’t been breached

No open position exists

Scaling (Add):
If already in a trade, and price crosses back below the Step MA, the strategy adds to the position up to a configurable number of times (Add Max Entries).

Step MA Filter:
A volatility-adjusted moving average combining EMA and standard deviation, acting as a trend guide and stop-loss anchor.

Profit Target & Stop Loss:
Once in a trade, the strategy sets a take-profit in ticks above the average entry and a stop-loss a set number of ticks below the Step MA.

Daily Limits:
Trades are disabled for the day once net profit hits a configured max profit or loss value.

Contract-Based:
Trades with fixed contract sizes, not percentage of equity, for clearer sizing control.
Nota Keluaran
⚙️ How It Works
Step MA Calculation:

The strategy calculates a step-style moving average using EMA and volatility (stdev) with a sensitivity multiplier.

Trades are entered when the price crosses over the Step MA (a bullish signal).

Entry Logic:

When close crosses above the Step MA, it enters a long trade if:

You are not already in a trade

The signal occurs within allowed trading dates and sessions

You haven’t traded within the last Min Bars Between Trades

You’re within daily profit/loss limits (if enabled)

Add-on Entries:

If you're already in a trade and the close crosses below the Step MA, an additional entry is made (averaging in) up to Max Entries.

Exit Logic:

Trades exit either on a profit target or stop loss relative to the entry price and Step MA.

Visual labels (BUY and EXIT) appear on the chart when trades are made.

Daily PnL Controls:

Optional toggles let you limit trading if daily profit or loss thresholds are hit.

Time Filters:

Trades are only allowed between Jan 1, 2024, and Dec 30, 2025.

You can enable/disable the New York, Asia, and London sessions individually. Times are in UTC:

NY: 13:00–21:00

Asia: 00:00–08:00

London: 07:00–15:00

🛠️ How to Use the Settings
Open the script's settings (⚙️ icon) in TradingView, and adjust the following:

Flip Entry Quantity: Size of the first trade.

Add Entry Quantity: Size for each additional entry.

Profit Target / Stop Distance: Measured in ticks (price units).

Min Bars Between Trades: Prevents rapid re-entries.

Step MA Controls:

Sensitivity Factor: Higher = tighter MA to price.

Step Size Period: Period for base EMA and stdev.

Use Oma Adaptive: Smoother step MA.

Trading Sessions: Toggle NY, Asia, or London to define when entries are allowed.

Daily Profit/Loss: Enable and define thresholds to stop trading if hit.

🧭 What You’ll See on the Chart
Orange line = Step MA

Green triangle = Entry signal (BUY)

Purple downward label = Exit

Add entries are made silently without labels

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.