=========== Fixed Percent Stop Loss & Take Profit % =========== A neat example of how to set up Fixed Stops and Take Profit as a percent of the entry price. Yup, that's about it! You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT really profitable and NOT recommended! You should be using...
Same coding only coloring and strategy version added //Barcolor Green = Trail1 > Trail2 and close > Trail2 and low > Trail2 Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2 Red = Trail2 > Trail1 and close < Trail2 and high < Trail2 Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2 //It gives White color where there is...
=========== Percent Trailing Stop % =========== Another Stop Loss Indicator today - our last Fixed SL/TP script went down quite well, this one is for adding a Percent Trailing Stop from Entry Price to your own strategy. You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT profitable and NOT...
"How to code moving stop-loss mechanism", is one of the most often repeating questions in private messages I receive, so just to focus on this mechanism, I made a spin-off from my previous script: TradingView-Alerts-to-MT4-MT5-dynamic-variables-NON-REPAINTING . The logic here moves the stop-loss each time a trade is running and a new pivot high/low is detected....
Inspired by truly greatful Kivanç Ozbilgic (www.tradingview.com). The strategy tries to combined three different moving average strategies into one. Strategies covered are: 1. Tillson T3 Moving Average Strategy Developed by Tim Tillson, the T3 Moving Average is considered superior to traditional moving averages as it is smoother, more responsive and thus...
Instantaneous Trendline Strategy by John Ehlers from his book "Cybernetic Analysis for Stocks and Futures". You can choose implementation of stop-loss. Don't forget to define correct spread for your instrument.
This script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions. Features: - 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually. - Crossovers are plotted on the chart with detailed...
This script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions. Features: - 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually. - Crossovers are plotted on the chart with detailed...
For Educational Purposes. Results can differ on different markets and can fail at any time. Profit is not guaranteed. This only works in a few markets and in certain situations. Changing the settings can give better or worse results for other markets. This strategy is based on Wilder's Volatility System. It is an ATR trailing stop that is used for long term...
This script is designed for those who want to use BitMex's trailing stop. It's not meant to be used as entry exits, but rather to get an idea of how wide the trailing stop needs to be. I suggest you backtest with different values. The script can also be integrated into an existing strategy which does give entry/exits to act as its stop loss.
XPloRR MA-Buy ATR-MA-Trailing-Stop Strategy Long term MA Trailing Stop strategy to beat Buy&Hold strategy None of the strategies that I tested can beat the long term Buy&Hold strategy. That's the reason why I wrote this strategy. Purpose: beat Buy&Hold strategy with around 10 trades. 100% capitalize sold trade into new trade. My buy strategy is triggered by the...