OPEN-SOURCE SCRIPT
X48 - Strategy | ADAPTIVE CONSECUTIVE + TP/SL | V.1

Thanks For Tradingview Built-in Script :: << Original From Consecutive Strategy Built-in Script >>
================== Read This First Before Use This Strategy ==============
>>>> Read Me First !! <<<<<
========== Detailed and meaningful description =========
=========== Condition And Statement ===========
====== For ADAPTIVE you can customize your ALL MA [FAST, SLOW, MID-TERM, LONG-TERM] For Your Statement
/////////For Example Hook Alert Command ////////////
================== 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.
- This Strategy Just an Idea For Help Your Decision For Open Position.
- You Must Be Search and Make Your Self Understand What You Doing In This Strategy.
- Example :: This Strategy and Indicator Find The Consecutive Bars And You, You Are Reading Must Be Decision Up to You !!
- For Backtest Show It's That For a Newbie 100$ Portfolio and 16.333$ Per Order Size
>>>> Read Me First !! <<<<<
========== Detailed and meaningful description =========
- How It's Work : This Strategy are Following [Length]Green or [Length]Red Candle :: example 3 Green Candle To OpenLong Position
- Can Set TP/SL if you want :: Just Fine The Best Value of Asset as you want
- Fast Trend = MA FAST LINE [Blue Line]
- SLOW Trend = MA SLOW LINE [Red Line]
- MID-TERM TREND = MA MID-TERM [Yellow Line]
- LONG-TERM TREND = MA LONG-TERM [White Line]
=========== Condition And Statement ===========
- Long Condition Statement :: [Length] Candles Consecutive Bars Up and close > golden_line and fast_line > golden_line
- Short Condition Statement :: [Length] Candles Consecutive Bars Down and close < golden_line and fast_line < golden_line
- AutoCloseLong Condition :: [Length] Candles ConsecutiveBarsDownStop and close > golden_line and close[2] < death_line and close[1] < death_line and close < death_line or fastUpdeath
- AutoCloseShort Condition :: [Length] Candles ConsecutiveBarsUpStop and close < golden_line and close[2] > death_line and close[1] > death_line and close > death_line or fastUpdeath
====== For ADAPTIVE you can customize your ALL MA [FAST, SLOW, MID-TERM, LONG-TERM] For Your Statement
/////////For Example Hook Alert Command ////////////
- Just Easy Command >> :: {{strategy.order.alert_message}}
- Or Other Json You Should Edit Command Like This Example
- {"ex":"'bnfuture'","side": "AutoLong", "$16.333", "symbol": "{{ticker}}", "passphrase": "1234","leverage":"10", "tp" : "5", "sl" : "2", "tl" : "2", "callback" : "1"}
- {"ex":"'bnfuture'","side": "AutoShort", "$16.333", "symbol": "{{ticker}}", "passphrase": "1234","leverage":"10", "tp" : "5", "sl" : "2", "tl" : "2", "callback" : "1"}
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.