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"}
 
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน