INVITE-ONLY SCRIPT
Mis à jour

[横扫华尔街1]

176
先加微信 liuyanbin0625
币友 全网首创开单方式 加我微信 包你赚钱 胜率90以上的指标
为什么选择我们的指标?
√ 数据验证:基于1年历史数据回测与一年实盘验证,胜率高达90%(非模拟,附真实交易记录)
√ 多场景适配:精准识别牛市/熊市/震荡行情,支持BTC、ETH等主流币种
√ 极简操作:图表直接显示「多空箭头」「止损止盈位」,新手3分钟上手
适合人群
▷ 短线频繁开单却盈亏不平衡的合约玩家
▷ 缺乏时间盯盘,希望用指标辅助决策的上班族
▷ 已有交易系统,需额外因子验证策略的老手
First add WeChat liuyanbin0625
Coin friends are the first on the whole network to open an order plus me WeChat to include you to make money The winning rate is more than 90
Why Choose Our Indicators?
√ Data verification: Based on 1-year historical data backtesting and one-year real market verification, the win rate is as high as 90% (non-simulation, with real transaction records)
√ Multi-scenario adaptation: Accurately identify bull/bear/volatile markets, and support mainstream currencies such as BTC and ETH
√ Minimalist operation: The chart directly displays "long and short arrows" and "stop loss and take profit levels", and novices can get started in 3 minutes
Suitable for the crowd
▷ Contract players who frequently open orders in the short term but have uneven profits and losses
▷ Office workers who lack time to keep an eye on the market and want to use indicators to assist decision-making
▷ Veterans who have an existing trading system and need additional factors to verify their strategies
Notes de version
First, add my WeChat: liuyanbin0625
Coin Friends pioneers the billing method across the network. Add me on WeChat, and I guarantee you'll make money with a win rate of over 90%
Why choose our indicators?
√ Data verification: Based on 1-year historical data backtesting and one-year real-time verification, the winning rate is as high as 90% (non-simulation, with real trading records)
√ Multi-scenario adaptation: Accurately identify bull market / bear market / volatile market, support mainstream currencies such as BTC, ETH
√ Minimalist operation: the chart directly displays "long and short arrows" and "stop loss and take profit positions", making it easy for novices to get started in 3 minutes
Suitable for
▷ Contract players who frequently open short-term contracts but have an imbalance between profits and losses
▷ Working professionals who lack the time to monitor the market and seek indicators to aid in decision-making
▷ An experienced user who already has a trading system and requires additional factor verification strategies
Notes de version
//version=6
//Developed by Henrique Centieiro :)
indicator("Expected Value Monte Carlo", shorttitle="EVMC", overlay=true, max_labels_count=10)

// --- DESCRIPTION ---
// This indicator overlays a statistical projection on the main chart, providing a sophisticated analytical edge.
// 1. Historical Backtesting: Calculates the actual results of a strategy over a long-term, user-defined period.
// 2. Monte Carlo Projection: Simulates thousands of future price paths based on the trend and volatility of a recent period.
// The script is fully timeframe-aware and asset-aware (stocks, crypto, etc.), ensuring mathematically sound, non-repainting analysis on any chart.

// --- USER INPUTS ---
// General Settings
i_trade_duration = input.int(defval=252, title="Max Trade Duration (bars)", minval=1, group="General Settings", tooltip="The maximum number of bars to hold a trade. On a Daily chart, 252 is ~1 year for stocks.")
i_position_size = input.float(defval=1000.0, title="Position Size ($)", minval=1.0, group="General Settings")

// Calculation Settings
i_momentum_lookback = input.int(defval=252, title="Projection Lookback (bars)", minval=10, group="Calculation Settings", tooltip="The lookback period for calculating the trend and volatility that the Monte Carlo projection is based on. A shorter period makes the projection more sensitive to recent price action, which can reveal recency bias.")
i_lookback_bars = input.int(defval=2500, title="Historical Lookback (bars)", minval=1, maxval=5000, group="Calculation Settings", tooltip="Defines the total historical data for the backtest. A longer period provides more statistically significant results.")
i_monte_carlo_sims = input.int(defval=1000, title="Monte Carlo Simulations", minval=100, maxval=5000, group="Calculation Settings")
i_risk_free_rate = input.float(defval=5.0, title="Annual Risk-Free Rate (%)", group="Calculation Settings", tooltip="Used for Sharpe Ratio calculation.")

// Historical TP/SL Settings
i_use_tp_sl = input.bool(defval=false, title="Use TP/SL for Historical EV", group="Historical Strategy Settings")
i_tp_pct = input.float(defval=10.0, title="Take Profit (%)", minval=0.1, group="Historical Strategy Settings")
i_sl_pct = input.float(defval=5.0, title="Stop Loss (%)", minval=0.1, maxval=99.9, group="Historical Strategy Settings", tooltip="Must be between 0.1 and 99.9.")

// Display Settings
i_font_size_option = input.string(defval="Normal", title="Table Font Size", options=["Small", "Normal", "Large"], group="Display Settings")

.style_dashed)
lower_line := line.new(bar_index, entry_price
// UPDATED: Repositioned Hist. EV label to the start of the line for better clarity.
hist_label := label.new(bar_index, hist_ev_price, text="Hist. EV: " + str.tostring(hist_ev_price, "#.##"), color=color.new(color.green, 100), textcolor=color.green, style=label.style_label_right, textalign=text.align_left)

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.