- Home
- Skills
- Trading & Investing
- Trading Strategy Spec Builder | MT5 & TradingView
Trading Strategy Spec Builder | MT5 & TradingView
Turn trading rules into an MT5/Pine specification with unchanged risk, acceptance fixtures and honest validation gates.
Free
Works with the AI Agents you already use
Trading Strategy Spec Builder | MT5 & TradingView
Example session with this skill installed
Specify my MT5 breakout rules before coding. Preserve the supplied risk/protection contract, distinguish raw signals and entry eligibility, and keep missing broker facts unresolved.
- Read your context and instructions
- Compiled the trading strategy spec
Synthetic example: prior-range breakout
This miniature fixture illustrates specification precision only. It is not a recommended strategy, market dataset or performance result. Do not adopt its inputs unless the user chooses them.
Supplied brief
"For an MT5 EA, inspect each completed H1 candle. Go long when its close is strictly above the highest high of the preceding three completed candles; short when below their lowest low. No reversal while occupied. One position maximum. Risk, broker symbol, protective exits and session timezone have not yet been supplied."
Deterministic signal interpretation
Let t be the most recently completed candle at the first available tick of the next H1 bar. Upper[t]=max(high[t-3],high[t-2],high[t-1]); lower[t]=min(low[t-3],low[t-2],low[t-1]). Exclude candle t from both ranges. LONG if close[t]>upper[t], SHORT if close[t]<lower[t], otherwise NONE. Require three prior valid completed candles and valid signal-candle OHLC. Missing/invalid data yields INVALID_DATA, not a manufactured signal.
The three prior highs are 1.1010,1.1020,1.1030; prior lows 1.0990,1.0980,1.0970. Therefore upper=1.1030 and lower=1.0970. Each table row is an independent alternate signal candle, not one consecutive history.
| Signal candle O/H/L/C | Expected event | Entry eligibility |
|---|---|---|
| 1.1020/1.1040/1.1010/1.1035 | LONG | Blocked until risk/protection/broker contract supplied |
| 1.1020/1.1040/1.1010/1.1030 | NONE: equality | No entry |
| 1.0980/1.0990/1.0960/1.0965 | SHORT | Blocked until risk/protection/broker contract supplied |
| 1.1020/1.1030/1.1010/1.1040 | INVALID_DATA: close exceeds high | No entry |
| Valid LONG while a position is open | LONG remains a raw event | OCCUPIED; no new entry/reversal |
| Valid LONG while candle t is developing | Not yet a confirmed event | No entry |
| Only two preceding candles available | WARMUP | No entry |
Explicit unresolved decisions
The raw-signal portion is specified. The order-capable EA is BLOCKED pending broker/provider symbol, account currency, risk and loss limits, protective-exit rules/units, spread/cost/slippage assumptions, order constraints and timezone/session policy. Do not fill these gaps with a "safe" lot size or an invented percentage. Native compilation, historical, holdout and forward tests are NOT_RUN.
After those decisions, hand off a separate signal module, broker-aware risk module and order/state module; specify a distinct independent review. Merely writing this example does not create or test an EA.
Connects securely to your tools. The creator never sees your data.
About this skill
Specify MT5 and TradingView rules before coding
Turn authorized MT5 Expert Advisor or TradingView Pine indicator/strategy rules into an implementation-ready specification before coding. Define signal timing/formulas, raw events versus entry eligibility/fills, unchanged risk, state transitions, synthetic acceptance fixtures and unresolved decisions. Only MT5 and TradingView are supported; other-platform work is declined, not silently converted.
Includes self-contained SKILL.md, README.md and a complete synthetic prior-range worked example. No compiler, broker credentials, network connection or market data is required for planning. This workflow does not implement or execute an EA, supply trading signals, prove profitability or certify native behavior.
No grid, martingale, averaging, pyramiding, silent filters or risk increases. Demo/testing only. Implementation, independent review, native checks, historical evaluation, untouched holdout, forward demo and separate owner decisions remain evidence-gated. No previous result is promoted into a fresh pass by this documentation-only revision.
Complete demo
The worked session below is a synthetic prior-range breakout specification. It preserves the supplied risk budget and protective exits, separates raw events from execution assumptions, and leaves missing broker details unresolved. An MT5-to-Pine conversion must document simulation/fill differences.
Delivery and validation boundaries
Use this as an agent-loaded specification workflow, not an execution service. Independently generated buyer-request output is distinct from protected bundled examples and substantial copies. Third-party rights still apply. No new native, historical or buyer-host delivery pass is claimed by this documentation-only scope update. Demo/testing only.
Specification-only, supporting MT5 and TradingView/Pine: no EA/indicator implementation, broker execution, backtesting, compiler access or profitability guarantee. Missing critical inputs remain blocked rather than invented. Historical format and authoring checks are source/version-bound, not fresh native checks or multi-host/buyer-delivery certification. Demo values are synthetic. Optional file access requires owner authorization. Demo/testing only; no strategy/risk increase.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
2 uses
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 27 days ago
- Free with an Agensi account
Permissions
Specification-only. Chat-only use needs no external access. Optional file reads are limited to user-authorized input/supporting files; optional writes only to a user-chosen specification destination. No credentials, broker accounts, alerts, trading, publication or spending authority is granted.