OPEN-SOURCE SCRIPT
Auto-Logger MTF + Calendar Backtest all indikator by mucis

uto-Logger MTF + Calendar Backtest all indikator by mucis merupakan sebuah indikatoir yang tanpa perlu susah payah untuk melakukan forward test 📊 FITUR LENGKAP YANG SUDAH ADA:
1. 🎯 PILIHAN STRATEGI (Dropdown)
Pilihan Strategi:
├── EMA Crossover (dengan Regime Filter)
├── RSI Strategy (Overbought/Oversold)
├── MACD Strategy (Signal Cross)
├── Bollinger Bands Breakout
├── SuperTrend (ATR-based)
└── Custom (manual setup)
Default: EMA Crossover
2. ⚙️ PARAMETER DINAMIS
Setiap strategi memiliki input parameter sendiri:
EMA: Fast Length (9), Slow Length (21), Regime EMA (200)
RSI: Period, Overbought (70), Oversold (30)
MACD: Fast, Slow, Signal lengths
Bollinger: Length, Std Dev, Breakout Type
SuperTrend: ATR Period, Multiplier
3. 📅 BACKTEST CALENDAR INPUT
Start Date: Year (2020), Month (1), Day (1) → 2020-01-01
End Date: Year (2030), Month (12), Day (31) → 2030-12-31
4. ⏰ TIMEFRAME SELECTOR
Pilih timeframe data: 1, 5, 15, 30, 60, 120, 240, D, W, M
Default: "D" (Daily)
Menggunakan request.security() untuk fetch data dari timeframe lain
Bisa backtest strategi 1H pada chart 5M!
5. 🛡️ RISK MANAGEMENT
Position Size: 10% dari equity
Stop Loss: 2.0% dari entry price
Take Profit: 4.0% dari entry price
Trailing Stop: Enabled (aktif)
Commission: 0.01%
Slippage: 2 ticks
6. 📈 VISUALISASI
Entry/Exit arrows pada chart
Stop Loss & Take Profit lines
Background color untuk bull/bear regime
Info Dashboard di pojok kanan atas (showing: Strategy, Timeframe, Equity, Drawdown)
🎮 CARA MENGGUNAKAN:
Step 1: Pilih Strategi
Klik Settings (roda gigi) pada indikator di chart
Pilih Strategy Type dari dropdown
Atur parameter sesuai kebutuhan
Step 2: Atur Periode Backtest
Isi Start Year, Month, Day (default: 2020, 1, 1)
Isi End Year, Month, Day (default: 2030, 12, 31)
Step 3: Pilih Timeframe
Pilih Timeframe (default: "D" untuk Daily)
Strategy akan menggunakan data dari timeframe tersebut
Step 4: Lihat Hasil
Klik tab Strategy Tester (di bawah chart)
Lihat metric: Net Profit, Profit Factor, Win Rate, Max Drawdown
Lihat individual trades di tab "List of Trades"
1. 🎯 PILIHAN STRATEGI (Dropdown)
Pilihan Strategi:
├── EMA Crossover (dengan Regime Filter)
├── RSI Strategy (Overbought/Oversold)
├── MACD Strategy (Signal Cross)
├── Bollinger Bands Breakout
├── SuperTrend (ATR-based)
└── Custom (manual setup)
Default: EMA Crossover
2. ⚙️ PARAMETER DINAMIS
Setiap strategi memiliki input parameter sendiri:
EMA: Fast Length (9), Slow Length (21), Regime EMA (200)
RSI: Period, Overbought (70), Oversold (30)
MACD: Fast, Slow, Signal lengths
Bollinger: Length, Std Dev, Breakout Type
SuperTrend: ATR Period, Multiplier
3. 📅 BACKTEST CALENDAR INPUT
Start Date: Year (2020), Month (1), Day (1) → 2020-01-01
End Date: Year (2030), Month (12), Day (31) → 2030-12-31
4. ⏰ TIMEFRAME SELECTOR
Pilih timeframe data: 1, 5, 15, 30, 60, 120, 240, D, W, M
Default: "D" (Daily)
Menggunakan request.security() untuk fetch data dari timeframe lain
Bisa backtest strategi 1H pada chart 5M!
5. 🛡️ RISK MANAGEMENT
Position Size: 10% dari equity
Stop Loss: 2.0% dari entry price
Take Profit: 4.0% dari entry price
Trailing Stop: Enabled (aktif)
Commission: 0.01%
Slippage: 2 ticks
6. 📈 VISUALISASI
Entry/Exit arrows pada chart
Stop Loss & Take Profit lines
Background color untuk bull/bear regime
Info Dashboard di pojok kanan atas (showing: Strategy, Timeframe, Equity, Drawdown)
🎮 CARA MENGGUNAKAN:
Step 1: Pilih Strategi
Klik Settings (roda gigi) pada indikator di chart
Pilih Strategy Type dari dropdown
Atur parameter sesuai kebutuhan
Step 2: Atur Periode Backtest
Isi Start Year, Month, Day (default: 2020, 1, 1)
Isi End Year, Month, Day (default: 2030, 12, 31)
Step 3: Pilih Timeframe
Pilih Timeframe (default: "D" untuk Daily)
Strategy akan menggunakan data dari timeframe tersebut
Step 4: Lihat Hasil
Klik tab Strategy Tester (di bawah chart)
Lihat metric: Net Profit, Profit Factor, Win Rate, Max Drawdown
Lihat individual trades di tab "List of Trades"
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.