TradingView
X4815162342
20 Mar 2023 pukul 06.24

X48 - Strategy | BreakOut & Consecutive (11in1) + Alert | V.1.2 

Bitcoin / U.S. dollarBitstamp

Deskripsi

================== Read This First Before Use This Strategy ==============
*********** Please be aware that this strategy is not a guarantee of success and may lead to losses.
*********** Trading involves risk and you should always do your own research before making any decisions.


================= Thanks Source Script and Explain This Strategy ===================
► Description
Write a detailed and meaningful description that allows users to understand how your script is original, what it does, how it does it and how to use it

This Strategy Are Combine [3] Strategy and [8] Indicators [1] Alert Function For Systematic Trading User.
[3] Strategy List, Thanks For Original Source Script [1],[2] From Tradingview Build-in Script [3] From fmzquant Github
// [3.1] Channel BreakOut Strategy : Calculate BreakOut Zone For Buy and Sell.
// [3.2] Consecutive Bars UP/Down Strategy : The consecutive bars up/down strategy is a trading strategy used to identify potential buy and sell signals in the stock market. This strategy involves looking for a series of bars (or candles) that are either all increasing or all decreasing in price. If the bars are all increasing, it can be a signal to buy, and if the bars are all decreasing, it can be a signal to sell. This strategy can be used on any timeframe, from a daily chart to an intraday chart.
// [3.3] 15m Range Length SD : Range Of High and Low Candle Price and Lookback For Calculate Buy and Sell.
[8] Indicators Are Simple Source Script (Almost I'm Chating With CHAT-GPT and Convert pinescript V4 to V5 again for complete almost script and combine after)
// [8.1] SwingHigh and SwingLow Plot For SL (StopLoss by Last Swing).
// [8.2] Engulfing and 3 Candle Engulfing Plot.
// [8.3] Stochastic RSI for Plot and Fill Background Paint and Plot TEXT For BULL and BEAR TREND.
// [8.4] MA TYPE MODE are plot 2 line of MA Type (EMA, SMA, HMA, WMA, VWMA) for Crossover and Crossunder.
// [8.5] Donchian Fans MODE are Plot Dot Line With Triangle Degree Bull Trend is Green Plot and Bear Trend is Red Plot.
// [8.6] Ichimoku Cloud Are Plot Cloud A-B For Bull and Bear Trend.
// [8.7] RSI OB and OS for TEXT PLOT 'OB' , 'OS' you will know after OB and OS, you can combo with other indicators that's make you know what's the similar trend look like?
// [8.8] MACD for Plot Diamond when MACD > 0 and MACD < 0, you can combo with other indicators that's make you know what's the similar trend look like?
[1] Alert Can Alert Sent When Buy and Sell or TP and SL, you can adjust text to alert sent by your self or use default setting.

========== Let'e Me Explain How To Use This Strategy =============

========== Properties Setting ==========
// Capital : Default : 1,000 USDT For Alot Of People Are Beginner Investor = It's Capital Your Cash For Investment
// Ordersize : Default Are Setting 5% / Order [It's Mean 5% From 1,000] We Call Compounded

========== INPUT Setting ==========
// First Part Use Must Choose Checkbox For Use [1] of [3] Strategy and Choose TP/SL by Swing or % (can choose both)
// In Detail Of Setting Are Not Too Much, Please Read The Header Of Setting Before Change The Value
// For The Indicator In List You Want To Add Just Check ✅ From MODE Setting, It's Show On Your Chart
// You Can Custom TP/SL % You Want

========== ##### No trading strategy is guaranteed to be 100% successful. ###### =========
For Example In My Systematic Trading
  • Select 1/3 Strategy Setting TP/SL % Match With Timeframe TP Long Are Not Set It's Can 161.8 - 423.6% but Short Position Are Not Than 100% Just Fine From Your Aset
  • Choose Indicators For Make Sure Trend and Strategy are the same way like Strategy are Long Position but MACD and Sto background is bear. that's mean this time not open position.
  • Donchian Fans is Simple Support and Ressistant If You Don't Know How To Plot That's, This indicator plot a simple for you ><.
  • Make Sure With Engulfing and 3 Candle Engulfing If You Don't Know, What's The Engulfing, This Indicator are plot for you too ><.
  • For a Big Trend You can use Ichimoku Cloud For Check Trend, Candle Upper Than Cloud or Lower Than Cloud for Bull and Bear Trend.

Catatan Rilis

Update V1.3
- Trailing Stop By ATR

Catatan Rilis

Update To V.2
== ADD [2] SIMPLE STRATEGY ==
  • * MA TYPE CROSS OVER AND CROSS UNDER = (EMA, SMA, WMA, HMA, VWMA)
    * MACD CROSS OVER AND CROSS UNDER


== CONFIRM MODE ==
  • * CONFIRM BY MACD = (CONFIRM BY MACD > , < 0)
    * CONFIRM BY STOCHASTIC RSI = (STO FAST/SLOW > , < 0)
    * CONFIRM BY MA CROSS X = (CONFIRM BY FAST/SLOW > , < 0)
    * CONFIRM BY ICHIMOKU [TENKAN&KIJUN] = (CONFIRM BY TENKAN/KIJUN > , < 0)


== TAKE PROFIT & STOPLOSS & TRAILING STOP MODE ==
  • * ATR TRAILING STOP FOR TP/SL
    * CALLBACK RATE [%] FROM LAST HIGH AND LOW ## ??? (SIMILAR BINANCE CALLBACK BUT CAN CUSTOMIZE % YOU WANT)


== OTHER ==
* GROUP HEADER
* ADD SYMBOL FOR HEADER
* EDIT TEXT WHEN LONG AND SHORT POSITION
* EDIT TEXT WHEN CONFIRM MODE
* ALERT FOR BOT CAN ADJUST AND EDIT TEXT
* ADD TIMES FOR BACKTEST

Catatan Rilis

Update 2.1
- Plot 15m High/Low (Enable/Disable)

Catatan Rilis

Update Version 2.2
- Add Plot BreakOut Line Length [Enable/Disable]

Catatan Rilis

Update V2.3

  • Add Spot Mode - [Buy Only]
  • Add TRENDLOCK Confirm Mode
    [**] [LONG POSITION]
    [***] MACD > 0
    [***] MA FAST > SLOW

    [**] SHORT POSITION
    [***] MACD < 0
    [***] MA FAST < SLOW

    * Fix Some Bug When Selected TP/SL%

Catatan Rilis

Update V2.4
  • Add Psudo Bollinger Band For Donchian Upper, Middle, Lower Band
  • Edit TP/SL% For Easy To Look [Long = TP💚/ Short = TP❤️️]
  • Fix Some Bug

Catatan Rilis

Update V.2.5
- Add Confirm By Aroon Hit 100% and -100%

- Fix Bug For Normal Channel BreakOut Spot Mode

Catatan Rilis

Update Version 2.6
- Change Int to float for Callback %

Catatan Rilis

Update Version 2.7
- Replace RSI Confirm Instead Stochastic Confirm
- - For Bot Trade and Hook Send Bot

Catatan Rilis

Update Version 2.8
- Set Default RSI Confirm 50/50
- Add TP/SL/TL to Command Send For X48-Saiyan3 (3in1) Bot

Catatan Rilis

Update
  • Volty Mode - Volume Trading For Forex and Gold (Best TF 1m & Commission 0)
  • Adaptive ATR MODE - (Adaptive ATR Calculate By Volty Strategy and Calculate Again With EMA By Adaptive ATR Value For Fast&Slow)
  • Fix TP&SL Text Show

Catatan Rilis

Update Version 2.10
  • Remove Locked Trend MODE (MA + MACD) = Because Too Slow By Wait Moving Average
  • Add Repeat Mode For MA Cross | (Fast > Slow) and (Fast < Slow) // Normally Crossover and Crossunder Only
  • Add Repeat Mode For MACD Cross 0 | (MACD > 0) and (MACD < 0) // Normally Crossover and Crossunder Only
    Repeat Mode Use By After TP/SL
    For Example
    EMA 12/26 Cross
    IF EMA Crossover (Uptrend) But SL = 5% >> After StopLoss Repeat Order Again If Fast > Slow
    Normally The Position Are Open First Time By Crossover and Crossunder

Catatan Rilis

Fix TP/SL 0% = Disable

Catatan Rilis

Update 26-09-2023
- Remove Volty For Forex Strategy
- Edit and Fix Some Formular Profit & Loss Calculation
- Add TP by PNL ($) Mode

Catatan Rilis

Update
- Fix TP/SL For Other Mode

Catatan Rilis

Update
- Add Fix Time For Trade

* You Can Adjust Like This
Full Time 00 : 00 - 23 : 59

Fix Time (Day) = 08 : 00 - 15 : 59
Komentar
winmaker
Hey. Stop loss by Percent doesnt work at Spot Mode. And at Breakout Mode it shows different results live and on historical data (big difference).
Elon_Sak
Wow.
mrlongth
Test
thehamsauce
sometimes I see this strategy open and close a trade at the exact same time. Do you have any insight on to why it is doing that and is that the expected way for the strategy to behave?
X4815162342
@thehamsauce, sorry for late reply, please tell me more details like your strategy option
Thanyalove
Thank a lot.
ramkhadkaghara
Nice one!
prakritpol
good
Lebih lanjut