OPEN-SOURCE SCRIPT

X48 - Strategy | MA Type Cross + TPSL | Future&Spot | V.2

ที่อัปเดต:
Thank You For Open Source Code, This Strategy Ref. By 1.Simple Strategy Like MA Crossover For Long/Short or Spot Trade, 2. CDC Action Zone V.2 for BarPaint
This Strategy Mixing With MA Crossover Strategy and BarPaint By CDC Action Zone and TP/SL by Varbara


### How To Use Strategy : Setting EMA/SMA Crossover EMA/SMA, Any Value If You Want
  • For Long Position : Cross Up
  • For Short Position : Cross Down
  • Can Use With Spot Trade : Cross Up = Buy, Cross Down = Sell
  • TP/SL When Your OrderSize Change From any % Of Your TP/SL Value


### In Strategy Setting
  • Intitial Capital = Ex. 200
  • Order Size = Should Be Money Management Not Use 100% of Capital Ex. 10% of Capital (200$) = Order Size 20$
  • StopLoss and Take Profit = If You Run Trend TF 4H+ or 1D+ You Can Change TP% = 1,000% for nonlimit and Stop Loss 5 - 20% from your order size
    Ex. Stoploss 15% = OrderSize / 100 x %SL = 20$/100 x 15% = 3$ Loss from order size 20$ (if you not set stop loss.)
  • Base Currency = (Your Currency) # Ex. USD
  • Commission = (Your Trading Fee) # Ex. Future Fee Can Check At Binance Fee Rate > binance.com/en/fee/schedule > Choose Your Fee Type, Ex. USD M Future (Regular User) = 0.02 (Maker), 0.04 (Taker)
  • Commission Symbol Type = % # (Ref. By Binance Fee Rate)


### Notice ####
Default Setting It's Realistic From Normal Life Ex. Capital 200$ / Ordersize 20$ (10%)/ Commission 0.1% (Buy+Sell) / Slippage = 2 / TP = 1000% (nonlimit) / SL = 15%/OrderSize
Low Risk But High Return, Good Luck


### Bot Auto Trade by X4815162342 ###
if you wanna try my bot auto trade X48-3in1-bot : Contact My Line ID : x4815x
Full Command Alert For This Strategy If You Wanna See It's

  • '{"ex":"'+markettype+'","side": "'+longcommand+'", "amount": "@{{strategy.order.contracts}}", "symbol": "{{ticker}}", "passphrase": "'+passphrase+'","leverage":"'+str.tostring(leveragex)+'"}'
  • '{"ex":"'+markettype+'","side": "'+shortcommand+'", "amount": "@{{strategy.order.contracts}}", "symbol": "{{ticker}}", "passphrase": "'+passphrase+'","leverage":"'+str.tostring(leveragex)+'"}'

But Easy Than Full Command Just Use Thisssssss !! Strategy Be Manage Auto Long and Short or TPSL Position
You Don't Do Anything Just Use This Message to Alerts Message
  • {{strategy.order.alert_message}}


### If you don't use bot but just looking for strategy test ####
Just Pass Bot Setting Function It's Nothing Effect For Strategy !!!!!!
Let's Enjoy With Your Strategy BackTest 😁

Remember Beware Max drawdown%. I'm Recommend Lower Than 10% It's Very Good.
เอกสารเผยแพร่
Update and Fix : Backtest Don't Change When Choose Date Range
เอกสารเผยแพร่
Update New Version 2
1. Add Multi MA Type

  • - EMA
  • - SMA
  • - WMA
  • - HMA
  • - RMA
  • - VWMA


2. Add MACD Strategy
MACD Strategy For More TP/SL by MACD
Not Effect With Long And Short Strategy


3. Add RSI Strategy To Confirm Long And Short Position By RSI
For RSI Strategy Use OB and OS To Confirm Long and Short Position

Can Disable MACD and RSI Strategy Just Uncheck Mode
เอกสารเผยแพร่
Add Symbol of MACD TP/SL
เอกสารเผยแพร่
Update : Fix RSI Mode With 3 MA TYPE Error
เอกสารเผยแพร่
Update : Middle Mode Make Some Confuse
Add plot true or false for "Middle MA Line"
you can disable it if you don't want Middle Line
เอกสารเผยแพร่
Update :
Add SPOT MODE for Spot Backtest [true/false]
- Can Enable and Disable
เอกสารเผยแพร่
Update :
Fix TP/SL Mode Some Calculate for Long and Short
เอกสารเผยแพร่
Update
- Swing High / Low
- Bug Fix (2MA/3MA)
- Remove Confirm By RSI and MACD = Just Signal and Symbol
เอกสารเผยแพร่
Update
- Surfing and Diving Zone
เอกสารเผยแพร่
Update
- Plot Trailing Stop and Trailing Take Profit Step Line

- Fill Color Between MA Cross Space
Fast Crossover Middle = Lime Color
Fast Corssunder Middle = Red Color

Fast Crossover Low = Lime Color
Fast Crossunder Low = Blue Color
เอกสารเผยแพร่
Update
- Edit and Fix Surfing and Diving Symbol
Easy to look up
เอกสารเผยแพร่
Update V.3.4
TP Long %
TP Short %
เอกสารเผยแพร่
Update V 3.5
Fix Text RSI OB and OS
เอกสารเผยแพร่
Update
- Fix TP/SL : 0 = Disable
- Add Callback % Function
- Fix Some Formular
backtestbacktestingemacrossoverMoving Averagesstoplossstrategytpsl

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?


และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ