INVITE-ONLY SCRIPT

CyberBot {LM.Alerts} [BETA]

Updated
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.
Release Notes
Disabled FusionGaps (i.e. trade Longs only during FG-defined bullish phases, etc.) as default setting.
Release Notes
Updated parameters.
Moving AveragesOscillatorsVolume

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact cybernetwork for more information, or follow the author's instructions below.

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.

Author's instructions

PM me for free access to this BETA version.

Want to use this script on a chart?

Warning: please read before requesting access.

Disclaimer