INVITE-ONLY SCRIPT

PTStratX - Multi Period Tester for Profit Trailer 2

Cập nhật
PTStratX - 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.
Phát hành các Ghi chú
update default Settings

ảnh chụp nhanh
Phát hành các Ghi chú
v1.0.1 Hotfix
Phát hành các Ghi chú
V1.0.1:
Added:
- 3rd sell indicator
- Loss Buy-Strategy (was accidentally removed)
- Several more sell strategies
- Basic input errors will be shown (like wrong limit settings)
Changed:
- Cleaned up settings dialog a little bit
Fixed:
- buy_value_limit = 0 means really no limit
Phát hành các Ghi chú
Backtest range default settings update
Phát hành các Ghi chú
v1.0.2
Added:
- BBWIDTH strategy
Changed:
- Restricted time period settings per indicator, no longer per strategy (as per PT2)
- Price Trailing according to PT2 wiki
- DCA Anderson activated automatically for all strategies
- Improved plotting of indicators (additional Lines for BuyTrigger and LimitTrigger, for now only for Buystrat A)
Fixed:
- Error with MACD and HighBB no longer occurs
Phát hành các Ghi chú
v1.0.3
Added:
- Additional Script in TradingView to plot RSI, MACD, StochRSI in a separate window
Changed:
- MACD indicator: reimplemented calculation for different time periods for better comparison to PT2
- RSI indicator: reimplemented calculation for different time periods for better comparison to PT2
- StochRSI: Implemented formular according to PT2 (attention: this differs from the commonly known StochRSI on TV and is not comparible)
- Debug & Plotting settings: some adjustments & consolitations
Phát hành các Ghi chú
v1.0.4
Added:
- Debugging plots for trailing
Changed:
- Fixed and optimized trailing (buy, dca, sell)
- Minor cosmetic changes in plots and input
Fixed:
- StochRSI sell/buy reversed signal

Please note: If you are using our Chrome Extension to import settings from an older version, always check the settings.
Due to changes in the fields or additional input parameters, not everything might be imported correctly.
Especially when you are using "STOCHRSI", please choose the field again, as it might throw an error when in the script.
Phát hành các Ghi chú
v1.0.5
Added:
- rebuy_timeout and DCA_rebuy_timeout
- Drop/Rise-Recover Trigger
- DEFAULT_buy_min/max_change_percentage
- Stoch Indicator, but not as accurate as our other indicators, we will work on that in the in the following updates
(it is as accurate as the many other backtesting scripts)"
- Plotting the average buy price (yellow line)
- Showing the current profit of the open position (last figure in the data window)
Changed:
- StochRSI indicator: Reimplemented calculation for different time periods for better comparison to PT2
(Differences still exist between PT and PTStratX, we are in contact with the PT Team to further investigate)
- Indicator Periods can be choosen from a dropdown now
- Minor cosmetic changes in plots and input
- Range for backtesting allows further customization (minutes and hours added)
Phát hành các Ghi chú
v1.0.6

Added:
- DCA_percentage
- LOSS in DCA Buy strategies
- DCA Trigger can be disabled by setting it to 0
- DEFAULT_DCA_ignore_sell_only_mode
- Default Parameter for all DCA_buy_trigger and DCA_buy_percentage in case there is no specific value per DCA step
- Max DCA trigger increased to 60, with up to DCA9 specific parameters, after that the default parameters are used
Changed:
- STOCH indicator: Implementation for different candle periods improved to better match PT2
- Initial Capital set to 100 and Order Size to 1% as default settings
Fixed:
- DCA Anderson is deactivated when ALL DCA trigger 1 to 5 are deactivated (before, only dcaBuy 1-3 were necessary)
- EMA/SMACROSS cross candles refer to the set ema/sma period and not the main chart period
Phát hành các Ghi chú
v1.0.7
Added:
- DEFAULT_DCA_ENABLED
Fixed:
- DEFAULT_DCA_ignore_sell_only_mode does not ignore the DCA_Rebuy timeout any more
Phát hành các Ghi chú
v1.0.8
Added:
- SOM_DCA_buy_trigger
- GAIN/LOWBB/HIGHBB/EMAGAIN/SMAGAIN is triggered based on configurable prices (open, high, low, close)
Changed:
- StopLoss is triggered based on the low price (not close of a candle)
Phát hành các Ghi chú
v1.0.9
Added:
- STOCHRSID, STOCHRSIK and STOCHRSICROSS strategies
- DCA Sell Value for GAIN strategy
- DCA_trailing_profit
- value_limit for sell strategies
- trailing_profit_type and DCA_trailing_profit_type implemented
Changed:
- code optimizations to reduce compilation time
- set default paramGainSource to close
emaspreadhighbblowbbOscillatorsprofittrailerptsmacrosssmagainTrend AnalysisVolatility

Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ ptstratx để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView gợi ý bạn không trả tiền để sử dụng tập lệnh trừ khi bạn tin tưởng 100% vào tác giả của tập lệnh và hiểu cách hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy giải pháp thay thế nguồn mở tốt miễn phí trong Tập lệnh cộng đồng của chúng tôi.

Hướng dẫn của tác giả

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.

Thông báo miễn trừ trách nhiệm