INVITE-ONLY SCRIPT

CyberBot {LM.Alerts} [BETA]

已更新
This is the "LONGS-MANAGEMENT ALERTS" {LM.Alerts} of my Risk Management Engine to enable auto-trading via alerts signaling, which can then be fed into APIs of various exchanges which users can themselves setup on their own.

Only the long-signals, generated from the underlying Trading Edge algorithm, is used in this strategy-alerts script, with my latest risk-exit (collect gains) and stop-limit algorithms, as well as a bear-market filter, implemented.

The user is able to define the %gain for {LM.Alerts} to signal to collect or Lock-in Gains (CG) as well the %stop-loss for {LM.Alerts} to stopped-out (SL) the trade. Alternatively, the CG and SL %levels can also be set to be modulated by ATR. Exchange fees can be inputted into the {LM.Alerts} as well for the total gain to be calculated. These needs to be optimize for a specific chart and timeframe for optimal result which could be back tested to a maximum of 3000 candle bars.

~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~
Since {LM.Alerts} engine only focuses on trading and managing longs (entries and exits), a bear-market filter is implemented base on the FUSIONGAPS indicator.
The FUSIONGAPS algorithm signals local bull or bear market phases, and then disables trades conditionally to reduce the chances of having to take losses during a local bear market phase (since the short-signals are not traded).

Enabling the different (Fastest >> Slowest) FUSIONGAPS levels (e.g. 50/15, 100/50, 200/50, 200/100, etc) activates the use of each of these levels to decide the local bull/bear market phases.

So in summary, the {LM.Alerts} algorithm trades up a bullish-hill, taking profits along the way; but stops all trading activity when the market is rolling down a bearish-hill; and then once a local bull-phase is detected again, it resumes trading, etc.

Note: To trade on both bullish and bearish phases, {LM.Alerts} scripts can be applied on an inverse-chart (i.e. 0-BTCUSD) for shorts.

The {LM.Alerts} engine will be ported to my other more powerful trade-signaling scripts in the future.

~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~

In this BETA version, this script generates Buy/Sell signals simply by the crossing of two MA-lines, which parameters can be set by the user, before feeding into a Risk Management Engine for Longs-only (entries and exit) trades.

I'm working on this casually for now due to family commitments. However, do feel free to leave a comment or PM me to report on any bugs or suggestions, and I will consider them in my own limited free time, and may or may not take them on board eventually.

Use at your own risk.
版本注释
Disabled FusionGaps (i.e. trade Longs only during FG-defined bullish phases, etc.) as default setting.
版本注释
Updated parameters.
Moving AveragesOscillatorsVolume

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系cybernetwork了解更多信息,或按照以下作者的说明操作。

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

作者的说明

PM me for free access to this BETA version.

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

免责声明