INVITE-ONLY SCRIPT
已更新 Swing Star

版本注释
Fixed calculation of processing orders on closed bar.版本注释
New Smart Strategy Alerts! 1.Type your buy and sell alert message in Input of Strategy Settings. Platforms that use JSON, just copy and paste the code inside, Cryptohopper and other platforms use &&& when there is a new line in message. See example in Strategy Input setting.
2.Create new alert, select Swing Star, type new name and add this code {{strategy.order.alert_message}} in message box. Delete all other text. This will automate alerts and send signals when strategy makes an order.
版本注释
If there is a Warning Popup for Strategy Repainting, don't worry I can assure you this Strategy calculates on the last, closing price update of a bar (Once Per Bar Close). This way script only checks for alert setups that happen on bar close before generating an alert.Before creating alert on Swing Star strategy make sure to turn off 'Recalcualte - On every tick'. It's turned on, just to show you profit dashboard on the chart, if you turn this off - dashboard will hide and re-appear on the first new opened candle. (it's just used to faster calculate and display you profits on the dashboard).
For historical bars on backtests there’s only one data point that can trigger an alert: the bar’s close. But for real-time bars there can be dozens to hundreds of data points: each price update gives our script a new chance to evaluate the alert setup.
How problematic this behaviour is for our script depends on the manual alert settings with Swing Star Alerts:
With the alert frequency set to ‘Once Per Bar’, ‘Only Once’, or ‘Once Per Minute’, the alert can happen with any price update inside a real-time bar, if you want to use them use Swing Star Alerts version.
Those settings increases the likelihood of the alert repeating, since there are now dozens or hundreds of price updates inside one bar that can trigger the alert.
To prevent that a real-time alert happens more frequent than alert setup on historical bars show. We have two options for that:
Set the manual alert frequency option to ‘Once Per Bar Close’ on 'Swing Star Alerts'. That has the script only trigger the alert when its condition is met at the bar’s close. This way the real-time alert does not happen more often than the script identified alert setup on historical bars.
Swing Star strategy have by default all orders send alerts on 'Once Per Bar Close' to make strategy accurate and get the same performance to your backtested, historical bar setup.
In any case, as was stated before, it is critical to understand that IF your strategy is taking decisions on realtime tick data, you are NOT running the same strategy you tested on historical bars with the bar close values only. Many people don't realize that, I made sure to script it the correct way. Swing Strategy trades on bar close (closed candle) by default. Swing Star Alerts have 4 options, if you want to set them differently, for example after every tick.
版本注释
This Trading Algorithm is subject to the terms of the Star Bots License at star-bots.com/eula-end-user-license-agreement/-Turned off "Recalculate - On every tick" by default.
版本注释
Added new RSI and EMA sell signals.版本注释
Quick fix of titles.版本注释
Added Supertrend, new styling and transperent profit table.版本注释
Updated SL and TP to be enabled / disabled individually.Better backtest range tool.
版本注释
Preparing for Swing Star optimizer.版本注释
Added trailing ATR stop版本注释
Added additional higher timeframe Supertrend, to filter out more trades.版本注释
Quick fix.版本注释
You can take profits on the resistance or stop trades if it goes below the support areas now!版本注释
Added Sideway-Choppy market filter, helps you with win rate and lower your drawdown in some cases.版本注释
Added Shorting版本注释
Swing Mode on/off, you are able to trade on any exchange/platform now.仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系Starbots。
请注意,此私密的、仅限受邀者使用的脚本尚未经过脚本管理员的审核,并且不确定它是否符合网站规则。 除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Visit https://www.star-bots.com where you can contact us and find guides for this strategy.
Private strategies and Signaler. star-bots.com
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系Starbots。
请注意,此私密的、仅限受邀者使用的脚本尚未经过脚本管理员的审核,并且不确定它是否符合网站规则。 除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Visit https://www.star-bots.com where you can contact us and find guides for this strategy.
Private strategies and Signaler. star-bots.com
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。