Template Trailing Strategy (Backtester)💭 Overview
💢 What is the "Template Trailing Strategy” ❓
The "Template Trailing Strategy" (TTS) is a back-tester orchestration framework. It supercharges the implementation-test-evaluation lifecycle of new trading strategies, by making it possible to plug in your own trading idea.
While TTS offers a vast number of configuration settings, it primarily allows the trader to:
Test and evaluate your own trading logic that is described in terms of entry, exit, and cancellation conditions.
Define the entry and exit order types as well as their target prices when the limit, stop, or stop-limit order types are used.
Utilize a variety of options regarding the placement of the stop-loss and take-profit target(s) prices and support for well-known techniques like moving to breakeven and trailing.
Provide well-known quantity calculation methods to properly handle risk management and easily evaluate trading strategies and compare them.
Alert on each trading event or any related change through a robust and fully customizable messaging system.
All the above, build a robust tool that, once learned, significant and repetitive work that strategy developers often implement individually on every strategy script is eliminated. Taking advantage of TradingView’s built-in backtesting engine the evaluation of the trading ideas feels natural.
By utilizing the TTS one can easily swap “trading logic” by testing, evaluating, and comparing each trading idea and/or individual component of a strategy.
Finally, TTS, through its per-event alert management (and debugging) system, provides a fully automated solution that supports automated trading with real brokers via webhooks.
NOTE: The “Template Trailing Strategy” does not dictate the way you can combine different (types of) indicators or how you should combine them. Thus, it should not be confused as a “Trading System”, because it gives its user full flexibility on that end (for better or worse).
💢 What is a “Signal Indicator” ❓
“Signal Indicator” (SI) is an indicator that can output a “signal” that follows a specific convention so that the “Template Trailing Strategy” can “understand” and execute the orders accordingly. The SI realizes the core trading logic signaling to the TTS when to enter, exit, or cancel an order. A SI instructs the TTS “when” to enter or exit, and the TTS determines “how” to enter and exit the position once the Signal Indicator generates a signal.
A very simple example of a Signal Indicator might be a 200-day Simple Moving Average Signal. When the price of the security closes above the 200-day SMA, a SI would provide TTS with a “long entry signal”. Once TTS receives the “long entry signal”, the TTS will open a long position and send an alert or automated trade message via webhook to a broker, based on the Entry settings defined in TTS. If the TTS Entry settings specify a “Market” order type, then the open long position will be executed by TTS immediately. But if the TTS Entry settings specify a “Stop” order type with a 1% Stop Distance, then when the price of the security rises by 1% after the “long entry signal” occurs, the TTS will open a long position and the Long Entry alert or webhook to the broker will be sent.
🤔 How to Guide
💢 How to connect a “signal” from a “Signal Indicator” ❓
The “Template Trailing Strategy” was designed to receive external signals from a “Signal Indicator”. In this way, a “new trading idea” can be developed, configured, and evaluated separately from the TTS. Similarly, the SI can be held constant, and the trading mechanics can change in the TTS settings and back-tested to answer questions such as, “Am I better with a different stop loss placement method, what if I used a limit order instead of a stop order to enter, what if I used 25% margin instead of trading spot market?”
To make that possible by connecting an external signal indicator to TTS, you should:
Add in the same chart, the “Signal Indicator” of your choice (e.g. “Two MA Signal Indicator” , “Click Signal Indicator” , “Signal Adapter” , “Signal Composer” ) and the “Template Trailing Strategy”.
Go to the “Settings/Inputs” tab in the “🛠️ STRATEGY” group of the TTS and change the "𝐃𝐞𝐚𝐥 𝐂𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧𝐬 𝐌𝐨𝐝𝐞" to “🔨External”
Go to the “🔨 STRATEGY – EXTERNAL” group settings of the TTS and change the “🔌𝐒𝐢𝐠𝐧𝐚𝐥 🛈➡” to the output signal of the “Signal Indicator” you want to connect. The selected combo box option should look like “:🔌Signal to TTS” where should correspond to the short title of your “Signal Indicator”
💢 How to create a Custom Trading logic ❓
The “Template Trailing Strategy” provides two ways to plug in your custom trading logic. Both of them have their advantages and disadvantages.
✍️ Develop your own Customized “Signal Indicator” 💥
The first approach is meant to be used for relatively more complex trading logic. The advantages of this approach are the full control and customization you have over the trading logic and the relatively simple configuration setup by having two scripts only. The downsides are that you have to have some experience with pinescript or you are willing to learn and experiment. You should also know the exact formula for every indicator you will use since you have to write it by yourself. Copy-pasting from existing open-source indicators will get you started quite fast though.
The idea here is either to create a new indicator script from scratch or to copy an existing non-signal indicator and make it a “Signal Indicator”. To create a new script, press the “Pine Editor” button below the chart to open the “Pine Editor” and then press the “Open” button to open the drop-down menu with the templates. Select the “New Indicator” option. Add it to your chart to copy an existing indicator and press the source code {} button. Its source code will be shown in the “Pine Editor” with a warning on top stating that this is a read-only script. Press the “create a working copy”. Now you can give a descriptive title and a short title to your script, and you can work on (or copy-paste) the (other) indicators of your interest. Having all the information needed to make your decision the only thing you should do is define a DealConditions object and plot it like this:
import jason5480/tts_convention/4 as conv
// Calculate the start, end, cancel start, cancel end conditions
dealConditions = conv.DealConditions.new(
startLongDeal = ,
startShortDeal = ,
endLongDeal = ,
endShortDeal = ,
cnlStartLongDeal = ,
cnlStartShortDeal = ,
cnlEndLongDeal = ,
cnlEndShortDeal = )
// Use this signal in scripts like "Template Trailing Strategy" and "Signal Composer" that can use its value
// Emit the current signal value according to the "two channels mod div" convention
plot(series = conv.getSignal(dealConditions), title = '🔌Signal to TTS', color = color.olive, display = display.data_window + display.status_line, precision = 0)
You should write your deal conditions appropriately based on your trading logic and put them in the code section shown above by replacing the “…” part after “=”. You can omit the conditions that are not relevant to your logic. For example, if you use only market orders for entering and exiting your positions the cnlStartLongDeal, cnlStartShortDeal, cnlEndLongDeal, and cnlEndShortDeal are irrelevant to your case and can be safely omitted from the DealConditions object. After successfully compiling your new custom SI script add it to the same chart with the TTS by pressing the “Add to chart” button. If all goes well, you will be able to connect your “signal” to the TTS as described in the “How to connect a “signal” from a “Signal Indicator”?” guide.
🧩 Adapt and Combine existing non-signal indicators 💥
The second approach is meant to be used for relatively simple trading logic. The advantages of this approach are the lack of pine script and coding experience needed and the fact that it can be used with closed-source indicators as long as the decision-making part is displayed as a line in the chart. The drawback is that you have to have a subscription that supports the “indicator on indicator” feature so you can connect the output of one indicator as an input to another indicator. Please check if your plan supports that feature here
To plug in your own logic that way you have to add your indicator(s) of preference in the chart and then add the “Signal Adapter” script in the same chart as well. This script is a “Signal Indicator” that can be used as a proxy to define your custom logic in the CONDITIONS group of the “Settings/Inputs” tab after defining your inputs from your preferred indicators in the VARIABLES group. Then a “signal” will be produced, if your logic is simple enough it can be directly connected to the TTS that is also added to the same chart for execution. Check the “How to connect a “signal” from a “Signal Indicator”?” in the “🤔 How to Guide“ for more information.
If your logic is slightly more complicated, you can add a second “Signal Adapter” in your chart. Then you should add the “Signal Composer” in the same chart, go to the SIGNALS group of the “Settings/Inputs” tab, and connect the “signals” from the “Signal Adapters”. “Signal Composer” is also a SI so its composed “signal” can be connected to the TTS the same way it is described in the “How to connect a “signal” from a “Signal Indicator”?” guide.
At this point, due to the composability of the framework, you can add an arbitrary number (bounded by your subscription of course) of “Signal Adapters” and “Signal Composers” before connecting the final “signal” to the TTS.
💢 How to set up ⏰Alerts ❓
The “Template Trailing Strategy” provides a fully customizable per-even alert mechanism. This means that you may have an entirely different message for entering and exiting into a position, hitting a stop-loss or a take-profit target, changing trailing targets, etc. There are no restrictions, and this gives you great flexibility.
First of all, you have to enable the alerts of the events that interest you. Go to the “🔔 ALERT MESSAGES” module of the TTS settings and check the “Enable…” checkbox of the events you are interested in. For each specific event, you will find a text area where you can type the exact message you want to receive when the event occurs. What’s more, there are placeholders you can use that will be replaced by the TTS with the actual values before the message is sent. The placeholder categories are the following and the placeholder names are self-explanatory.
Chart info: {{ticker}}, {{base_currency}}, {{quote_currency}}
Quantities and percentages: {{base_quantity}}, {{quote_quantity}}, {{quote_quantity_perc}},
{{take_profit_base_quantity}}, {{remaining_quantity_perc}}, {{remaining_base_quantity}}, {{risk_perc}}
Target prices: {{stop_loss_price}}, {{entry_price}}, {{entry+_price}}, {{entry-_price}},
{{exit_price}}, {{exit+_price}}, {{exit-_price}}, {{take_profit_price_1}},
{{take_profit_price_2}}, {{take_profit_price_3}}, {{take_profit_price_4}}, {{take_profit_price_5}}
❗ To get the message on the other side you have to set a strategy alert as described here and use the {{strategy.order.alert_message}} placeholder as text in the “Message Box” that contains the message that came from the TTS.
💢 How to execute my orders in a broker ❓
To execute your orders in a broker that supports webhook integration, you should enable the appropriate alerts in the “Template Trailing Strategy” first (see the “How to set up Alerts?” guide above). Then you should go to the “Create Alert/Notifications” tab check the “Webhook URL” and paste the URL provided by your broker. You have to read the documentation of your broker for more information on what messages are expected.
Keep in mind that some brokers have deep integration with TradingView so a per-event alert approach might be overkill.
📑 Definitions
This section tries to give some definitions in terms that appear in the “Settings/Inputs" tab of the “Template Trailing Strategy”
💢 What is Trailing ❓
Trailing is a technique where a price target follows another “barrier” price (usually high or low) by trying to keep a maximum distance from the “barrier” when it moves in only one direction (up or down). When the “barrier” moves in the other direction the price target will not change. There are as many types of trailing as price targets, which means that there are entry trailing, exit trailing, stop-loss trailing, and take-profit trailing techniques.
💢 What is a Moonbag ❓
A Moonbag in a trade is the quantity of the position that is reserved and will not be exited even if all take-profit targets defined in the strategy are hit, the quantity will be exited only if the stop-loss is hit or a close signal is received. This makes the stop-loss trailing technique in a trend-following strategy a good candidate to take advantage of a Moonbag.
💢 What is Distance ❓
Distance is the difference between two prices.
💢 What is Bias ❓
Bias is a psychological phenomenon where you make decisions based on market sentiment. For example, when you want to enter a long position you have a long bias, and when you want to exit from the long position you have a short bias. It is the other way around for the short position.
💢 What is the Margin Distance of a price target ❓
The Margin Distance of a price target is the distance that the target will deviate from its initial price. The direction of this deviation depends on the bias of the market. For example, suppose you are in a long position, and you set a take-profit target to the local high (HHLL). In that case, adding a margin of five ticks will place your take-profit target 5 ticks below this local high because you have a short bias when exiting a long position. When the bias is long the margin will be added resulting in a higher target price and when you have a short bias the margin will be subtracted.
⚙️ Settings
In the “Settings/Inputs” tab of the “Template Trailing Strategy”, you can find all the customizable settings that are provided by the framework. The variety of those settings is vast; hence we will only scratch the surface here. However, for every setting, there is an information icon 🛈 where you can learn more if you mouse over it. The “Settings/Inputs” tab is divided into ten main groups. Each one of them is responsible for one module of the framework. Every setting is part of a group that is named after the module it represents. So, to spot the module of a setting find the title that appears above it comes with an emoji and uppercase letters. Some settings might have the same name but belong to different modules e.g. “Distance Method”. Some settings are indented, which means that are closely related to the non-indented setting above. Usually, intended settings provide further configuration for one or more options of the non-intended setting. The groups that correspond to each module of the framework are the following:
📆 FILTERS
In this module time filters are implemented. You can define a DateTime window for your strategy to run. You can also specify a session by selecting the days of the week and the time range you want to operate.
🛠️ STRATEGY
This module contains the "𝐃𝐞𝐚𝐥 𝐂𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧𝐬 𝐌𝐨𝐝𝐞" that defines if the “Template Trailing Strategy” will operate using the Internal or the External (“Signal Indicator”) conditions. Some general settings can be applied regardless of the mode.
🔨 STRATEGY – EXTERNAL
This sub-module makes the connection between the external signal of the “Signal Indicator” and the “Template Trailing Strategy”. It takes effect only if the "𝐃𝐞𝐚𝐥 𝐂𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧𝐬 𝐌𝐨𝐝𝐞" is set to “🔨External”.
🔧 STRATEGY – INTERNAL
This sub-module defines the internal strategy logic and it's used as an example to demonstrate this framework. It should produce the same results as if the “Two MA Signal Indicator” was used as a “signal” in external mode. It takes effect only if the "𝐃𝐞𝐚𝐥 𝐂𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧𝐬 𝐌𝐨𝐝𝐞" is set to “🔧Internal”.
🎢 VOLATILITY
This module defines the volatility parameters that are used in various other settings like average true range and standard deviation. It also makes it clear whether their values are updated during a trade (DYNAMIC) or not (STATIC).
🔷 ENTRY
This module defines how the start deal conditions will be executed by defining the order type of your entry and all necessary parameters to execute them.
🎯 TAKE PROFIT
This module defines the take-profit targets placement logic. The number of the take-profit targets to use, their distance from the entry price, and the distance from each other are only some of the features that can be configured.
🛑 STOP LOSS
This module defines the stop-loss target placement logic. The distance from the entry price, move to break even, and start trailing after a take-profit target is hit are only some of the features that can be configured.
🟪 EXIT
This module defines how the end deal conditions will be executed by defining the order type of your exit and all necessary parameters to execute them.
💰 QUANTITY/RISK MANAGEMENT
This module defines the method that calculates the amount of money you will put into each trade. Also, the percentage of the Moonbag quantity can be configured.
📊 ANALYTICS
This module can visualize some extra analytics of the strategy in the chart and calculate some metrics to measure the overall performance.
🔔 ALERT MESSAGES
This module defines all the messages that can be emitted per event during the strategy execution.
😲 Caveats
💢 Does “Template Trailing Strategy” has a repainting behavior ❓
The answer is that the “Template Trailing Strategy” does not repaint as long as the “Signal Indicator” that is connected also does not repaint. If you developed your own SI make sure that you understand and know how to prevent this behavior. The publication by @PineCoders here will give you a good idea on how to avoid most of the repainting cases.
⚠️There is an exception though, when the “Enable Trail⚠️💹” checkbox is checked, the Take Profit trailing feature is enabled, and a tick-based approach is used, meaning that after a while, when the TradingView discards all the real-time data, assumptions will be made by the backtesting engine that will cause a form of repainting. To avoid making false assumptions please disable this feature in the early stages and evaluate its usefulness in your strategy later on, after first confirming the success of the logic without this feature. In this case, consider turning on the bar magnifier feature. This way you will get more accurate backtest results when the Take Profit trailing feature is enabled.
💢 Can “Template Trailing Strategy” satisfy all my trading strategies ❓
While this framework can satisfy quite a large number of trading strategies there are cases where it cannot do so. For example, if you have a custom logic for your stop-loss or take-profit placement, or if you want to dollar cost average, then it might be better to start a new strategy script from scratch.
⚠️ It is not recommended to copy the official TTS code and start developing unless you are a pine wizard! Even in that case, there is a stiff learning curve that might not be worth your time. Last, you must consider that I do not offer support for customized versions of the TTS script and if something goes wrong in the process you are all alone.
🤗 Thanks
Special thanks to @upslidedown and @metadimensional, who regularly gave feedback all those years and helped me to shape the framework as it is today! Thanks to @EltAlt, @PlusUltraTrading, and everyone else who contributed by either filing a “defect report” or asking questions that helped me to understand what improvements were necessary.
Enjoy!
Jason
Cari dalam skrip untuk "stop loss"
DMI (Multi timeframe) DI Strategy [KL]Directional Movement Index Strategy
Entry conditions:
- (a) when DI+ > DI- on timeframe #1, and
- (b) Confirmation: when DI+ > DI- on timeframe #2
In the shown example, timeframe1 was same as the chart (1H) and timeframe2 was 1D.
Stop Loss: ATR based trailing stop
About DMI
Can refer to Investopedia for general understanding.
Applications of DMI in this strategy:
- Assumes uptrend when DI+ is above DI- (when green DI+ lines above red DI-), vice versa for downtrend. This is checked in two different timeframes that can be set by user in settings.
- DX is ignored, it doesn't give a direction of the trend. But if DX was applied, it would be a good indicator for quantifying the strength of uptrend/downtrend. This measurement would typically be read along a threshold (i.e. if below 20, then market is likely consolidating). All of these have been commented out (ignored by pinescript's interpreter via //) in the codes, as said; we are not using DX for sake of simplicity.
Visualizations
To make the chart look cleaner, DMI plots have been simplified to just down/up arrows placed at bottom of the chart.
Referring to the example chart:
- Green arrows : when DI+ > DI- for both timeframes, implies uptrend
- Red arrows: other way around (DI+ < DI-), implies downtrend
LPB MicroCycles StrategyWhat it is:
We use the Hodrick-Prescott filter applied to the closing price, and then take the outputted trendline and apply a custom vwap, the time frame of which is based on user input, not the default 1 day vwap . Then we go long if the value 2 bars ago is greater then one bar ago. We sell and color the bars and lines when the if the value of 2 bars ago is less than one bar ago.
Also included:
GUI for backtesting
ATR Based Stop Loss
How to use:
Go long when the indicators suggest it, and use the stop losses to reduce risk.
Best if paired with a volatility measurement (inside candles, average true range , bollingerband%B)
Zero-Lag HMA Backtest v1.0 [loxx]This backtest compares profitability differences between a regular Hull Moving Average ( HMA ) and a Zero-Lag HMA .
Things to know:
- Profit is set to 1 ATR
- Stop-loss is set to 1.5 ATR.
- This is by design to test the minimum the profit scenario (1 ATR up) and the worst case loss scenario (1.5 ATR down) for momentum trading. Actual results vary when additional TPs are added
How to use:
- Adjust settings and dates to view different market structures and position scenarios
- See results in the "Strategy Tester" pane
Conclusions and what's next
- Modifying HMA does very little to improve backtest results
- Future iterations will include options to backtest various moving averages with additional modifiers to improve profits and avoide losses
Comment below or send a PM with questions, comments, observations, or concerns.
vStrat Algo 1.0 (BETA)vStrat Algo 1.0
The Very First Scalping/Intraday Trading Algo for Options
Note: If you have any favorite indicators that you use regularly and are helpful, feel free to use them in conjunction to this strategy.
Legend:
long = buy call
short = buy put
close entry = sell call/put
BULL = bullish engulfing
BEAR = bearish engulfing
OS = oversold
OB = overbought
Instructions:
1. You can choose to watch the 3 minute or 5 minute chart but be aware of the Pro’s and Con’s. It’s not recommended to use this strategy on the 1 minute chart, but this works on higher timeframes. Keep in mind that the signals will vary on each timeframe.
3 minute 5 minute
i.ibb.co i.ibb.co
2. It’s best to use this strategy right at market open. If a “long” (buy CALLS) or “short” (buy PUTS) signal was given at pre-market, I do not recommend taking it. Only take signals once the market opens. If you really wish to take the signal that was given 1-5 minutes before the market opened, you most definitely can, but its’s just riskier. What I would do is, wait 3-10 minutes after market open and if one Moving Average is respecting the other and holding above or below it, you can enter especially if the blow is bullish, the vStrat Algo 1.0 will also tell you if the candles are bearish or bullish. Use your best judgement.
i.ibb.co [
3. You do not have to wait for the exit signal, everyone's risk management is different so take profits whenever you're green or hold as long as the short-term MA is still trending above or below the long-term MA and is not touching or bouncing off it.
i.ibb.co
4. Avoid taking any signals from 11:30 AM ET - 2:30 PM ET, when stocks are trading sideways since the algo’s stop losses get triggered here due to the low volume.
i.ibb.co
5. Lastly, there is no magic indicator or strategy, this algorithm is designed based on multiple conditions. Each signal gets triggered when ALL the conditions are met. This strategy is based off advanced moving averages, one that reduces lag and responds quicker than the simple and exponential ones, RSI value, S/R, pivot points, and a few others. I’m always looking for ways to improve this scalping algorithm so rest assured any complaints or suggestions will be taken and fixed as timely as possible. For best results, avoid trading with your emotions. If you’re a new user, open a small position, set a stop loss, and let the algorithm decide how you will trade it for that day. Keep doing this until you get more familiar with the script then slowly increase your position sizing, but do not invest money you can’t afford to lose. Play with the settings, change the lengths if you wish, but the script was created to provide the most accurate signals as it is. If you do decide to change these inputs, the signals will also be different. Take profits whenever you see fit, the goal is to have a green day and grow your account slowly but surely. If you make a profit, do not risk giving your money back to the market by overtrading. Always do your own due diligence and use your best judgement. Good luck, Traders!
DISCLAIMER : All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed, or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice. While the information provided is believed to be accurate, it may include errors or inaccuracies. Conduct your own due diligence or consult a licensed financial advisor or broker before making any and all investment decisions. Any investments, trades, speculations, or decisions made on the basis of any information found on this site, expressed, or implied herein, are committed at your own risk, financial or otherwise.
Ultimate Tradingview Technicals Strategy [PrismBot] [Lite]Included in this builder:
MACD
RSI
Tradingview Technical Analysis
Ichimoku
Global Trend Filter
Pullback Filter
Our most robust strategy to date with MACD , RSI , and many other basic strategies included as well as additional filters and alert options.
It is an advanced trading strategy built with the intent to make it easy for anyone to begin trading, but also avoid too much complication of strategy concepts.
For instance, you can change the MACD settings to be "more sensitive" by using a simple dropdown menu, and adjust which strategy you are employing with the MACD on the fly with another.
You can easily enable and disable strategies using the checkbox.
The strategy demo results use 100% equity per trade as an example - the reason for this is that the stop loss is set to 1%, so each trade is risking 1% (give or take slippage). Slippage is set to 5 ticks, and a 0.04% commission (Binance average for market and limit orders)
This strategy incorporates a risk to reward system where the user can select between ATR and Percent based stop losses and take profit targets. This means that the user has much better control over money management when utilizing this strategy and it doesn't require you to babysit the strategy to ensure it's entering and existing strategies in an ideal place.
The status box shows the current state of the various strategies and their values. A red circle indicates the filter / strategy is not valid for entry yet. A green circle indicates that filter / strategy is valid for entry. When all selected strategies are valid simultaneously, the next bar will trigger an entry signal.
If you have any questions about this strategy, please leave them in the comments below, or DM for more details. Thanks!
Additional features in this lite strategy:
✔️ Tweak a multitude of specific settings (MA lengths, R:R, SL distance etc)
✔️ Use money management and risk calculations
✔️ Draw trade info directly to chart (eg. SL size in percent, win rate etc)
✔️ Use various filters (eg. time filter, date filter etc)
✔️ Manage risk per position
✔️ Sync to any bot or algorithmic trading system
SSP + VWMAInput menu allows you to set long / short entries using,
Net volume change from above or below zero.,
Net volume changes of positive to negative values,
VWAP rising or falling.
VWMA rising or falling
Stop loss and take profit are built in to test the most profitable strategy.
uncheck net volume in menu bar to remove background colours on chart
Uncheck VWAP and VWMAto test long and short entries ( using net volume change ) note session look back is available to edit, if use take profit is unchecked then this will simulate net volume change from positive to negative.
Check VWMA or VWAP to simulate long or short entries
With VWAP checked this will simulate VWAP entries with rising / falling VWAP with previous take profit and stop losses that we’re profitable.
Saper Aude [Strategy]Sapere Aude Strategy
Trend based scalping strategy, to work on lower timeframes (15Minute - 1 Hour)
Calculations on ATR, strategy uses extra conditions to help filter out bad trades.
How to use the strategy?
Simple as when green line shows below, that can be either a good entry point or a signal to start building limit orders on the plot.
I use the ATR as a trailing stop loss for exit.
vica versa for entering shorts. The strategy is only set up to take long positions though.
This is a great scalping strategy for bots in Ranging or up trending markets.
This scripts has 5 variations built within it which are fitted for certain coins & their timeframes
The coins included are
BTC/USDT 1 Hour
ETH/USDT 1 Hour
ADA/USDT 30 Minutes
DOGE/USDT 15 Minutes
LUNA/USDT/15 Minutes
The Strategy backtest results includes Fess and there is NO Repaint! The script is written in Version 4
There is an option in the settings cog to choose from the 5 coins and their timeframes where they have been optimised
There is also an option to change the backtesting range
The stop Losses are also adjustable and listed under the settings
The strategy performs best on the Binance listings
Maximized Scalping On Trend (by Coinrule)" The trend is your friend. " This is one of the most famous and valuable teachings that experienced traders can give to newbies. There is a reason for that.
No matter your views about where the price moves, what matters is where the price heads to . The market is always right, and ultimately it decides who gets the profit and who has to take a loss.
The purpose of this strategy is to spot when it's the most suitable time to buy an asset profiting from a potential short-term price increase. The strategy tends to open trades frequently, closing them on average in one and a half days.
ENTRY
The buy order is placed on assets that present strong momentum when it's more likely that it is about to increase further in the short term.
To capture momentum on the asset, the rule strategy requires:
the MA50 greater than the MA100
the RSI greater than 50
The rule, then, places the order when
The price crosses above the MA9.
EXIT
This strategy comes with a stop loss and a take profit which adapt dynamically to market conditions.
The trade is closed in profit when the RSI is greater than 70 , as the trend could experience a pull-back.
Alternatively, the trade is closed when the RSI is lower than 30 , being this a sign of weakening of the trend.
Pro tip : The 1-hour time frame has proven to return the best results on average. The strategy can also work well in the 15-min time frame if you want to increase the trades' frequency.
The strategy assumes each order to trade 30% of the available capital and opens a trade at a time. A trading fee of 0.1% is taken into account.
Reversal with Bollinger Bands + RSI + ADX + ATR (Upgraded)Hi,
Welcome to my 4th script.
Someone asked me some questions about the Bollinger Band strategy I previously published. When I went back to my published script I couldn't help myself but simply try and make it better. Which I did.
Since I've published that script, I've gained much more knowledge about how Pinescript functions. As well as gaining more and more knowledge about how the markets are structered etc.
In this reversal script we use 4 indicators to determine good entry signals, we determine whether the market is ranging or trending and we still only want to take trades in the direction of the "trend".
Bollinger Bands are used for our entry signal. When price hits either side of the band, we wait for a reverse candlestick before we enter a position.
RSI is used to determine if we're in a trending market or in a ranging market. You can adjust the values in the inputs. You can determine the minimum RSI value and the maximum RSI value.
ADX is used the same way as RSI, you can adjust the value in the inputs. You can determine the minimum ADX value.
Last but not least we use two EMA's, a 200 EMA and 100 EMA. Both are adjustable through the inputs. I used two EMA's because I noticed when using this strategy that we'd enter a new position often after having a bad trade. Using two EMA's might clean up some signals, in my case with EUR/USD on a 15m timeframe, it didn't clean up enough signals.
All the default values are pretty decent but might require some finetuning on a certain instrument. Don't overfit the strategy though, that'll only give you bad signals in the future.
Then we are off to our exit signals.
Initially I wanted to incorporate my previous Bollinger Band exit signals as well, but it was too much of a hassle to make the script work as intended so I left it out. If you want to use those exit signals, just find my other script.
When we're in a position and price crosses the opposite band, we wait for a reverse candlestick before we exit the position.
Additionally we want our losses to be as small as possible, so we use RSI to signal us when the market is, or starts to, trend against us. This is where you use the minimum and maximum exit values. So when RSI crosses over or under that value, it'll exit the position.
Furthermore, we use the ATR indicator to set our stop loss, which is pretty basic stuff. You can adjust the ATR multiplier in the inputs. Disabling "Use Trailing Stop?" is really inadvisable unless you know this script inside out as your only exit signals will be opposite Bollinger Band Cross and RSI overbought / oversold areas.
OBV_RMA_CRYPTO Buy and Hold Destroyer free versionThis is a free version which use part of the logic that I am applying on my destroyer/annihilation series of strategies.
This version its made for 8-12h and works amazingly on the ETH pairs. Can be adapted to others as well
For this example, I used an initial 1$ account, using always full capital on each trade(without using any leverage), together with a 0.1% commission/fees for each deal, on Coinbase broker.
For risk management, we have a hard stop loss on the equity of 25%.
The components for the inside of the strategy are the next one :
1. OBV- SoftKill Version adapted to cryptos
2. ATR - SoftKill Version adapted to cryptos
3. RMA Rolling moving average
The rules here are simple we check for the trend direction with ATR and then we check for cross up or above on OBV and RMA moving average. Based on this we enter long or short.
RISK WARNING
Trading on any financial market involves a risk of loss. Please consider carefully if such trading is appropriate for you. Past performance is not indicative of future results.
If you have any questions or you are interested in trying it, private message me and I will give you as soon as I see the message a trial for it.
KISS Strategy: SMA + EMA//Hello my fellow investors
//I am creating a simple non-cluttered strategy that uses 3(+1) simple means to determine: viability, entry, and exit
//1) Has a consistent trend been maintained for several days/weeks
//2) SH SMA crossover LG SMA = Bullish entry/LG SMA crossover SH SMA = Bearish entry
//3) Use the Slope factor & Weeks in Trend (WiT) to dertermine how strong of an entry signal you are comfortable with
//4) Exit position based on next SMA cross and trend reversal or stop loss%
//3+1) For added confidence in trend detection: Apply MACD check - buy--> MACD line above signal line and corssover below histogram \\ sell --> MACD line below signal line and crossover above histogram.
//*)This code also allows you to determine your desired backtesting date compliments of alanaster
The chart shown has:
Starting Capital: $10,000
Investment percent per trade: 1.5%
Stop Loss: 20%
Take Profit: 100%
Gregoire Channel StrategyAdd the strategy to the chart, and start by selecting one of four systems:
1) Trend Following
2) Trend Following - Long Only
3) Volatility Breakout
4) Volatility Breakout - Long Only
Each system is better suited to a particular type of market. Find out through back-testing which system and timeframe is best for each market.
Trend Following is good for securities that strongly trend up and down. Examples: Bitcoin, "growth" stocks.
Trend Following (Long Only) is great for stock indexes that are on a 100 year uptrend, or US-based crypto exchanges which don't allow margin trading but you want to catch the big trends (BTC, ETH).
Volatility Breakout is a defensive system designed to capture the meat of the move and protect the gains. This system is better for altcoins and mature markets like forex pairs.
Volatility Breakout (Long Only) is for US-based crypto exchanges that don't allow margin trading. Good for altcoins.
DEFAULT SETTINGS:
START DATE: 1/1/2020
FEE: 0.1% (This is the Binance.us fee per trade, tailor it to your exchange)
TAKE PROFIT GCW: 0
STOP LOSS GCW: 0
LENGTH: 20
SOURCE: HL2
The system doesn't need stop losses or take profit levels as they are built into the system, but you can add them if you want. 1 GCW = half the channel, so the distance from the top of the channel to the middle line. 2 GCW = the height of the channel.
MISC
-Make sure you calculate the fees! They make a huge difference in profitability. For example, test how Coinbase.com's fees of 0.5% compared to Binance.us's fees of 0.1%. It's huge!
-Try different sets of lengths and timeframes. For example, I like using the daily timeframe and low length for stocks and intraday timeframe with long lengths for crypto. See what tests best!
Disclaimer: past performance doesn't equal future results, this isn't financial advice, this is for entertainment purposes only, consult a professional financial advisor.
GreenCrypto PR Strategy for Swing TradesThis is a very good strategy for Swing Trading, I have been using this strategy for very long time and made good amount of profit using this. This works great for both long trades and short trades, Stop loss and Take profit target is must while entering the trade, this make sure that the trade ends up in good profit and in case if the market revers, ends in only small loss.
This strategy works using the pivot points, we calculate the pivot point using the number of candles mentioned in the input field "leftBars" and "rightBars", if you add more number of bars then the frequency of the trade decreases. for example with the leftBars as 4 you will get less trades than the leftBar=2. Every trade entry is represented using "Buy" and "Sell" signals, whenever there is a new signal chart shows buy/sell signal for limit price, you need to add a limit order for the same price.
Parameters:
LeftBars = Number of left bars should be used for calculating the pivot pints, (more bars means less frequent trades)
RightBars = Number of right candle bars used for calculating the pivot points (more bars means less frequent trades)
Date/month/day : for selecting the right backtesting the period (currently it set to Jan 2018 to current day )
for this backtesting i have used 1000$ capital and with 10% capital used for each trade, free to modify it as per your needs.
This strategy works best on 4H time frame but you can also try backtesting on other time periods.
The default parameters present in the strategy is works best for most of famous cryptocurrencies on 4H time period.
Please DM me if you would like to tryout 7 Days free trail.
Simple and efficient MACD crypto strategy with risk managementToday I am glad to bring you another great creation suited for crypto markets.
MARKET
Its a simple and efficient strategy, designed for crypto markets( btcusd , btcusdt and so on), and suited for for higher time charts : like 1hour, 4hours, 1 day and so on.
Preferably to use 1h time charts.
COMPONENTS
MACD with simple moving average
ENTRY DESCRIPTION
For entries we have :
We check the direction with MACD . Depending if its an uptrend and positive level on histogram of MACD we go long, otherwise we go short.
RISK MANAGEMENT
In this strategy we use a stop loss based on our equity. For this example I choosed a 2% risk .That means if our account has 100.000 eur, it will automatically close the trade if we lose 2.000.
We dont use a take profit level.
In this example also we use a 100.000 capital account, risking 5% on each trade, but since its underleveraged, we only use 5000 of that ammount on every trade. With leveraged it can be achieved better profits and of course at the same time we will encounter bigger losses.
The comission applied is 5$ and a slippage of 5 points aswell added.
For any questions or suggestions regarding the script , please let me know.
High/low crypto strategy with MACD/PSAR/ATR/EWaveToday I am glad to bring you another great creation of mine, this time suited for crypto markets.
MARKET
Its a high and low strategy, designed for crypto markets( btcusd , btcusdt and so on), and suited for for higher time charts : like 1hour, 4hours, 1 day and so on.
Preferably to use 1h time charts.
COMPONENTS
Higher high and lower low between different candle points
MACD with simple moving average
PSAR for uptrend and downtrend
Trenddirection made of a modified moving average and ATR
And lastly elliot wave oscillator to have an even better precision for entries and exits.
ENTRY DESCRIPTION
For entries we have : when the first condition is meet(we have a succession on higher high or lower lows), then we check the macd histogram level, then we pair that with psar for the direction of the trend, then we check the trend direction based on atr levels with MA applied on it and lastly to confirm the direction we check the level of elliot wave oscillator. If they are all on the same page we have a short or a long entry.
STATS
Its a low win percentage , we usually have between 10-20% win rate, but at the same time we use a 1:30 risk reward ratio .
By this we achieve an avg profit factor between 1.5- 2.5 between different currencies.
RISK MANAGEMENT
In this example, the stop loss is 0.5% of the price fluctuation ( 10.000 -> 9950 our sl), and tp is 15% (10.000 - > 11500).
In this example also we use a 100.000 capital account, risking 5% on each trade, but since its underleveraged, we only use 5000 of that ammount on every trade. With leveraged it can be achieved better profits and of course at the same time we will encounter bigger losses.
The comission applied is 5$ and a slippage of 5 points aswell added.
For any questions or suggestions regarding the script , please let me know.
Intraday Trend Following Algorithm [Bitduke]Description :
Trend following strategy that constantly adjusts to volatility and avoids of most whipsaws; rapidly moves up or down according to a quickly changing market. Great strategy for high volatile markets, like crypto market.
Based on a couple of special moving averages with integrated smoother which helps to avoid whipsaws.
Backtesting
Backtested on BTCPERP ( FTX ). It shows much better results on 4h timeframe (more than 222% YTD) and relatively low drawdown which allows you to use up to x3 leverage without a fear of huge losses. I.e if we have 5% drawdown for this strategy and using x3 leverage then to be prepared to 15% drawdown maximum in this case.
Initial Capital: $1000
Capital per trade: $1000
Including fee: 0.075% (buy + sell) side, type "taker"
When we get a signal (green/red column on chart) algo opens a trade by the next candle open price.
Others:
Risk management: Stop loss/Take profit in %
Strategy doesn't repaint .
----------
To access: sign up on FTX using ref link from my signature.
PD Crypto Performer PRO (Backtest)Description:
This is the backtesting version of the PD Crypto Performer Pro (Alert) . You can choose to backtest either one of the two strategies included, a trend-identifying swing strategy and a low risk scalping strategy. Both strategies assume the same capital amount invested ($10,000) each trade. You can also see how your capital grows over time by enabling the reinvesting proceeds option. For details, please check out this tutorial .
The backtesting results could be easily improved in live trading by utilizing the “Take Profit” signals and following the recommended methods of use below.
To assist the decision-making process, the code currently references BTCUSD. As a result, it is only suitable for crypto traders. However, we are working on the stock and forex versions, and the Performer will have these compatibilities soon.
Most importantly, our signals DO NOT REPAINT !
Recommended Use:
- Time Frame: 1HR
- Asset: Large cap crypto assets.
For lower risk tolerance, we recommend using the indicator on ETHUSD. For maximizing profits, we recommend using the indicator on BCHUSD.
- Always set stop loss according to your own risk tolerance
- Take profits along the way. Check out this video tutorial for when to reenter after our take profit signals.
Recommended Use for Advanced Traders:
- Position sizing:
Larger position if the 1HR signal is in the same direction compared to the 4HR trend.
Smaller position if the 1HR signal is in the opposite direction compared to the 4HR trend.
- Better entry/exit points:
Track the 1HR signal for the asset you are trading on other exchanges along with the BTCUSD 1HR signal. Sometimes, the signals from different exchanges occur with a 1-2 hour difference. You could use these earlier signals along with a lower time frame (eg. 15min) entry confirmation from your own exchange for better entry / exit points.
- Use “Take Profit” signals for counter trend scalps. Recover at the reentering opportunities . This works best with candlestick pattern confirmations.
Never use this if you suspect a flag / inverted flag pattern is forming.
Go to www.phi-deltalytics.com and sign up for a FREE trial today!
Let us know if you have any questions or recommendations. We are here for your success!
Disclaimer:
It should not be assumed that the methods, techniques, or indicators presented will be profitable or that they will not result in losses. Past results are not necessarily indicative of future results. This is not a solicitation of any order to buy or sell.
PD Crypto Performer (Backtest)Description:
This is the backtesting version of the PD Crypto Performer (Alert) . The strategy assumes the same capital amount invested ($10,000) each trade. You can also see how your capital grows over time by enabling the reinvesting proceeds option. For details, please check out this tutorial . The backtesting results could be easily improved in live trading by following the recommended methods of use below.
To assist the decision-making process, the code currently references BTCUSD. As a result, it is only suitable for crypto traders. However, we are working on the stock and forex versions, and the Performer will have these compatibilities soon.
Most importantly, our signals DO NOT REPAINT !
Recommended Use:
- Time Frame: 1HR
- Asset: Large cap crypto assets.
For lower risk tolerance, we recommend using the indicator on ETHUSD. For maximizing profits, we recommend using the indicator on BCHUSD.
- Always set stop loss according to your own risk tolerance
- Take profits along the way.
Recommended Use for Advanced Traders:
- Position sizing:
Larger position if the 1HR signal is in the same direction compared to the 4HR trend.
Smaller position if the 1HR signal is in the opposite direction compared to the 4HR trend.
- Better entry/exit points:
Track the 1HR signal for the asset you are trading on other exchanges along with the BTCUSD 1HR signal. Sometimes, the signals from different exchanges occur with a 1-2 hour difference. You could use these earlier signals along with a lower time frame (eg. 15min) entry confirmation from your own exchange for better entry / exit points.
Go to www.phi-deltalytics.com and sign up for a FREE trial today!
Let us know if you have any questions or recommendations. We are here for your success!
Disclaimer:
It should not be assumed that the methods, techniques, or indicators presented will be profitable or that they will not result in losses. Past results are not necessarily indicative of future results. This is not a solicitation of any order to buy or sell.
Directional Momentum Flux StrategyDirectional Momentum Flux (DMF) is a compound indicator designed to surface signals of projected change in directional momentum. The primary goal is to identify possible momentum inflection points and signal them before they happen, which is reached by applying a set of well-known high-level indicators (e.g. DEMA, RSIs, CCIs and VWAP), lower-level indicators (e.g. BOP, PPO and RMOMO), and some special sauce brewed in-house by yours truly.
This strategy is invite-only. Invitations are offered for a one-time fee of $250 payable in several cryptocurrencies (ETH, BTC, DASH, XMR or ZEC). Once you've got an invitation, you will automatically receive updates forever*.
DMF was designed to work across multiple asset classes. Extensive backtesting has been performed over multiple sample series (not just during the bull runs, for example) and against a randomized pool of assets. But don't take my word for it, I've included some time-based backtesting support tools to make it easy-peasy for you to validate the results yourself!
Under the hood, DMF is powered by numerous indicators, including:
✓ Double EMA & Composite SMA;
✓ Double RSI (fast & slow, variable);
✓ Composite StochRSI & VWAP (StochRSI+, two series);
✓ Composite Commodity Channel Index (CCI+, two series);
✓ Volume-Weighted Balance of Power (BOP itself was adapted from BOP_LB, kudos to LazyBear);
✓ Percentage Price Oscillator (PPO, split, two series);
✓ Range-adjusted Momentum Oscillator (RMOMO, my fancy MOM variant);
It crunches all that data and generates signals which are issued in two ways:
✓ Vertical Bands (or VBs) - Entry/Exit windows as vertical bands that remain "lit" (e.g. the background of a series of candles is semi-opaque white) while the top-level signals are showing sufficiently strong BUY signals. These windows are the primary entry/exit targets and can be relied upon with sufficient risk mitigation (e.g. a reasonable stop-loss or other scale-out exit mechanism). A VB followed immediately by an egg is as good as gold.
✓ Eggs - Entry/Exit validation signals that confirm the condition indicated by VBs. A lit VB without an egg in the same or next candle session is considered to be valid , but not safe (see above warning). Waiting for an egg can improve performance at the risk of missing the best possible entry point. Consider your risk tolerance and act accordingly.
Basic Instructions:
✓ Configure The Settings! The defaults are pretty good, but don't be scared to try variations. For example, by default SHORT positions are disabled. You might want to enable them if your risk tolerance allows them. (IMO there's gold on both ends of the rainbow. 🌈)
✓ Pay attention to the VBs. If you see a lit band being placed in an otherwise dark area, it's a projected inflection point. This is expected to be validated and confirmed in the same or immediately following period with an egg. You can enter a LONG position at this time.
✓ Pay attention to the eggs. If you see an egg, it's a confirmation that the VB changes in the same or immediately preceding candle period is valid. If you did not enter or exit your position at the point of the VB shift, now is the time to do so.
✓ Watch for the end of a VB period and be prepared to exit your position quickly as the next egg may be accompanied by a large directional momentum inflection.
Things to Note:
📉 - DMF is designed for day trading with aggressive position TTLs (15m was the upper bound during development and strategy testing). It appears to issue valid signals for other intervals, but it was not designed for >15m and YMMV. Don't go manually opening a LONG with no exit strategy and go to sleep... it probably won't work out to your benefit. You should be prepared to exit positions at any time. (Pro tip: automation is your friend!)
💸 - DMF indicator is not free from risk. As with all investment strategies, it is crucial to exercise caution and only trade with funds you are comfortable losing. DMF does not offer any form of guarantee or warranty, implied or otherwise. If you lose money, your house, your 401K... that's on you. (Pro tip: don't risk anything you're not ready to lose, because losses are part of the game and you WILL have them.)
🤔 - By using this indicator, you understand that any and all risks are the sole and complete responsibility of the end user (yeah, that's you). Don't use it if you're not 100% clear that you know exactly what you're doing. (Pro tip: always ask questions if you're feeling confused.)
⏱ - * Forever in this context means that, where room for improvement exists, I will improve it over time and you'll get all updates until I stop making them. (Pro tip: nobody lives forever.)
Megalodon Pro Automated Shorter Term Trader BacktesterSTRATEGY
When to buy: Green bar - Orange bar Closes
When to sell: Purple bar closes
Stop to trailing: No
Stop loss: No
Commission Rate: 1%
Willing to risk per trade: 10%
Maximum possible trades in one direction: 10
RESULTS
Net Profit without 1% commission: 112.64%
Net Profit with 1% commission: 103.92%
Starting Balance: $100,000
Profits Made: $103,918.38
New Balance with 1% commission: $203,918.38
Dates traded: 3/17/2019 and 8/3/2019
Total Close Trades: 80
Percent Profitable: 98.75%
Profit Factor: 152.158
Max Drawdown: 0.35% - $745.14
Buy & Hold Return: 174.66%
Commission Paid: $9621.46
Total Open Trades: 10
Number of Winning Trades: 79
Number of Losing Trades: 1
Avg Win Trade: 1.33%
Avg. Lose Trade: 0.92%
Largest Win Trade: 2.77%
Let me know what you guys think about the results?
Due to the tradingview's limitations on providing the shorter time frame price data, we had to provide a 60 minute time frame backtesting results.
The shorter time frames including 1 minute and 15 minutes backtesting results are way more accurate and precise than 60 minutes time frame results.
Megalodon Trading
Enlightening the Modern Investors
15MEX Momentum ScalperAlpha product project in development. Uses a combination of MACD and T3-CCI with tweaked settings to catch directional momentum and scalp a small move. Strategy is quantity of trades over quality of trades to build profits.
Use this strategy for 15-min Bitmex scalping on XBT contracts only. Recommend 100k contract size or less; backtested with 100k contracts.
Market enter, then use post-only limit exits and stop losses.
Setting is pre-optimized for 0.5% tp target and 0.5% sl of entry price. Recommend default 3 bars as basis for confirming recent MACD crossover as well as default 0.618 Fibonacci ratio as the T3-CCI basis.
Default risk level setting is approximately 2-3 trades a day. You can double the amount to 4-5 trades a day by enabling Aggressive mode. This may lead to larger profits and more entries, but with more frequent stop losses.
Future version will include trailing TPs/stops. Still undergoing optimization and refinement.
RePaNoCHa [Backtest]This is a very long script and adjusting the settings can be a bit slow so I share some settings. (these may be even better)
It has no security() and no Heikin Ashi so no repaint and Backtest is real.
It's important to adjust correctly the tics/pips correction.
All timeframes but good results at 2H
Default settings for ETHUSD (BITMEX) 2H
Alerts version coming soon...
Enjoy!!!
"Este script es la repanocha"
XBTUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 8
T3 Volume Factor = 0.9
Range Filter+ADX == true
Sampling Period = 16
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 10
ADX Threshold = 20
Parabolic SAR == true
SAR start = 0.03
SAR inc = 0.02
SAR max = 0.3
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.2
Trailing Stop Offset % (when profit=10 %) = 1.2
Stop Loss = 3.2
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
ETHUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 6
T3 Volume Factor = 0.7
Range Filter+ADX == true
Sampling Period = 10
Range Multiplier = 0.9
Flat Market Trades == true
ADX lenght = 11
ADX Threshold = 19
Parabolic SAR == true
SAR start = 0.06
SAR inc = 0.07
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss = 3.2
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
BNBUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 == true
T3 Length = 6
T3 Volume Factor = 0.7
Range Filter+ADX == true
Sampling Period = 17
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 5
ADX Threshold = 18
Parabolic SAR == true
SAR start = 0.04
SAR inc = 0.03
SAR max = 0.25
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 10000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
LTCUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 11
Range Multiplier = 1.1
Flat Market Trades == true
ADX lenght = 6
ADX Threshold = 22
Parabolic SAR == true
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
TRXUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 == true
T3 Length = 7
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 8
Range Multiplier = 1.1
Flat Market Trades == true
ADX lenght = 4
ADX Threshold = 22
Parabolic SAR == true
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.25
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
NAS100 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 12
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 18
ADX Threshold = 21
Parabolic SAR == true
SAR start = 0.08
SAR inc = 0.06
SAR max = 0.25
Pyramiding = 15
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss == false
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 3 contracts
Commission value = 0.2 USD per contract
NATGAS(OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1
Range Filter+ADX == true
Sampling Period = 15
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 12
ADX Threshold = 21
Parabolic SAR == true
SAR start = 0.08
SAR inc = 0.06
SAR max = 0.4
Pyramiding = 15
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss == false
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 4500 contracts
Commission value = 0.002 USD per contract
SPX500 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 4
T3 Volume Factor = 0.8
Range Filter+ADX == true
Sampling Period = 14
Range Multiplier = 1.3
Flat Market Trades == true
ADX lenght = 12
ADX Threshold = 17
Parabolic SAR == true
SAR start = 0.09
SAR inc = 0.04
SAR max = 0.2
Pyramiding = 15
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 0.5
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 8 contracts
Commission value = 0.2 USD per contract
US30 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 4
T3 Volume Factor = 0.9
Range Filter+ADX == true
Sampling Period = 11
Range Multiplier = 1.1
Flat Market Trades == true
ADX lenght = 16
ADX Threshold = 24
Parabolic SAR == true
SAR start = 0.08
SAR inc = 0.03
SAR max = 0.05
Pyramiding = 15
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.075
Trailing Stop Offset % (when profit=10 %) = 0.5
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 1 contracts
Commission value = 1.5 USD per contract
WHEAT (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 == true
T3 Length = 3
T3 Volume Factor = 1.1
Range Filter+ADX == true
Sampling Period = 12
Range Multiplier = 0.9
Flat Market Trades == true
ADX lenght = 13
ADX Threshold = 21
Parabolic SAR == true
SAR start = 0.1
SAR inc = 0.05
SAR max = 0.15
Pyramiding = 15
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 2.5
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 2500 contracts
Commission value = 0.003 USD per contract