TEMA Strategy 1 (Updated)This is just a test strategy using TEMA ( Triple Exponential Moving Average ).
Test Detail
Symbol: BTCUSD
Interval: 1H
Initial Capital: $1000
Investment: 100% Equity
Results (on BTCUSD -2.31% - Bitfinex)
I had to chunk the months because of the order limit (1000)
(all months start at 1st, 00:00 AND finish at last date, 23:59 )
Timeframe: 2017 August - 2017 Nov
Profit: 21.9%
Max Drawdown: 83.94%
Timeframe: 2017 Dec - 2018 Feb
Profit: 446.32%
Max Drawdown: 46.54%
Timeframe: 2018 Mar - 2018 Jul
Profit: 288.87%
Max Drawdown: 51.49%
To fix:
Too many orders, potentially reduce order counts by increasing max loss (100~200 orders/month) \u2028
High Max Drawdown, need to fix that
Looks like orders are created and terminated very quickly, need to look into that
Still figuring things out
Search in scripts for "profit"
PPSignal MTFSystem Algorithm Ppsignal Versin MTF. based on historical price probabilities . We recommend use financial stock, bond, crypts, indices, futures and Forex market ( GBPUSD -0.09% , EURUSD -0.02% , USDJPY 0.28% , USDCAD 0.09% , AUDUSD -0.02% , USOIL -0.05% , XAUUSD -0.06% , SOYUSD -1.22% , DXY 0.07% , SPY 0.12% , SP1! 0.40% , bitcoin -0.02% ) with defined trends above 50 or 100 and 200 simple moving averages idem if you want trade downtrend financial assets.
Use projections and retracements Fibonacci, MACD and RSI or Stoch oscillator and figures charters Head and shoulder, triangles and double bottom , double top , etc.
This system will notify you of the probability of success. The profit will be defined for yourself and according to your investor profile.
There are stocks and other assets with high returns but the system does not know exactly. Check in the Strategy tester section and then net profit.
We have other tools that support to PPsignal system, we will publish them shortly.
Define system parameters
As it is a system that is based on past data we recommend using the most historical data weekly (W) but you an use day historical data or 3 o 2 hs.
Candle color: you can choose if you want a trend color for candles or not, in the chart propieties menu detach the border option.
PPsignal it's a very simple system with which you will have a great support when it is a good time for enter in the marker and out.
we await your comments.
With this new version you can change the period and time and find a better percent profitable.
Eng. Oscar Alejandro Peruchena
Quants Mathematical and Market Analyst
RSI Buy/sell signal with TP_SL_TL_15min by rajistaRSI Buy/sell signal with TakeProfit_Stop loss_Trailing_SL script -can be used on any altcoin/btc pair on the 15min chart .
This script can be used for backtesting pupose and also to give buy/sell signals based on the settings provided by you.
Benefits of the script:
1> Fully customizable script according to your trade setups.
2> The script incorporates Take-profit, Stop-loss & Trailing SL.
3> Cuts your losses significantly, in comparision to a script without TP, SL & TL strategies.
4> Based on RSI Overbought/Oversold levels, which can also be customizable.
5> Doesn't take too many trades in a day, thereby decreasing commission paid to exchanges & hence enhances the overall profit.
Here's how, you can fully customize the script, according to your strategy, once you have been provided access:
( To gain access to the script just hit the like/comment in the #tradingview published article & i'll grant access based on your tradingview userid )
You can add this script to your charts in 15min timeframe, like adding any other simple indicator.
Once you have added the script, just hit the settings button to fully customize the script according to your strategy and plan, that you have, for your trade setup.
Take profit, Stop loss, Trailing Stop loss values can be entered in satoshis from the setting panel.
RSI Overbought & Oversold values can also be entered according to your trading setup.
Like in below example , i have put the following values as default
Test date is set as 1 May 2018
Take profit=1000, stop loss=5, Trailing SL=40
RSI Overbought=70, Oversold=20
" Above mentioned values are default values and may not be profitable in every condition, you have to backtest the strategy by changing these values and then see the results of given values under the Strategy tester tab- located at bottom of your #tradingview chart. "
Lets see how the scipt is able to make these awesome gains:
Suppose your script enters a trade(buys Verge) when #Verge is at 800sats
Then the bot will close the trade(sell Verge) when either of these things happen:
a> Verge surges to 1800 sats, then the script will close trade by Taking profit
b>Verge increases to 850 only, but the RSI value in 15min chart has gone above 70 (Overbought-default value) then scipt will close trade.
c>Verge decreases to 995 sats, then script will close trade by Stop loss hit.
d>Verge surges to 840 but then again drops slightly to 835, script will again close trade by Trailing SL hit.
Initial capital is set to 10 btc
Make sure to check the performance summary tab below and overview of the script running on #XVGBTC since 1 May 2018-Till date
Profit -11.6% while running script
Where Buy and hold return for verge in the same period is:
- to get an instant notification, once i publish a script or a trading analysis/trade-setup , which will always be available for free for everyone!!!
XPloRR MA-Buy ATR-Trailing-Stop Long Term Strategy Beating B&HXPloRR MA-Buy ATR-MA-Trailing-Stop Strategy
Long term MA Trailing Stop strategy to beat Buy&Hold strategy
None of the strategies that I tested can beat the long term Buy&Hold strategy. That's the reason why I wrote this strategy.
Purpose: beat Buy&Hold strategy with around 10 trades. 100% capitalize sold trade into new trade.
My buy strategy is triggered by the EMA(blue) crossing over the SMA curve(orange).
My sell strategy is triggered by another EMA(lime) of the close value crossing the trailing stop(green) value.
The trailing stop value(green) is set to a multiple of the ATR(15) value.
ATR(15) is the SMA(15) value of the difference between high and low values.
Every stock has it's own "DNA", so first thing to do is find the right parameters to get the best strategy values voor EMA, SMA and Trailing Stop.
Then keep using these parameter for future buy/sell signals only for that particular stock.
Do the same for other stocks.
Here are the parameters:
Exponential MA: buy trigger when crossing over the SMA value (use values between 11-50)
Simple MA: buy trigger when EMA crosses over the SMA value (use values between 20 and 200)
Stop EMA: sell trigger when Stop EMA of close value crosses under the trailing stop value (use values between 8 and 16)
Trailing Stop #ATR: defines the trailing stop value as a multiple of the ATR(15) value
Example parameters for different stocks (Start capital: 1000, Order=100% of equity, Period 1/1/2005 to now):
BAR(Barco): EMA=11, SMA=82, StopEMA=12, Stop#ATR=9
Buy&HoldProfit: 45.82%, NetProfit: 294.7%, #Trades:8, %Profit:62.5%, ProfitFactor: 12.539
AAPL(Apple): EMA=12, SMA=45, StopEMA=12, Stop#ATR=6
Buy&HoldProfit: 2925.86%, NetProfit: 4035.92%, #Trades:10, %Profit:60%, ProfitFactor: 6.36
BEKB(Bekaert): EMA=12, SMA=42, StopEMA=12, Stop#ATR=7
Buy&HoldProfit: 81.11%, NetProfit: 521.37%, #Trades:10, %Profit:60%, ProfitFactor: 2.617
SOLB(Solvay): EMA=12, SMA=63, StopEMA=11, Stop#ATR=8
Buy&HoldProfit: 43.61%, NetProfit: 151.4%, #Trades:8, %Profit:75%, ProfitFactor: 3.794
PHIA(Philips): EMA=11, SMA=80, StopEMA=8, Stop#ATR=10
Buy&HoldProfit: 56.79%, NetProfit: 198.46%, #Trades:6, %Profit:83.33%, ProfitFactor: 23.07
I am very curious to see the parameters for your stocks and please make suggestions to improve this strategy.
Aurum15 - http://tvautotrader.comAurum15 - tvautotrader.com
Initial version of strategy, basing on market condition and price movement according to MA's, closing on RSI overbought value.
Exit position are configurable by RSI (default rsi(open,29) > 70), designed for 15 minutes charts
It creates very long trades (above 300 bars per trade) but is very profitable.
Tested at:
USOIL - 66% profitable, 15 trades since 2017-09-04
LTCUSD - 75% profitable, 20 trades since 2017-10-02
XRPUSD - 87.5% profitable, 8 trades since 2017-10-02
IOTUSD - 77% profitable, 9 trades since 2017-10-02
This strat is not for sale yet, I need to make futher tests in more sideways market.
Upgraded XAUUSD 30m only Strategy V2.0So i've been fiddling around with this once more
The result is increased net profit, same time frame as previous strategy, more drawdown, but that comes with the net profit.
1 pip = 1$
Pyramiding of 3 orders.
Commission included.
More trades
Profitability rate is about the same.
MACDouble + RSI (rec. 15min-2hr intrv) Uses two sets of MACD plus an RSI to either long or short. All three indicators trigger buy/sell as one (ie it's not 'IF MACD1 OR MACD2 OR RSI > 1 = buy", its more like "IF 1 AND 2 AND RSI=buy", all 3 match required for trigger)
The MACD inputs should be tweaked depending on timeframe and what you are trading. If you are doing 1, 3, 5 min or real frequent trading then 21/44/20 and 32/66/29 or other high value MACDs should be considered. If you are doing longer intervals like 2, 3, 4hr then consider 9/19/9 and 21/44/20 for MACDs (experiment! I picked these example #s randomly).
Ideal usage for the MACD sets is to have MACD2 inputs at around 1.5x, 2x, or 3x MACD1's inputs.
Other settings to consider: try having fastlength1=macdlength1 and then (fastlength2 = macdlength2 - 2). Like 10/26/10 and 23/48/20. This seems to increase net profit since it is more likely to trigger before major price moves, but may decrease profitable trade %. Conversely, consider FL1=MCDL1 and FL2 = MCDL2 + (FL2 * 0.5). Example: 10/26/10 and 22/48/30 this can increase profitable trade %, though may cost some net profit.
Feel free to message me with suggestions or questions.
MACD, backtest 2015+ only, cut in half and doubledThis is only a slight modification to the existing "MACD Strategy" strategy plugin!
found the default MACD strategy to be lacking, although impressive for its simplicity. I added "year>2014" to the IF buy/sell conditions so it will only backtest from 2015 and beyond ** .
I also had a problem with the standard MACD trading late, per se. To that end I modified the inputs for fast/slow/signal to double. Example: my defaults are 10, 21, 10 so I put 20, 42, 20 in. This has the effect of making a 30min interval the same as 1 hour at 10,21,10. So if you want to backtest at 4hr, you would set your time interval to 2hr on the main chart. This is a handy way to make shorter time periods more useful even regardless of strategy/testing, since you can view 15min with alot less noise but a better response.
Used on BTCCNY OKcoin, with the chart set at 45 min (so really 90min in the strategy) this gave me a percent profitable of 42% and a profit factor of 1.998 on 189 trades.
Personally, I like to set the length/signals to 30,63,30. Meaning you need to triple the time, it allows for much better use of shorter time periods and the backtests are remarkably profitable. (i.e. 15min chart view = 45min on script, 30min= 1.5hr on script)
** If you want more specific time periods you need to try plugging in different bar values: replace "year" with "n" and "2014" with "5500". The bars are based on unix time I believe so you will need to play around with the number for n, with n being the numbers of bars.
Outsidebar vs Insidebar, Illusion Strategy (by ChartArt)WARNING: This strategy does not work! Please don't trade with this strategy
I'm sharing this strategy for the following three educational reasons:
1. You can easily find 100% strategies, but if they only seem to work 100% on one asset, they actually don't work at all. Therefore never backtest your strategy only on one asset, especially forward testing is useless, because it tends to repeat the old patterns. Your strategy has to work on as many different assets as possible.
2. The pyramiding of orders can have an impact on the strategy. In this case if you manually change the strategy settings by increasing it from 1 to 100 pyramiding orders changes the percent profitable on "UKOIL" monthly from 100% to 90% profitable. On other assets you can see very different results. Allowing much more pyramiding orders in this case results in opening orders where the background color highlights appear.
3. The Tradingview backtest beta version currently does not close the last open trade during the backtest. In this case going long on "UKOIL" near the top in 2011 as this strategy did would result in a big loss in 2015. But since the trade is still open and not canceled out by a new short order it still appears as if this strategy works 100% profitable. Which it doesn't.
ISM Indicator As a Strategy Here's a very easy code, plotting the ISM against the SPX. In this exercise, i wanted to see if one could use the ISM indicator only to generate buy/sell signal, and what would be the performance.
What is the ISM
The ISM Manufacturing Index monitors employment, production inventories, new orders and supplier deliveries.By monitoring the ISM Manufacturing Index, investors are able to better understand national economic conditions. When this index is increasing, investors can assume that the stock markets should increase because of higher corporate profits. The opposite can be thought of the bond markets, which may decrease as the ISM Manufacturing Index increases because of sensitivity to potential inflation.
Buy/Sell Signal
ISM above 50 usually good economic condition and vice versa when below 50 . For this code I used 48.50 as my buy/sell signal line.
Results
To test this on a longer time period, I use the SPX index instead of SPY. The results are surprisingly good. 76.92% profitability with 3.03 profit factor.
Conclusion
Investors could use the ISM with other indicators to determine better entry and exit point. I will see if combining the ISM with other custom indicators , could generate better result. Feel free to share your results here.
Cheers
Algo.
MACD + SMA 200 Strategy (by ChartArt)Here is a combination of the classic MACD (moving average convergence divergence indicator) with the classic slow moving average SMA with period 200 together as a strategy.
This strategy goes long if the MACD histogram and the MACD momentum are both above zero and the fast MACD moving average is above the slow MACD moving average. As additional long filter the recent price has to be above the SMA 200. If the inverse logic is true, the strategy goes short. For the worst case there is a max intraday equity loss of 50% filter.
Save another $999 bucks with my free strategy.
This strategy works in the backtest on the daily chart of Bitcoin, as well as on the S&P 500 and the Dow Jones Industrial Average daily charts. Current performance as of November 30, 2015 on the SPX500 CFD daily is percent profitable: 68% since the year 1970 with a profit factor of 6.4. Current performance as of November 30, 2015 on the DOWI index daily is percent profitable: 51% since the year 1915 with a profit factor of 10.8.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
CamarillaStrategy -V1 - H4 and L4 breakout - exits addedExits added using trailing stops.
2.6 Profit Factor and 76% Profitable on SPY , 5M - I think it's a pretty good number for an automated strategy that uses Pivots. I don't think it's possible to add volume and day open price in relation to pivot levels -- that's what I do manually ..
Still trying to add EMA for exits.. it will increase profitability. You can play in pinescript with trailing stops entries..
Ramen & OJ V1Ramen & OJ V1 — Strategy Overview
Ramen & OJ V1 is a mechanical price-action system built around two entry archetypes—Engulfing and Momentum—with trend gates, session controls, risk rails, and optional interval take-profits. It’s designed to behave the same way you’d trade it manually: wait for a qualified impulse, enter with discipline (optionally on a measured retracement), and manage the position with clear, rules-based exits.
Core Idea (What the engine does)
At its heart, the strategy looks for a decisive candle, then trades in alignment with your defined trend gates and flattens when that bias is no longer valid.
Entry Candle Type
Engulfing: The body of the current candle swallows the prior candle’s body (classic momentum shift).
Momentum: A simple directional body (close > open for longs, close < open for shorts).
Body Filter (lookback): Optional guard that requires the current body to be at least as large as the max body from the last N bars. This keeps you from chasing weak signals.
Primary MA (Entry/Exit Role):
Gate (optional): Require price to be above the Primary MA for longs / below for shorts.
Exit (always): Base exit occurs when price closes back across the Primary MA against your position.
Longs: qualifying bullish candle + pass all enabled filters.
Shorts: mirror logic.
Entries (Impulse vs. Pullback)
You choose how aggressive to be:
Market/Bars-Close Entry: Fire on the bar that confirms the signal (respecting filters and sessions).
Retracement Entry (optional): Instead of chasing the close, place a limit around a configurable % of the signal candle’s range (e.g., 50%). This buys the dip/sells the pop with structure, often improving average entry and risk.
Flip logic is handled: when an opposite, fully-qualified signal appears while in a position, the strategy closes first and then opens the new direction per rules.
Exits & Trade Management
Primary Exit: Price closing back across the Primary MA against your position.
Interval Take-Profit (optional):
Pre-Placed (native): Automatically lays out laddered limit targets every X ticks with OCO behavior. Each rung can carry its own stop (per-rung risk). Clean, broker-like behavior in backtests.
Manual (legacy): Closes slices as price steps through the ladder levels intrabar. Useful for platforms/brokers that need incremental closes rather than bracketed OCOs.
Per-Trade Stop: Choose ticks or dollars, and whether the $ stop is per position or per contract. When pre-placed TP is on, each rung uses a coordinated OCO stop; otherwise a single hard stop is attached.
Risk Rails (Session P&L Controls)
Session Soft Lock: When a session profit target or loss limit is hit, the strategy stops taking new trades but does not force-close open positions.
Session Hard Lock: On reaching your session P&L limit, all orders are canceled and the strategy flattens immediately. No new orders until the next session.
These rails help keep good days good and bad days survivable.
Filters & How They Work Together
1) Trend & Bias
Primary MA Gate (optional): Only long above / only short below. This keeps signals aligned with your primary bias.
Primary MA Slope Filter (optional): Require a minimum up/down slope (in degrees over a defined bar span). It’s a simple way to force impulse alignment—green light only when the MA is actually moving up for longs (or down for shorts).
Secondary MA Filter (optional): An additional trend gate (SMA/EMA, often a 200). Price must be on the correct side of this higher-timeframe proxy to trade. Great for avoiding countertrend picks.
How to combine:
Use Secondary MA as the “big picture” bias, Primary MA gate as your local regime check, and Slope to ensure momentum in that regime. That three-layer stack cuts a lot of chop.
2) Volatility/Exhaustion
CCI Dead Zone Filter (optional): Trades only when CCI is inside a specified band (default ±200). This avoids entries when price is extremely stretched; think of it as a no-chase rule.
TTM Squeeze Filter (optional): When enabled, the strategy avoids entries during a squeeze (Bollinger Bands inside Keltner Channels). You’re effectively waiting for the release, not the compression itself. This plays nicely with momentum entries and the slope gate.
How to combine:
If you want only the clean breaks, enable Slope + Squeeze; if you want structure but fewer chases, add CCI Dead Zone. You’ll filter out a lot of low-quality “wiggle” trades.
3) Time & Market Calendar
Sessions: Up to two session windows (America/Chicago by default), with background highlights.
Good-Till-Close (GTC): When ON, trades can close outside the session window; when OFF, all positions are flattened at session end and pending orders canceled.
Market-Day Filters: Skip US listed holidays and known non-full Globex days (e.g., Black Friday, certain eves). Cleaner logs and fewer backtest artifacts.
How to combine:
Run your A-setup window (e.g., cash open hour) with GTC ON if you want exits to obey system rules even after the window, or GTC OFF if you want the book flat at the bell, no exceptions.
Practical Profiles (mix-and-match presets)
Trend Rider: Primary MA gate ON, Slope filter ON, Secondary MA ON, Retracement ON (50%).
Goal: Only take momentum that’s already moving, buy the dip/sell the pop back into trend.
Structure-First Pullback: Primary MA gate ON, Secondary MA ON, CCI Dead Zone ON, Retracement 38–62%.
Goal: Filter extremes, use measured pullbacks for better R:R.
Break-Only Mode: Slope ON + Squeeze filter ON (avoid compression), Body filter ON with short lookback.
Goal: Only catch clean post-compression impulses.
Session Scalper: Tight session window, GTC OFF, Interval TP ON (small slices, short rungs), per-trade tick stop.
Goal: Quick hits in a well-defined window, always flat after.
Automation Notes
The system is built with intrabar awareness (calc_on_every_tick=true) and supports bracket-style behavior via pre-placed interval TP rungs. For webhook automation (e.g., TradersPost), keep chart(s) open and ensure alerts are tied to your order events or signal conditions as implemented in your alert templates. Always validate live routing with a small-size shakedown before scaling.
Tips, Caveats & Good Hygiene
Intrabar vs. Close: Backtests can fill intrabar where your broker might not. The pre-placed mode helps emulate OCO behavior but still depends on feed granularity.
Slippage & Fees: Set realistic slippage/commission in Strategy Properties to avoid fantasy equity curves.
Session Consistency: Use the correct timezone and verify that your broker’s session aligns with your chart session settings.
Don’t Over-stack Filters: More filters ≠ better performance. Start with trend gates, then add one volatility filter if needed.
Disclosure
This script is for educational purposes only and is not financial advice. Markets carry risk; only trade capital you can afford to lose. Test thoroughly on replay and paper before using any automated routing.
TL;DR
Identify a decisive candle → pass trend/vol filters → (optionally) pull back to a measured limit → scale out on pre-planned rungs → exit on Primary MA break or session rule. Clear, mechanical, repeatable.
New Rate - PREMIUM v2New Rate – Premium
Overview
New Rate – Premium is a breakout strategy built around a strict “one trade per day” rule. It forms an intraday range from the first N candles, freezes High/Low at the close of candle N, and places OCO stop orders exactly on those levels. The first breakout fills and the opposite order is canceled. Exits can be managed by fixed ticks or by risk/reward (RR). The script draws SL/TP boxes, keeps entry labels at a fixed distance from price, and lets you restrict trading to selected weekdays.
How it works
Window & count: set timeframe, session start, and N candles. Those candles are highlighted and used to compute the range High/Low.
Freeze: when candle N closes, the strategy locks High/Low and draws the lines; a 50% midline is optional.
OCO placement: buy-stop on High and sell-stop on Low (one-cancels-other). The first fill cancels the other side.
Exits:
– Ticks mode: SL/TP are fixed distances in ticks from entry.
– RR mode: SL at the opposite side of the range; TP = RR × risk.
Visual SL/TP boxes are drawn in both modes.
Daily lock: after the first fill, no more entries for that day.
Key features
First break only, one trade per day: hard discipline that avoids over-trading.
Automatic range end: timeframe × N candles (or manual end time).
Exact “at-the-break” entries: stop orders placed at frozen High/Low.
Flexible exits: fixed ticks or RR with opposite-side stop.
Clean visuals: High/Low and midline with configurable color/style/width; text alignment (left/center/right); session background with opacity.
SL/TP boxes: configurable colors, borders, width, and forward projection.
Entry labels with constant offset: “BUY” below bar, “SELL” above bar; distance in ticks so labels never sit on price.
Weekday filter: trade only the days you select (Mon–Fri).
Inputs (summary)
• Session & range: timeframe (minutes), start time, N candles, auto end (TF × N) or manual, line extension.
• Style: High/Low colors, styles, widths; midline on/off; label position; session background color and opacity.
• Exits: RR using the opposite extreme as SL, or “Use SL/TP by ticks”.
• SL/TP boxes: projection bars, SL color, TP color, border color and width, box limit.
• Weekdays: Monday–Friday selectors.
• Entry labels: show/hide, colors, size, vertical offset in ticks, optional X shift in bars.
Backtest snapshot — FX:XAUUSD 30m
Range: 02 Jan 2024 00:00 → 12 Sep 2025 12:00 • Symbol/TF: FX:XAUUSD / 30m
• Net Profit: $1,599.77
• Gross Profit / Gross Loss: $3,929.47 / $2,329.70
• Max Drawdown: $112.73 (4.93%)
• Total Trades / Win rate: 440 / 48.41%
• Avg Trade: $3.64 (0.04%); Avg Winner / Avg Loser: $18.45 / $10.26
• Profit Factor / Sharpe / Sortino: 1.687 / 1.163 / 6.876
• Largest Win / Loss: $91.94 / $10.26
• Avg Bars in Trade: 1 (long), 2 (short)
Why this strategy is original
First-bar breakout accuracy: orders arm exactly when the N-th candle closes, so the very next bar can fill at the true break. This avoids the common ORB miss where the first post-range bar is skipped by delayed checks or market orders.
OCO + daily lock as a core mechanic: the engine enforces one-and-done behavior—no soft rules, no hidden retries—so test results match live logic.
Two exit frameworks, one visual language: switch seamlessly between fixed-tick and structural RR exits while managing both with the same SL/TP boxes for consistent analysis and education.
Readability by design: label offset, aligned High/Low text, and tunable session background keep charts uncluttered during long optimizations or multi-asset reviews.
Operational guardrails: drawing budgets, box limits, and weekday filters are integrated so backtests remain stable and realistic with trading hours.
Focused ORB specialization: no oscillators, no hidden bias—transparent, testable, and purpose-built for the opening-range dynamic you configure.
Recommended use
• Session openings or early windows with a single, clean decision per day.
• Strict rules with exact entry levels and auditable exits.
• Benchmarking exits in both ticks and RR with apples-to-apples visuals.
Default strategy properties
• Initial capital: 10,000 USD; position sizing by % of equity (editable).
• Commissions default to 0% and slippage to 0; edit to match your broker/market.
• Drawing limits tuned to respect TradingView resource caps.
Best practices & compliance
• Educational use. Not financial advice.
• Past performance does not guarantee future results.
• Adjust slippage, commissions, and position sizing to your live context.
• Original implementation with documented mechanics; compliant with TradingView House Rules.
Example setup
TF 5m, start 08:00, N = 6 → auto end at 08:30
RR = 2 with SL at the opposite side of the range
Boxes: projection 10 bars; SL #9598a1; TP #ffbe1a; border #787B86; opacity 70
Days: Tuesday and Wednesday only
Labels: “BUY” below and “SELL” above, 10-tick offset
Glossary
• Opening range breakout (ORB): breakout of the configured initial range.
• One-cancels-other (OCO): filling one order cancels the other.
• Risk/reward (RR): target equals RR × risk distance.
• Tick: minimum price increment.
• Offset: fixed label separation from the bar extremum.
Turtle Trading System (Not Financial Advise)I am testing this script, not financial advise, but this is how it works, i hope;
How the Script Works
The script is a TradingView strategy that backtests and automates the Turtle rules. It uses two systems, a short-term S1 (20-day) and a long-term S2 (55-day), which you can select to test.
The strategy follows these core principles:
Trend Identification: The script uses Donchian Channels to identify breakouts. A new trend is signaled when the price breaks above the highest high or below the lowest low of a specified period.
Position Sizing: The script automatically calculates the size of each trade unit to ensure you risk a consistent percentage of your capital on every trade. This is based on the Average True Range (ATR), which measures volatility.
Pyramiding: When a trade moves in a profitable direction, the script will add more units at specific intervals to increase your position and ride the trend. This is how the Turtles made their big profits.
Win/Loss Condition:
A crucial rule is implemented for System 1 (S1): you only enter a trade if the previous S1 trade was a loss. If the last S1 trade was a win, you must wait for a signal from System 2 (S2).
How to Enter and Exit a Long Position
The script will automatically enter a long position when the price breaks above the highest high of the last 20 days (S1) or 55 days (S2), depending on which system you've selected.
Stop-Loss (SL): Your stop-loss is automatically placed at a distance of 2 * N (ATR) below the entry price. . This is a crucial risk management rule that limits your potential loss. The stop-loss is also plotted visually on the chart.
Exit Long: The script will close the long position automatically under two conditions:
Reversal: The price drops and closes below the lowest low of the last 10 days (S1) or 20 days (S2).
Stop-Loss Hit: The price hits your initial stop-loss, limiting your loss.
How to Enter and Exit a Short Position
Enter Short: The script will automatically enter a short position when the price breaks below the lowest low of the last 20 days (S1) or 55 days (S2).
Stop-Loss (SL): Your stop-loss is automatically placed at a distance of 2 * N (ATR) above the entry price. . This prevents large losses if the price moves against you.
Exit Short: The script will close the short position automatically under two conditions:
Reversal: The price rallies and closes above the highest high of the last 10 days (S1) or 20 days (S2).
Stop-Loss Hit: The price hits your initial stop-loss, limiting your loss.
J12Matic Builder by galgoomA flexible Renko/tick strategy that lets you choose between two entry engines (Multi-Source 3-way or QBand+Moneyball), with a unified trailing/TP exit engine, NY-time trading windows with auto-flatten, daily profit/loss and trade-count limits (HALT mode), and clean webhook routing using {{strategy.order.alert_message}}.
Highlights
Two entry engines
Multi-Source (3): up to three long/short sources with Single / Dual / Triple logic and optional lookback.
QBand + Moneyball: Gate → Trigger workflow with timing windows, OR/AND trigger modes, per-window caps, optional same-bar fire.
Unified exit engine: Trailing by Bricks or Ticks, plus optional static TP/SL.
Session control (NY time): Evening / Overnight / NY Session windows; auto-flatten at end of any enabled window.
Day controls: Profit/Loss (USD) and Trade-count limits. When hit, strategy HALTS new entries, shows an on-chart label/background.
Alert routing designed for webhooks: Every order sets alert_message= so you can run alerts with:
Condition: this strategy
Notify on: Order fills only
Message: {{strategy.order.alert_message}}
Default JSONs or Custom payloads: If a Custom field is blank, a sensible default JSON is sent. Fill a field to override.
How to set up alerts (the 15-second version)
Create a TradingView alert with this strategy as Condition.
Notify on: Order fills only.
Message: {{strategy.order.alert_message}} (exactly).
If you want your own payloads, paste them into Inputs → 08) Custom Alert Payloads.
Leave blank → the strategy sends a default JSON.
Fill in → your text is sent as-is.
Note: Anything you type into the alert dialog’s Message box is ignored except the {{strategy.order.alert_message}} token, which forwards the payload supplied by the strategy at order time.
Publishing notes / best practices
Renko users: Make sure “Renko Brick Size” in Inputs matches your chart’s brick size exactly.
Ticks vs Bricks: Exit distances switch instantly when you toggle Exit Units.
Same-bar flips: If enabled, a new opposite signal will first close the open trade (with its exit payload), then enter the new side.
HALT mode: When day profit/loss limit or trade-count limit triggers, new entries are blocked for the rest of the session day. You’ll see a label and a soft background tint.
Session end flatten: Auto-closes positions at window ends; these exits use the “End of Session Window Exit” payload.
Bar magnifier: Strategy is configured for on-close execution; you can enable Bar Magnifier in Properties if needed.
Default JSONs (used when a Custom field is empty)
Open: {"event":"open","side":"long|short","symbol":""}
Close: {"event":"close","side":"long|short|flat","reason":"tp|sl|flip|session|limit_profit|limit_loss","symbol":""}
You can paste any text/JSON into the Custom fields; it will be forwarded as-is when that event occurs.
Input sections — user guide
01) Entries & Signals
Entry Logic: Choose Multi-Source (3) or QBand + Moneyball (pick one).
Enable Long/Short Signals: Master on/off switches for entering long/short.
Flip on opposite signal: If enabled, a new opposite signal will close the current position first, then open the other side.
Signal Logic (Multi-Source):
Single: any 1 of the 3 sources > 0
Dual: Source1 AND Source2 > 0
Triple (default): 1 AND 2 AND 3 > 0
Long/Short Signal Sources 1–3: Provide up to three series (often indicators). A positive value (> 0) is treated as a “pulse”.
Use Lookback: Keeps a source “true” for N bars after it pulses (helps catch late triggers).
Long/Short Lookback (bars): How many bars to remember that pulse.
01b) QBands + Moneyball (Gate -> Trigger)
Allow same-bar Gate->Trigger: If ON, a trigger can fire on the same bar as the gate pulse.
Trigger must fire within N bars after Gate: Size of the gate window (in bars).
Max signals per window (0 = unlimited): Cap the number of entries allowed while a gate window is open.
Buy/Sell Source 1 – Gate: Gate pulse sources that open the buy/sell window (often a regime/zone, e.g., QBands bull/bear).
Trigger Pulse Mode (Buy/Sell): How to detect a trigger pulse from the trigger sources (Change / Appear / Rise>0 / Fall<0).
Trigger A/B sources + Extend Bars: Primary/secondary triggers plus optional extension to persist their pulse for N bars.
Trigger Mode: Pick S2 only, S3 only, S2 OR S3, or S2 AND S3. AND mode remembers both pulses inside the window before firing.
02) Exit Units (Trailing/TP)
Exit Units: Choose Bricks (Renko) or Ticks. All distances below switch accordingly.
03) Tick-based Trailing / Stops (active when Exit Units = Ticks)
Initial SL (ticks): Starting stop distance from entry.
Start Trailing After (ticks): Start trailing once price moves this far in your favor.
Trailing Distance (ticks): Offset of the trailing stop from peak/trough once trailing begins.
Take Profit (ticks): Optional static TP distance.
Stop Loss (ticks): Optional static SL distance (overrides trailing if enabled).
04) Brick-based Trailing / Stops (active when Exit Units = Bricks)
Renko Brick Size: Must match your chart’s brick size.
Initial SL / Start Trailing After / Trailing Distance (bricks): Same definitions as tick mode, measured in bricks.
Take Profit / Stop Loss (bricks): Optional static distances.
05) TP / SL Switch
Enable Static Take Profit: If ON, closes the trade at the fixed TP distance.
Enable Static Stop Loss (Overrides Trailing): If ON, trailing is disabled and a fixed SL is used.
06) Trading Windows (NY time)
Use Trading Windows: Master toggle for all windows.
Evening / Overnight / NY Session: Define each session in NY time.
Flatten at End of : Auto-close any open position when a window ends (sends the Session Exit payload).
07) Day Controls & Limits
Enable Profit Limits / Profit Limit (Dollars): When daily net PnL ≥ limit → auto-flatten and HALT.
Enable Loss Limits / Loss Limit (Dollars): When daily net PnL ≤ −limit → auto-flatten and HALT.
Enable Trade Count Limits / Number of Trades Allowed: After N entries, HALT new entries (does not auto-flatten).
On-chart HUD: A label and soft background tint appear when HALTED; a compact status table shows Day PnL, trade count, and mode.
08) Custom Alert Payloads (used as strategy.order.alert_message)
Long/Short Entry: Payload sent on entries (if blank, a default open JSON is sent).
Regular Long/Short Exit: Payload sent on closes from SL/TP/flip (if blank, a default close JSON is sent).
End of Session Window Exit: Payload sent when any enabled window ends and positions are flattened.
Profit/Loss/Trade Limit Close: Payload sent when daily profit/loss limit causes auto-flatten.
Tip: Any tokens you include here are forwarded “as is”. If your downstream expects variables, do the substitution on the receiver side.
Known limitations
No bracket orders from Pine: This strategy doesn’t create OCO/attached brackets on the broker; it simulates exits with strategy logic and forwards your payloads for external automation.
alert_message is per order only: Alerts fire on order events. General status pings aren’t sent unless you wire a separate indicator/alert.
Renko specifics: Backtests on synthetic Renko can differ from live execution. Always forward-test on your instrument and settings.
Quick checklist before you publish
✅ Brick size in Inputs matches your Renko chart
✅ Exit Units set to Bricks or Ticks as you intend
✅ Day limits/Windows toggled as you want
✅ Custom payloads filled (or leave blank to use defaults)
✅ Your alert uses Order fills only + {{strategy.order.alert_message}}
ORB Strategy W/ Confluence This is an Opening Range Breakout (ORB) strategy designed for intraday trading on futures or indices (e.g., MNQ, MES, ES). It identifies the opening range (default 30-minute session from 9:30-10:00 ET) and enters long on a bullish breakout above the range high (ORH) or short below the range low (ORL), with optional daily bias filtering. Targets are set as multiples of the range width (default 50% per level), with partial profit-taking at each hit level. Stop-loss is dynamically set based on a factor of the range width (default 1.0x full range). Optional confluence filters (RSI >70 for long/<30 for short, price above/below 200 EMA, Williams Vix Fix above/below 0.3, or following previous day's close color) can be enabled for entry confirmation. Position sizing is fixed (default 10 contracts), with an option to double after a losing day. Entries are restricted to a user-defined session (default 8:00-17:00), and all positions close at a specified time (default 16:00 ET) to comply with prop firm rules.
Key Parameters to Test:
Instrument/Timeframe: Test on 5-min or 1-min charts for MNQ/MES/ES futures (e.g., tick value 0.5 for MNQ, 1.25 for MES).
Core Settings: OR timeframe=30m, Target %=50, SL Factor=1.0, TP % Remaining=20 (for partial closes). Enable/disable bias ("Daily Bias" for conservative entries).
Filters: Start with all off; test enabling RSI (len=14, level=50, offset=20), EMA (len=200), WVF (period=22, thresh=0.3), and Prev Day Trend individually/combined to see impact on win rate/false signals.
Risk/Sizing: Fixed contracts=10; test double sizing after loss. For risk-based sizing, adjust to use equity risk % (e.g., 1%) and tick value.
Time Rules: Entry session=0800-1700, Exit=16:00; test on NY session data.
Expected Behavior & Test Focus:
Entry Logic: Long signal on close crossover ORH (or ORH + target1 if bearish bias); short on crossunder ORL. Expect 1-2 trades per day, filtered by confluence to reduce whipsaws.
Exits: SL at ORL - factor*range for long (vice versa for short); partial TP at each target level (e.g., 20% of position at T1, reducing thereafter). Full close at 4 PM if open.
Backtest Metrics: Aim for >50% win rate, positive expectancy over 1-2 years (e.g., 2023-2025 NY session data). Monitor drawdown (<10%), profit factor (>1.5), and Sharpe ratio. Test sensitivity to volatility (e.g., high-vol days may hit more targets but risk larger SL). Visuals: OR box, dashed targets/SL lines, signals (▲/▼).
Edge Cases: Test on low-vol days (tight range, fewer breakouts); gaps; after news events. Ensure no over-entries (pyramiding=0) and daily reset works.
This setup emphasizes disciplined intraday breakouts with risk control—backtest on historical data to validate profitability before live use.
Liquidity Sweep Breakout - LSBLiquidity Sweep Breakout - LSB
A professional session-based breakout system designed for OANDA:USDJPY and other JPY pairs.
Not guesswork, but precision - built on detailed observation of institutional moves to capture clear trade direction daily.
Master the Market’s Daily Bank Flow.
---
Strategy Detail:
I discovered this strategy after carefully studying how Japanese banks influence the forex market during their daily settlement period. Banks are some of the biggest players in the financial world, and when they adjust or settle their accounts in the morning, it often creates a push in the market. From years of observation, I noticed a consistent pattern, once banks finish their settlements, the market usually continues moving in the same direction that was formed right after those actions. This daily banking flow often sets the tone for the entire trading session, especially for JPY pairs like USDJPY.
To capture this move, I built the indicator so that it follows the bank-driven trend with clear rules for entries, stop-loss (SL), and take-profit (TP). The system is designed with professional risk management in mind. By default, it assumes a $10,000 account size, risks only 1% of that balance per trade, and targets a 1:1.5 reward-to-risk ratio. This means for every $100 risked, the potential profit is $150. Such controlled risk makes the system safer and more sustainable for long-term traders. At the same time, users are not limited to this setup, they can adjust the account balance in the settings, and the indicator will automatically recalculate the lot size and risk levels based on their own capital. This ensures the strategy works for small accounts and larger accounts alike.
🌍 Why It Works
Fundamentally driven: Based on **daily Japanese banking settlement flows**.
Session-specific precision: Targets the exact window when USDJPY liquidity reshapes.
Risk-managed: Always calculates lot size based on account and risk preferences.
Automatable: With webhook + MT5 EA, it can be fully hands-free.
---
✅ Recommended
Pair: USDJPY (best observed behavior).
Timeframe: 3-Minute chart.
Platform: TradingView Premium (for webhooks).
Execution: MT5 via EA.
---
🔎 Strategy Concept
The Tokyo Magic Breakout (TMB) is built on years of session observation and the unique daily rhythm of the Japanese banking system.
Every morning between 5:50 AM – 6:10 AM PKT (09:50 – 10:10 JST), Japanese banks perform daily reconciliation and settlement. This often sets the tone for the USDJPY direction of the day.
This strategy isolates that critical moment of liquidity adjustment and waits for a clean breakout confirmation. Instead of chasing noise, it executes only when price action is aligned with the Tokyo market’s hidden flows.
---
🕒 Timing Logic
Session Start: 5:00 AM PKT (Tokyo market open range).
Magic Candle: The 5:54 AM PKT candle is marked as the reference “breakout selector.”
Checkpoints: First confirmation at 6:30 AM PKT, then every 15 minutes until 8:30 AM PKT.
* If price stays inside the magic range → wait.
* If a breakout happens but the candle wick touches the range → wait for the next checkpoint.
* If by 8:30 AM PKT no clean breakout occurs → the day is marked as No Trade Day (NTD).
👉 Recommended timeframe: 3-Minute chart (3M) for precise signals.
---
📈 Trade Execution
Entry: Clean break above/below the magic candle’s range.
Stop-Loss: Opposite side of the Tokyo session high/low.
Take-Profit: Calculated by Reward\:Risk ratio (default 1.5:1).
Lot Size: Auto-calculated based on your risk model:
* Fixed Dollar
* % of Equity
* Conservative (minimum of both).
Visuals include:
✅ Entry/SL/TP lines
✅ Shaded risk (red) and reward (green) zones
✅ Trade labels (Buy/Sell with lot size & levels)
✅ TP/SL hit markers
---
🔔 Alerts & Automation (AutoTMB)
This strategy is fully automation-ready with EA + MT5:
1. Enable alerts in TMB settings.
2. Insert your PineConnector License Key.
3. Configure your risk management preferences.
4. Create a TradingView alert → in the message box simply type:
Pine Script®
{{alert_message}}
and set the EA webhook.
Now, every breakout trade (with exact entry, SL, TP, and lot size) is sent instantly.
👉 On your MT5:
* Install the EA.
* Use the same license key.
* Run it on a VPS or local MT5 terminal.
You now have a hands-free trading system: AutoTMB.
BRT T3 for BTC 1h [STRATEGY]## 📊 BRT T3 Adaptive Strategy for BTC 1H
STRATEGY DESCRIPTION
Professional trading strategy based on the adaptive T3 (Tillson T3) indicator with dynamic length controlled by the Relative Strength Index (RSI) . The strategy is specifically designed for Bitcoin trading on the hourly timeframe and includes a comprehensive filter system to minimize false signals.
═════════════════════════════════════════
🔥 UNIQUE CODE FEATURES
1. RSI-Adaptive Architecture:
• Innovative Approach: Unlike standard MA strategies with fixed periods, our code dynamically adjusts the moving average length based on RSI
• Smart Formula: len = minLen + (maxLen - minLen) * (1 - RSI/100) - automatically accelerates response in extreme zones
• Result: Strategy adapts to market conditions without manual reconfiguration
2. Modified Ichimoku Cloud:
• Unique Calculation: Instead of classic high/low, uses ATR-based method
• Dynamic Levels: Cloud is built based on volatility, not fixed periods
• Advantage: More accurate trend determination in highly volatile cryptocurrency markets
3. Hybrid Signal System:
• Dual-mode Generation: Switch between classic MA crossovers and volatility band breakouts
• Multi-stage Confirmation: Optional signal verification across N forward bars
• Effect: 40-60% reduction in false signals compared to simple MA strategies
4. All-in-One Solution:
• 8 MA Types in One Code: The only strategy on TradingView with complete implementation of T3, EMA, SMA, WMA, VWMA, HMA, RMA, DEMA
• Custom Functions: All MAs calculated through custom functions supporting series int
• Versatility: One code replaces 8 different strategies
5. Intelligent Filtering:
Combination of 4 independent filters:
├── Volume Filter (dynamic multiplier)
├── Trend Filter (adaptive period)
├── ATR Filter (volatility)
└── Ichimoku Filter (cloud trend)
• Unique Logic: Each filter can work independently or in combination
• Master Switch: Single control for all filters
6. Advanced Risk Management:
• Smart Stops: SL/TP levels are stored in variables and not recalculated on every bar
• Slippage Protection: Checks both close and high/low for stop triggers
• Visualization: Dynamic display of levels only for active positions
7. Performance Optimization:
• Efficient Loops: Minimized calculations through intermediate result storage
• Conditional Visualization: Element rendering only when necessary
• Clean Code: Structured organization with clear logical block separation
═════════════════════════════════════════
💎 TECHNICAL INNOVATIONS
Adaptation Algorithm (exclusive development):
// Dynamic length based on RSI
rsi_scale = 1.0 - rsi / 100.0
len_adaptive = minLen + (maxLen - minLen) * rsi_scale
ATR-based Ichimoku (unique modification):
// Instead of classic (highest + lowest) / 2
// Using ATR for dynamic levels
upper := close < upper ? min(hl2 + atr*mult, upper ) : hl2 + atr*mult
lower := close > lower ? max(hl2 - atr*mult, lower ) : hl2 - atr*mult
Multi-MA Architecture (complete implementation):
• Each MA type has its own optimized function
• Support for series int for dynamic length
• Unified selection interface via switch statement
═════════════════════════════════════════
🎯 KEY FEATURES
• Adaptive System: Moving average length automatically adjusts based on RSI, providing quick response in trending movements and stability in sideways markets
• 8 Moving Average Types: T3, EMA, SMA, WMA, VWMA, HMA, RMA, DEMA - ability to choose the optimal type for different market conditions
• Multi-level Filtering:
- Volume Filter - signal confirmation with increased activity
- Trend Filter - trading in the direction of the main trend
- ATR Filter - accounting for market volatility
- Ichimoku Cloud - additional trend direction confirmation
• Professional Risk Management: Customizable stop-loss and take-profit levels
═════════════════════════════════════════
⚙️ HOW IT WORKS
1. Signal Generation:
• Original Mode: Classic MA crossover signals with lagged version
• Band Break Mode: Volatility band breakouts (based on standard deviation)
2. RSI Adaptation:
• High RSI (overbought) → uses short MA length for quick response
• Low RSI (oversold) → uses long MA for noise smoothing
• Adaptation range is configured by Min/Max length parameters
3. Filter System:
• Each filter can be enabled/disabled independently
• Signal is generated only when passing all active filters
• Ichimoku filter blocks counter-trend trades
═════════════════════════════════════════
📈 STRATEGY PARAMETERS
Main Settings:
• Strategy Type: Long Only / Short Only / Both
• Data Source: Close, Open, High, Low, HL2, HLC3, OHLC4
RSI Settings:
• RSI Length: Calculation period (default 14)
• RSI Smoothing: Smoothing to reduce noise
T3/MA Settings:
• Min/Max Length: Adaptive length range (5-50)
• Volume Factor: T3 smoothing coefficient (0.7)
• MA Type: Moving average type selection
Filters:
• Volume Filter: Volume multiplier (1.5x average)
• Trend Filter: Trend MA period (200)
• ATR Filter: Minimum volatility for entry
• Ichimoku Filter: Cloud for trend determination
Risk Management:
• Stop Loss: Percentage from entry price (1.2%)
• Take Profit: Percentage from entry price (5.9%)
• Position Size: 50,000 USDT (effective leverage 5x)
═════════════════════════════════════════
💡 USAGE RECOMMENDATIONS
Optimal Conditions:
• Timeframe: 1H (developed and optimized)
• Instrument: BTC/USDT and other liquid cryptocurrencies
• Market Conditions: Trending and moderately volatile markets
Customize to Your Style:
1. Conservative: Increase signal confirmation period, enable all filters
2. Aggressive: Reduce filters, use Band Break mode
3. Scalping: Decrease Min/Max length, disable trend filter
═════════════════════════════════════════
📊 VISUALIZATION
Strategy displays:
• Main MA Line - changes color depending on direction
• Lag Line - for visualizing crossover moment
• Volatility Bands - upper and lower boundaries
• Trend MA - orange line (200 periods)
• SL/TP Levels - red and green lines for open positions
═════════════════════════════════════════
🔔 ALERTS
Strategy supports alert configuration for:
• Long position entry signals
• Short position entry signals
• Position exit signals
• Ichimoku line crossings
═════════════════════════════════════════
⚠️ RISK WARNING
IMPORTANT NOTICE: Trading in financial markets involves substantial risk of capital loss. Past performance presented in this strategy is based solely on historical data and under no circumstances constitutes a guarantee of future returns.
The strategy author is not responsible for:
• Any direct or indirect financial losses resulting from the use of this strategy
• Trading decisions made based on strategy signals
• Interpretation of backtesting results as a forecast of future performance
This strategy is provided exclusively for educational and research purposes. Backtesting results are affected by numerous factors including but not limited to: slippage, spread, commissions, market liquidity, and technical failures.
Before using the strategy in live trading:
• Conduct your own testing on a demo account
• Ensure understanding of all parameters and logic
• Only use funds you can afford to lose
• Consider consulting with a qualified financial advisor
DISCLAIMER: By using this strategy, you acknowledge and accept all risks associated with financial market trading and confirm that the author does not provide investment advice and bears no fiduciary responsibility to users.
═════════════════════════════════════════
🛠 TECHNICAL SUPPORT
For questions about setup and optimization:
• Leave comments under the publication
• Follow strategy updates
• Study the code for deep understanding of logic
═════════════════════════════════════════
📝 VERSION AND UPDATES
Version: 1.0.0
Pine Script: v6
Last Updated: 2025
Changelog:
• Added support for 8 MA types
• Integrated Ichimoku Cloud filter
• Optimized risk management system
• Improved signal visualization
═════════════════════════════════════════
© 2025 BRT Trading Systems
Strategy is protected by copyright. Commercial use without author's permission is prohibited.
ETH/BTC/XRP Strategy - Powered by BCHETH/BTC/XRP Strategy — Cross-Asset Momentum-Based Strategy
Overview
This strategy aims to identify medium-term long trade opportunities on ETH/BTC/XRP 2 or 4 hour charts by leveraging cross-asset momentum signals from Bitcoin Cash (BCH) relative to Ethereum (ETH). It integrates volatility filters, volume validation, and momentum confirmations to improve trade timing and risk management.
Key Features and Logic
Cross-Asset Momentum Filter: Enters long trades when BCH outperforms ETH in the prior candle, supporting relative strength confirmation.
Volume Confirmation: BCH volume must exceed 135% of its 20-period average, validating market interest before entry signals.
Volatility Filter: ETH price near or below 110% of the lower Bollinger Band (20 periods, 2σ) indicates oversold conditions.
Momentum Indicators: ETH RSI below 70 ensures the asset is not overbought, coupled with BCH MACD line crossing above its signal line for bullish bias.
Risk Controls: Includes trailing stop losses and take profit targets to protect gains and limit drawdowns.
Timing Constraints: Controlled cooldown periods between trades help prevent overtrading and false signals.
Usage Recommendations
Optimized for 2 or 4hour ETH/BTC/XRP USDT candles; 5-minute data optionally used for finer entries and exits.
Suitable for traders seeking dynamic timing based on multi-asset interactions rather than blind holding.
Works as a complement within diversified or rotational strategies focusing on Ethereum exposure.
Performance Summary (Backtest Jan 2023 – Jul 2025) ; ETHUSDT 2hour basis.
Total trades: 65
Win rate: 61.5%
Profit factor: 5.1
Note: The sample size is limited; results should be interpreted with caution. Past performance is not indicative of future results.
Important Notes
This script represents an original combination of cross-asset momentum with volatility and volume filters tailored to ETH and BCH interaction.
Source code is protected to safeguard unique implementation details while allowing free usage without restrictions.
Use appropriate risk management, and consider these signals as part of a broader trading analysis.
No guarantees on profitability; trading involves significant risk.
Fundamental Strategy - anuragmundraFundamental Score Based Backtest
This strategy combines fundamental analysis with automated backtesting to help identify long-term investment opportunities. Instead of relying only on price action or technical indicators, it evaluates the financial health of a company and generates simulated BUY/SELL signals accordingly.
🔑 Key Parameters Considered:
Price-to-Earnings (P/E Ratio): Ensures the stock is not overpriced.
Return on Equity (ROE): Indicates efficiency of management and business profitability.
Debt-to-Equity Ratio (D/E): Evaluates leverage and financial risk.
Revenue Growth (YoY): Shows business expansion and demand.
EPS Growth: Reflects consistent profit generation for shareholders.
Sales Growth: Confirms topline improvement.
Profit Growth: Measures bottom-line strength.
✅ Buy Condition
When the fundamental score ≥ 70/100, the strategy enters a long position.
Score is based on meeting/exceeding thresholds for P/E, ROE, Revenue Growth, EPS Growth, Sales Growth, Profit Growth, and Debt-to-Equity.
❌ Sell/Exit Condition
When the score falls below 70, the position is closed.
⚡ How to Use
Designed for medium to long-term investors who prefer fundamentally strong companies.
Can be run in the Strategy Tester to evaluate the historical performance of any stock.
Suitable as a stock-picking filter rather than a short-term trading system.
📊 Notes
Some ratios (like ROE) are based on annual values (FY), while others (EPS, Revenue, Net Income) use TTM for recency.
Not all symbols/exchanges provide full fundamental data. If data is missing, some metrics may show as N/A.
⚠️ Disclaimer: This is an educational tool for research and backtesting only. It is not financial advice. Always combine with your own due diligence before making investment decisions.
Triple Momentum Strategy: #NIFTY Futures # High Winrate 🚀 Triple Momentum Strategy – Smart Automation for Working Professionals
This system is designed for job holders who want to invest and trade using a proven, back tested strategy without needing to sit in front of charts all day.
📢 Need auto-trade alerts?
A dedicated **indicator version with real-time BUY/SELL/EXIT alerts** is available to this code same strategy script
Access will be provided upon request. DM @ here in message trade view or @@ pharsha8676@gmail.com @@@ to get it.
📈 **Proven Backtest Performance (Verified by Strategy Tester):**
- ✅ Net Profit: ₹8,16,588.75
- ✅ Win Rate: 90.0% (314 out of 349 trades)
- ✅ Profit Factor: 3.15
- ✅ Max Drawdown: ₹49,132.50
- ✅ Backtest Duration: 1 Year
- ✅ Annualized Return: 81.4%
💡 **Key Features:**
- 🔁 **Non-Repainting Signals** – What you see in back test is what you get in live charts
- ⚡ **Real-Time Ready** – Signals fire on bar close with excellent precision
- 🧠 Triple Momentum Engine
- 🎯 Works best on **15-minute timeframe (Index Nifty Futures)**
- 🔎 Clean BUY / SELL / EXIT logic, optimized for high-probability trades
- 📊 Verified with TradingView’s built-in strategy tester
📌 **Important Notes:**
- 🟢 Signals are real-time & backtest-matching (normal 1–2 pt slippage can occur its normal )
- 🧪 This tool has been **extensively tested**, and results shown are from actual backtests on TradingView
- 🔒 **Access is invite-only to maintain signal quality and avoid misuse*
Your preferred trading style (manual or auto)
👀 Limited access spots available.
🔐 This script is part of a carefully curated library used by serious traders.
🛡️ Note: This tool is shared for research and educational purposes. It is not financial advice. Use at your own discretion.
#MomentumStrategy #TradingEdge #InviteOnly #Index Nifty Futures #NIFTYFutures #AlgoTrading #Strategy # winrate best #BEST Strategy
BDNS ORB Strategy v3BDNS Opening Range Breakout Strategy
What This Strategy Does This strategy implements an Opening Range Breakout (ORB) system that identifies the high and low prices during a customizable opening period, then trades breakouts above or below these levels with momentum confirmation. The strategy goes beyond basic ORB concepts by incorporating ADX momentum filtering, VWAP directional bias, dynamic position sizing, and sophisticated exit management including breakeven moves and trailing stops.
Core Strategy Logic
Opening Range Definition: The strategy tracks price action during a user-defined opening period (default: 9:30-9:35 AM ET for 5 minutes). During this time, blue horizontal lines appear marking the session high and low. A yellow background highlights this opening range period.
Breakout Detection: After the opening range completes, green and red horizontal lines appear showing the actual entry levels - these are offset from the range boundaries by a configurable number of ticks (default: 24 ticks) to filter out false breakouts and ensure committed moves.
Entry Conditions: Trades trigger when price breaks through these offset levels during the trading window (green background, default until 10:30 AM ET), but only when:
ADX momentum indicator exceeds threshold (default 24.0) in the breakout direction
Price relationship to VWAP confirms directional bias (when VWAP filter enabled)
Daily trade limits haven't been reached
Large range filtering conditions are met
Visual Elements and Usage
Range Lines: Blue lines show the actual opening range boundaries. These appear immediately when the opening session begins.
Entry Levels: Green (long) and red (short) lines show where trades will trigger, appearing after the opening range completes.
Information Table: A data table appears in the top-right showing real-time strategy status including range size in ticks, ADX readings, filter status, trade counts, and momentum conditions.
Position Management:
When in a trade, colored circles appear showing:
Lime circles: Long position targets (T1, T2, T3)
Orange circles: Short position targets
Red circles: Stop loss levels
Blue crosses: Breakeven levels (when that feature activates)
Purple lines: Trailing stop levels (when position 3 trailing activates)
Background Colors:
Yellow: Opening range session active
Green: Trading window active
Purple: Large range day detected
Gray: Large range day being skipped
Position Management System
The strategy uses a three-tier exit approach:
Position 1: Takes partial profits at first target (default 50% of range size)
Position 2: Exits at second target (default 100% of range size)
Position 3: Either exits at third target or uses trailing stop after Position 2 wins
Breakeven Feature: When enabled and price reaches the breakeven trigger level, all stop losses move to a more favorable breakeven level instead of the original stop, protecting against giving back profits.
Trailing Stop System: After Position 2 hits its target, Position 3 automatically switches to a trailing stop that moves in the trader's favor as price continues trending.
Customization for Different Instruments
The default settings are configured for MNQ (Micro NASDAQ futures) but the ORB concept is highly customizable for any futures instrument and timeframe. Range duration, breakout offsets, and filter thresholds should be adjusted based on the specific instrument's volatility characteristics and typical intraday patterns.
Filter Usage Guidelines
ADX Momentum Filter: Essential for avoiding breakouts during consolidation. Higher thresholds (30+) for trending markets, lower (20-25) for more opportunities.
VWAP Filter: Helpful in trending conditions but may reduce trade frequency. Better to disable during range-bound or mean-reverting periods.
Large Range Filter: Critical risk management tool. When the opening range exceeds your threshold:
Skip: Avoids trades when stops would be too large
Fade: Trades mean reversion back into the range
Trade: Takes breakouts regardless (higher risk)
Range Size Considerations: Setting a large range threshold (200-400 ticks) helps avoid days when both sides of the range get tested before any meaningful breakout occurs, which often leads to whipsaws.
Risk Management Features
Dynamic Stops and Targets: All exit levels scale with the opening range size, ensuring risk/reward remains consistent regardless of daily volatility. A 100-tick range day will have proportionally smaller stops than a 300-tick range day.
Position Sizing: Configure contract amounts for each position tier based on account size and risk tolerance.
Daily Trade Limits: Prevents overtrading by limiting trades per direction per day.
Breakout Offset: The tick offset from range boundaries is crucial - too small creates false signals, too large misses good moves. Test different values based on your instrument's typical noise levels.
Advanced Features
Large Third Target: Set Target 3 to 300-500% to essentially hold runners indefinitely, using the trailing stop as the primary exit method for capturing extended trends.
Fade Trading: On large range days, the strategy can trade mean reversion when initial breakouts fail, often providing good counter-trend opportunities.
Time-Based Exits: All positions close at the end of the trading window, preventing overnight risk.
Strategy Properties Used
Initial Capital: $5,000 (realistic for micro contract trading)
Commission: $0.50 per contract (realistic retail rates)
Position Size: 100% of equity (manages risk through contract quantities and stop placement)
Default quantities: 3/1/1 contracts across the three positions
The default settings assume larger account sizes or proprietary trading firm accounts where higher risk tolerance is acceptable. With MNQ at $0.50 per tick, a typical 200-tick opening range with 75% stop loss (150 ticks) would risk $375 on a 5-contract position. For smaller retail accounts, consider reducing position sizes significantly - using only Position 1 (3 contracts) would risk $225, or even reducing to 1-2 total contracts to maintain appropriate risk levels relative to account size.
Getting Started Apply the strategy to your preferred instrument
Adjust the opening range time and duration for your market
Set appropriate breakout offset based on typical noise levels
Configure large range threshold based on your risk tolerance
Test filter combinations to find what works best for your trading style
Adjust contract quantities based on your account size and risk management rules
The strategy works best on liquid instruments with clear opening sessions and sufficient volatility to generate meaningful ranges. Results will vary significantly based on market conditions, parameter settings, and the specific instrument traded.
I warrant that the information created and published by by me here on TradingView is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors.