Hello everyone, Here is a perfectly replicated TradingView backtesting engine condensed into a single library function calculated with arrays. It includes TradingView's calculations for Net profit, Total Trades, Percent of Trades Profitable, Profit Factor, Max Drawdown (absolute and percent), and Average Trade (absolute and percent). Here's how TradingView...
This is a version 0.1 of a revamped Trend Shift Indicator (strategy version). There are three main components: A moving average with color to indicate caution (for those trading short-term) A series of cross indications above bar to indicate further warning (for those trading mid-term) Longer term buy and sells informing the trades of the indicator...
This is a modified version of my script muxie1. The muxie1 is more profitable in backtesting but is more risky as the stop loss is only triggered when a reversal happens and orders 2x more in reverse direction. The current script works the same but if loss is substancial and reaches the safety stop loss then the trade is closed. This uses 2 EMA and Stop Loss and...