RobertD7723

Jackrabbit.modulus.StopLoss

RobertD7723 Uppdaterad   
This is an algorithic stop loss for the Jackrabbit suite and modulus framework.

This module is not a standalone and relies on previous modules to send a signal data in order to function properly. This module acts on buy and sell data from within the indicator on indicator framework that TradingView supports.

This module is NOT a substitute for a flat percentage based stop loss provided by trading platforms and many exchanges. This is an algorithic approach that is designed to follow the market. Such a methodology has been proven by many traders to help mitigate risk.

This module sets a risk/reward ratio to which a modified ATR is used to determine the stop loss and take profit. Note that the take profit can also be on the basis of the strategy sell markers. A multiplier and a look back are user configurable to help tune the module for more favorable results.

It is important to remember that this module does NOT allow accumulation, so your buying strategy will need to be surigical in nature to maximize your profits.

The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis.

This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
Versionsinformation:
BUG fix: Reward ration not as high as it should have been.
Versionsinformation:
Added "Ghosting" or ghost sell signals to address incomplete chart information that may lead to gaps in time data. This is purely diagnostic and should be used with extreme care.
Versionsinformation:
Simplified chart.
Versionsinformation:
Added selection for historic or live data.
Versionsinformation:
Added Support/Resistance (S/R) as a method to determine the stop loss exit point. ATR is used as a fuzzy factor to help block stoploss harvesting. S/R is now the DEFAULT method.
Versionsinformation:
Bug fixes and algorithmic tuning.
Versionsinformation:
Full overhaul of the S/R algorithm and removed ATR completely.

Fixed issues with incomplete chart data. Incomplete charts will block all buying/selling until the required data is present.

Overhauled profit methodology. This module now has a Take Profit/Strategy approach identical to the DCA module.

Added statistics to the stop loss line that shows the percent in price value that a stop loss will represent.
Versionsinformation:
Visual artifacts and glitches in shorting have been fixed.
Versionsinformation:
Fixed a few typos.
Versionsinformation:
Added trade cycles and average p[rofit. Both can be used in message alerts.
Versionsinformation:
Fixed visual error in average profit when shorting.
Versionsinformation:
Diagnostic text colors can now be changed.
Versionsinformation:
Method fpr pulling realtime/historic data has been rewritten. The algorithm is more effective and streamlined. Diagnostics text improved.
Versionsinformation:
Updated profit to use percentages below 1%.
Versionsinformation:
Fixed bug with take profit not allowing percentages below 1%.
Versionsinformation:
This is a complete and total rebuild from scratch.

This module now supports the following methods for take profit/Stoploss. The Reward/Risk ratio is the value approriate to the method. For example, Percentage would be 2%, while support/resistance would be candles, ie 200.

  • Strategy - close position on strategy signal
  • Pips - close position X pips away from entry
  • Percentage - close position X percent from entry
  • Support/Resistance - This is the calculated resistance, expressed in candles, ie, 200 candles as a lookback
  • Average True Range - the ATR of the asset as a specified multiplier, ie 7 would be 7 ATR's

The stoploss setting are identical to the above, except that there is no strategy exit for a stoploss.

This module works with all stocks, forex, and cryptocurrencies. Please be aware that each method must be applied to its proper market. Each market and asset must be analyzed according to its own charactistics and unqiue sturcture.

Join my Patreon for exclusive access to Jackrabbit TV,

www.patreon.com/RD3277
Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta RobertD7723 för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Författarens instruktioner

To learn more about accessing this script, please see my signature or send me a PM. Thank you.

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.