PTStratX - Multi Period Tester for Profit Trailer 2PTStratX - Multi Period Tester for Profit Trailer 2
Profit Trailer 2 introduces trading with multiple indicators and indicator settings for Buy, DCA and Sell orders.
For the first time, it is possible to test and view up to 5 indicators in different time periods (1 min - 1 week) in one chart simultaneously!
Even experienced traders and chart analysts are facing difficulties now and struggle to create suitable strategies.
This script allows to find this "best" strategy with ease, learn about the indicators, visually verify your best strategy and finally run backtests (simulation) with historical data.
You immediately see if the strategy is good for profitable trades and then can test it by using the strategy tester in TradigView to find out how lucrative it would have been.
You find a list of all features here: ptstratx.com
For access to the full version of PTStratX, please visit ptstratx.com for further information.
DISCLAIMER
The creators of this script are not financial advisors, and as such, this script is no financial advice. Anything seen or used within this script is here simply for educational purposes and it is up to you to decide what to do with this information and its results. Please do your own research and verify any statements made before deciding to act upon them. Do not commit any of your own resources to any trading or cryptocurrency activities without first verifying the accuracy of the information and know that your decisions are your own.
Profittrailer
KingFisher V1Version 1 of a new script intended for use with Autoview. 5 independent conditions allow for a great deal of flexibility. This script can be used on any candle size. Please send a direct message if you want more information.
profit_trailer_basktesting_v3I rewrite the code of v2.
There are some differences between v2:
1. PT 2.0 support multi-strategy up to 5. => the script have A...E buy inputs.
Not support new strategies now, I'm not sure how they work in PT 2.0, I will add them if the wiki complete.
you may find the options in setting, but they are placeholders.
I will not add the indicators for RSI, MACD, and STOCH RSI, please use the built-in indicator in Tradingview. There is no way to change overlay state of a script in pine script as I know or you can pm me if you know about it.
2. Trailing is disabled now.
I have no idea how it works in multi-strategy, I will enable it if the PT 2.0 release.
3. Now you can set indicator period in the setting, the unit of it is minute different from PT itself.
the entry price of orders still depending on your chart resolution, so I recommend you set the chart resolution same as the main strategy you want.
Like SOM trigger in V2, there is data range limit depend on the resolution you choose.
4. DCA is rewriting now.
And I will release an Anderson only version if I have time to complete it.
5. Add rebuy timer and stop loss timer. the value of it is candles. it will look back N candles on the chart.
Feel free to donate if you think my scripts are useful.
BTC:17eguEeVVnLmYK9iDKQNxBQmKWNENH4bGj
ETH:0xb172BBc4CDAB7F334243A312A46FB8492674A914
BCH:qpy0zulq9s4pcqu3hd2m8h8h7tfm83jz7qle0690c4
PT MAGIC SCRIPTHey Guys, please read this before using the script. Thanks for checking out my script which I use for PT Magic. (Probably could be used for PT Feeder but never used it so not sure what config options you have)
Very Basic at this stage, this is based on "relative trend changes" and not "absolute trend changes"
TO BE USED ON THE 15 MINUTE CHART
in the default settings I place all coins in Sell only mode and then with the settings in this script activating pair sell only mode = false when the the backround is AQUA. I have used this in conjunction with Siedi's Script (see below) to determine when the buy points would be and then looking at the price going forward to see if it would make successful buys.
Siedi's script >>
NOTE: Using this script i have managed to get my Bot to trade 2% PER DAY on ETH.
Guys if you want this developed further feel free to donate and i will pay someone to develop into a tradingview strategy and hopefully integrate some Profit Trailer indicators.
If this has helped you feel free to share the love to help improve the indicator.
ETH address: 0x047294a4879bb1984e39c7e6e183fa510337426a
Use at your own risk. :D, Ask any questions in the comments
Crypto Buy/Sell Signals - AutoView - CryptoProToolsOur first indicator for use with Autoview / Gunbot or any other TradingView compatible trade bot.
The script uses a bunch of rules to filter out as many bad signals as possible.
Consider this the BETA version with more updates to come.
Current CryptoProTools members who want access just message me.
Get 10% OFF any AutoView Subscription with the coupon : JVBHV-BUTY0-F863G
PT_MA Cross VisualiserThis indicator is designed for use with Profit Trailer's CROSS strategies.
The user can select either EMA or SMA averages and input their own buy value settings.
PT_MA_GAIN_VisualiserThis indicator is designed for use with Profit Trailer's GAIN strategies.
The user can select either EMA or SMA averages and input their own buy value settings.
It incorporates trailing values, either manual trailing values or automatically calculated values based on volatility.
PT_maSpreadThis indicator is designed for use with Profit Trailer's SPREAD strategies.
The user can select either EMA or SMA averages and input their own buy value settings.
It incorporates trailing values, either manual trailing values or automatically calculated values based on volatility.
PT_LOW-HIGH BB VisualiserThis Bollinger Band indicator is customised for use with Profit Trailer.
It incorporates the various strategies (High BB, Low BB) and allows you to plot out your buy and sell values to see where your targets relate to price.
It incorporates trailing values, either manual trailing values or automatically calculated values based on volatility.
PT Magic Triggers - When smaller than Trend Value ( SOM )PTM Script for Profit trailer if you dont know what it is dont read :)
I just wanted to roll this out ASAP there will be no detailed description.
If the value is smaller then your defined Trend value it will make the background aqua.( Basically you want to be defensive in those areas ) Multiple logical conditions OR /AND combined are beeing worked on.
If questions i will try to answer them here in hour build factory discord.
discord.gg
PTF_UpDownVolatility for Profit Trailer FeederThis indicator for Profit Trailer Feeder plots out the values for four different Offset Groups:
1) Upside Volatility - green line
2) Downside Volatility - red line
3) Average Candle Size - orange histogram
4) UpsideDownsideVolatilityDifference - orange histogram
The user can switch between viewing histogram as either Average Candle Size or UpsideDownsideVolatilityDifference
PTF_Short and Long Term Price Change for Profit Trailer FeederThis indicator plots out the short term or long term price trend change as used in Profit Trailer Feeder.
It also has an optional background colouring that indicates the base coin price trend for use with "MinBaseCoinPriceChange".
Each time window (long or short) has its own customisable levels, that the user can input their own values into.
PTF_HighLowPricePercentage for Profit Trailer FeederThis indicator plots out the values for "HighLowPricePercentage" and "LongerTermHighLowPricePercentage" as used in Profit Trailer Feeder.
It has an option to switch from "MinutesToMeasureTrend" (Short) to "MinutesForLongerTermTrend" (Long).
SMACROSS for ProfitTrailer by BotIndicatorsThis is a highly adjustable indicator for the ProfitTrailer Crypto Currency Trading Bot.
You can use it to visualize the SMACROSS buy strategy. Here is how it works:
Set the candle size by setting your TV candle time accordingly
Set the candles used for Slow and Fast SMA Lines in the settings of this Indicator
Set the cross candles according to your needs.
Also set the buy value you would like to use on your bot to visualize the buy zones. You can set it either positive or negative.
The indicator will then show the Fast SMA, Slow SMA as well as the areas where the actual price exceeds the buy value you have set and would generate a buy signal for Profit Trailer. Please keep in mind that Profit Trailer may still use trailing buy and trailing profit to optimize your buy/sell situation, this can obviously not be shown through this indicator.
Note: This is a first public release, future modifications may follow and are then shown on this site as updates. Always read this page to the end.
EMACROSS for ProfitTrailer by BotIndicatorsThis is a highly adjustable indicator for the ProfitTrailer Crypto Currency Trading Bot.
You can use it to visualize the EMACROSS buy strategy. Here is how it works:
Set the candle size by setting your TV candle time accordingly
Set the candles used for Slow and Fast EMA Lines in the settings of this Indicator
Set the cross candles according to your needs.
Also set the buy value you would like to use on your bot to visualize the buy zones. You can set it either positive or negative.
The indicator will then show the Fast EMA, Slow EMA as well as the areas where the actual price exceeds the buy value you have set and would generate a buy signal for Profit Trailer. Please keep in mind that Profit Trailer may still use trailing buy and trailing profit to optimize your buy/sell situation, this can obviously not be shown through this indicator.
Note: This is a first public release, future modifications may follow and are then shown on this site as updates. Always read this page to the end.
HighLowPricePercentage of ProfitTrailer Feeder offset criteriaThis is to check the distance/difference of the current price from the norm and is over the MinutesToMeasureTrend time window or LongTermMinutesToMeasureTrend.
You need to put the values in your appsetting and time interval of candle chart.
Default is 120 minute of MinutesToMeasureTrend value and 720 minute of LongTermMinutesToMeasureTrend value on 5 minute candle chart.
This script is to help myself understand the criteria of Feeder.
Any comments and suggestions are welcome.
Upside Downside Volatility of ProfitTrailer FeederThis is to calculate UpsideVolatility, DownsideVolatility, UpsideDownsideVolatilityDifference, and AverageCandlesize in offset group of ProfitTrailer Feeder.
Volatilities are average changes between open and high or between open and low of 5 miniue candles in designated time frame by MinutesToMeasureTrend which can be inputable in format of this script.
In other words, volatilites are SMAspread between open and high or between open and low prices.
As described in wiki, use this script in 5 minute candle chart.
This script is to help myself understand the criteria of Feeder.
Any comments and suggestions are welcome.
profit_trailer_backtesting v2As a result of I can't update my previous post,https://www.tradingview.com/script/2SdFFndn/,I just post new one,change the visibility to protected.
Features:
Backtesting in profit trailer's strategy.
Support profit trailer's buy strategy :
HIGHBB,LOWBB,EMAGAIN,EMASPREAD,EMACROSS,SMAGAIN,SMASPREAD,SMACROSS
Sell strategy:
GAIN,HIGHBB
DCA_buy strategy:
LOWBB,EMAGAIN,EMASPREAD,SMAGAIN,SMASPREAD,SMACROSS
DCA_sell strategy:
GAIN,HIGHBB
SOM(Sell only mode),Use BTCUSD data in specific time range, because of the limit of tradingview,you will need to change the data resolution by BTC_data_source_resolution to backtest further date from now,but the result will be inaccurate.
trailing buy > This method may not be in the same way as PT itself,because we can't truly get the bid and ask in order book by tradingview. set it to 0 if you don't want to use it.
Indicators of those strategy.
PLEASE READ THE NOTE BELOW IF YOU WANT TO USE DCA STRATEGY
DCA_enabled_value (negative number) should be ALWAYS > ALL_stop_limit_trigger or the script will just do stop loss,this follow the setting of PT.
And it means the value of net loss you want to let the trade to be DCA. if second trade (DCA trade) be made, all setting prefix by ALL_ will be ignored exclude ALL_BTC_XXX prefix for sell only mode.
CA_buy_contracts will overwrite the value you set in script option > properties > order size to number of contract,default is 100% in qty_percent.
DCA_buy_value work like same thing ALL_buy_value does.
DCA_buy_trigger is the net loss value (negative number) of open trades,if statement of strategy reach and net loss < DCA_buy_trigger,the DCA will buy.
DCA_sell_trigger will only work when DCA sell strategy is HIGHBB,it work like ALL_min_profit.
DCA_sell_value means % profit in GAIN, % of BB in HIGHBB.
DCA_stop_loss_trigger will only work when ALL BUYS have be completed,that means if you set DCA_max_buy_times = 10 ,the script will buy 11 times include the first buy(not DCA buy).
The indicators of DCA may looks terrible,you can turn them off in option.
comment if you got bug or anything suggestion.
ToDo:
rebuy_time,stop_loss_timeout
Feel free to buy me some redbull.
ETH:
0xd793607CBA1d07fE5A94884076AE94C36B6e7D8d
Low SMA of SMAgain over the chart for ProfitTrailerLow SMA of SMAgain over the chart for ProfitTrailer
This script prints low SMA line over the chart.
Buy value and time frame numbers can be modified in format.
Basically this is same with previous scripts of mine.
Though this does not show the spread between the price and low SMA line (SMAgain) and buy value, you can see the buy trailing signal.
If you set buy value positive for gain starategy, the buy trailing will start from the time point indicated by "▲".
If you set buy value negative for gain starategy, the buy trailing will start from the time point indicated by "▼".
This script is to help myself understand the buy strategies of ProfitTrailer.
Any comments and suggestions are welcome.
Low EMA of EMAgain over the chart for ProfitTrailerThis script prints low EMA line over the chart.
Buy value and time frame numbers can be modified in format.
Basically this is same with previous scripts of mine.
Though this does not show the spread between the price and low EMA line (EMAgain) and buy value, you can see the buy trailing signal.
If you set buy value positive for gain starategy, the buy trailing will start from the time point indicated by "▲".
If you set buy value negative for gain starategy, the buy trailing will start from the time point indicated by "▼".
This script is to help myself understand the buy strategies of ProfitTrailer.
Any comments and suggestions are welcome.
EMAGAIN for Profit Trailer by BotIndicatorsThis is a highly adjustable indicator for the ProfitTrailer Crypto Currency Trading Bot.
You can use it to visualize the EMAGAIN buy strategy. Here is how it works:
Set the candle size by setting your TV candle time accordingly
Set the candles used for Slow and Fast EMA Lines in the settings of this Indicator
Also set the buy value you would like to use on your bot to visualize the buy zones. You can set it either positive or negative.
The indicator will then show the Fast EMA, Slow EMA as well as the the areas where the actual price exceeds the buy value you have set and would generate a buy signal for Profit Trailer. Please keep in mind that Profit Trailer may still use trailing buy and trailing profit to optimize your buy/sell situation, this can obviously not be shown through this indicator.
Note: This is a first public release, future modifications may follow and are then shown on this site as updates. Always read this page to the end.
SMASPREAD for Profit Trailer by BotIndicatorsThis is a highly adjustable indicator for the ProfitTrailer Crypto Currency Trading Bot.
You can use it to visualize the SMASPREAD buy strategy. Here is how it works:
Set the candle size by setting your TV candle time accordingly
Set the candles used for Slow and Fast SMA Lines in the settings of this Indicator
Also set the buy value you would like to use on your bot to visualize the buy zones. You can set it either positive or negative.
The indicator will then show the Fast SMA, Slow SMA as well as the the areas where the actual price exceeds the buy value you have set and would generate a buy signal for Profit Trailer. Please keep in mind that Profit Trailer may still use trailing buy and trailing profit to optimize your buy/sell situation, this can obviously not be shown through this indicator.
Note: This is a first public release, future modifications may follow and are then shown on this site as updates. Always read this page to the end.
EMAgainEMAgain in ProfitTrailer is the strategy using the spread difference between the price and combination of fast EMA and slow EMA .
Buy value and time frame numbers are from popular setting, which can be modified in format.
If you set buy value positive for gain starategy, it is mostly between the price and slow EMA except one or two candle right after cross (sometimes three candles). In the time point indicated by "▲", the trailing for buy will start.
If you set buy value negative for gain starategy, it is mostly between the price and fast EMA except one or two candle right after cross (sometimes three candles). In the time point indicated by "▼", the trailing for buy will start.
This script is to help myself understand the buy strategies of ProfitTrailer.
Any comments and suggestions are welcome.