PrismBot

Ultimate Kinski Histogram Strategy [PrismBot] [Lite]

PrismBot Atualizado   
This is an anti-curve fitting strategy that has no value inputs for the strategy settings. It just works, as they say.

This is based on the @KINSKI Buy-Sell Signal, but also incorporates other confluence (an MACD and histogram) and incorporates it into a fully automatable strategy with customizable order settings and quantity calculations.

The strategy has potential in scalping, but works best (in my testing) on higher timeframes (15M and up) with the default strategy.

Included in this Strategy:

✔️ Tweak a multitude of specific settings (MA lengths, R:R, SL distance etc)

✔️ Enable advanced setup filters

✔️ Use money management and risk calculations

✔️ Draw trade info directly to chart (eg. SL size in percent, win rate etc)

✔️ Use various filters (eg. time filter, date filter, MA slope angle etc)

✔️ Manage risk per position when auto-trading forex through AutoView

✔️ Choose from various alert conditions!

✔️ Sync to any bot or algorithmic trading system
Notas de Lançamento:
💎 Prism Core Update 💎
ver. 3.0.r124

New Features

- Finalized features for Prism Bot alpha launch
- Added Kinski Histogram Strategy (updated with additional ADX filter)
- Updated RSI Strategy to include an "Inverted Strict" option. Removed 50/50 method and Strict 50/50 as these can be achieved with Standard and Strict standard modes, making them redundant.
- Added functionality to allow trades to close on the same bar as entry. By default it is enabled when adding a strategy to the chart.
To enable this manually if your strategy is still on your chart, go to the
Settings -> Properties tab -> check "Recalculate > After Order is Filled"
- Added more titles for previously empty title inputs for better compatibility of DaviddTech Optimizer sharing
- Added new status table values for better information visibility of automated orders
- Added option to disable colored background of trades
- Added strategy modes (Hedge Mode, Normal Mode, Exit Early Mode, and Reversal Mode)
- Changed "Enable Long" and "Enable Short" to a simple dropdown "Trade Directions"
- Added new placeholder "Trailing Take Profit Offset As Percent". Useful for Finandy

General Fixes and Updates

- Fixed a bug that would keep showing the values of a stop / tp / entry of previous trade after the trade ended. (Table now shows NaN / or null value)
- Removed some outdated code
Notas de Lançamento:
💎 Prism Core Update
ver. 3.0.r132

Fixed an issue causing placeholder values not to execute on new orders
Fixed an issue preventing calculations of Reversal Mode values on reversing trades for placeholders
Fixed an issue not showing Entry Price on status table
Notas de Lançamento:
💎 Prism Core Update
ver. 3.0.r192

New Features
Added option for sending Trailing Offset Percent value based on Entry Price or Trailing Trigger Value
Added option for using High and Low values for stop losses
Added an Emergency Stop when using "Require Close Below Stop Loss"
Added additional input options on Kinski Histogram Strategy
Kinski Histogram
Added ADX, 3XMA, and RSI filters
Hooked Kinski ADX into native ADX system calculations

General Updates
Converted several strategy, quantity, alert, and other calculations into condensed functions for faster load times, and smaller file sizes. These updates should have no effect on the accuracy of trading. However, if you notice any bugs or mistakes in various confluence strategies, do let us know.

Bug Fixes
Fixed an issue showing negative price values and incorrect plotting of Scaling Exits
Fixed an issue sending NaN / Null values for Entry Price while in a trade
Fixed an issue preventing scaling exits from trailing with the main exit system
Fixed an issue causing ATR Max Stop % from changing stop losses when inactive
Notas de Lançamento:
💎 Prism Core Update
ver. 3.1.r211

New Features
Added plot placeholder for Emergency Stop. When using emergency stop, the plotted placeholder is {{plot("ES Stop Loss")}}
Added fill area for Emergency Stop and plotted to chart
Added ability to adjust Supertrend factors by steps less than 1.
Added a Margin Call estimation. This is just an estimation and you should always check this calculation against your exchange maintenance margin requirements.
Added Open Interest filter (requires no setup) to RSI and TV Technicals Strategies

General Updates
When using risk based quantities and calculating risk per trade, your cap will now consider the leverage when capping the trade.
Updated strategy alert outputs for PrismBot

Bug Fixes
Reverted the MACD strategy to the old calculations due to concerns with the new functions not working as expected
Notas de Lançamento:
💎 Prism Core Update
ver. 3.1.r217

MACD Updates
Added Histogram only filter option (just filters long and short direction using the histogram)
Fixed an issue with the MACD Strict Standard not getting precise crossover points

Added option to disable or enable Margin Call simulation
Notas de Lançamento:
💎 Prism Core Update
ver. 3.1.r286

New Features

Added new functions to handle stop and profit level calculations for simplified structure of entry and exit
Added custom titles to Supertrend inputs for optimizer sharing
Added input for Normalize Period on N-MAC strategies
Added input for Offset of PrismBot entries

General Updates

Changed all profit and loss values to be to the nearest tick to prevent issues when automating trades with bots
Adapted more inputs / outputs for PrismBot alert systems
Moved "Realtime Code" table into the main bottom right table.
Rounded Margin Call value to minimum tick.
Updated ADX strategy to improve results for DMI inclusions.
Allowed "Date Range Filtering" to be used with PrismBot "Send Contracts" option, not just Realtime / Live trading.

Bug Fixes

Fixed an issue with negative scaling exit values not exiting properly
Fixed an issue causing Emergency Stop to continue plotting to the chart when Stop On Close is not activated but emergency stop is.
Fixed an issue causing take profit targets to not adjust to the stop level when using Risk Based take profits and using ATR Max Stop. Made this an optional parameter.
Removed Open Interest Indicator - it was causing issues with bar replays and I was unable to fix it.
Notas de Lançamento:
💎 Prism Core Update
ver. 3.2.r305

New Features

• Made some changes / fixes to the Strict DMI (ADX Strategy) option
• Added new inputs to ADX / DMI
• Added DMI Channel Strategy to ADX Strategy
• Added all crossing possibilities to ADX Strategy

General Updates

• Changed the MACD input for deviation to a Min / Max value, useful for inverted MACD values.
• Added function to store MACD filter rules
• Included MACD filter rules in NMACD strategies for consistency

Bug Fixes

• Fixed an issue calculating minimum tick values incorrectly
Notas de Lançamento:
💎 Prism Core Update
ver. 3.2.r310

New Features

• Added MA Stop type

General Updates

• Removed exchange restriction from Brain Trust Strategy auto mode

Bug Fixes

• Fixed an issue retaining message ID value for PrismBot alerts through to the end of a trade
Notas de Lançamento:
💎 Prism Core Update
ver. 3.2.r314

New Features

• Added new Martingale risk adjustment system
⚠️ Use with great care! Read tooltips! ⚠️
• Added Volatility Based Quantity Executions

General Updates

• It is now possible to use decimal values in the RSI Overbought and Oversold values.

Bug Fixes

• Nothing to report!
Notas de Lançamento:
💎 Prism Core Update | Hotfix
ver. 3.2.r317

New Features

• Added more information to win / loss labels (short / long and amount won or lost)

General Updates

• Risk amount gets shown now in the Quantity Calc section of the table (bottom right) when using Volatility Based risk

Bug Fixes

• Fixed an issue preventing PrismBot from receiving risk values when using Volatility Based quantity calculations
Notas de Lançamento:
💎 Prism Core Update
ver. 3.3.r326

New Features

• Added more information about win and loss streaks
• Added new Brain Trust Strategies (10 and 15 minute Strategy 3)
• Added view options for tables on Mobile or Desktop

General Updates

• Updated backtest table to include more data and color schemes
• Updated value memory systems

Bug Fixes

• Fixed emergency stop values on reversal mode.
Notas de Lançamento:
💎 Prism Core Update
ver. 3.3.r331

New Features

• Added Waddah Attar Explosion Strategy
• Added Take Profit and Stop Loss alert message boxes

General Updates

• Updated some plotting systems
• Some quality of life changes to layout and information for setup of the PrismBot

Bug Fixes

• Fixed an issue that, for some strategy types, prevented entry when using ATR, MA, and High / Low Stop Loss or Profit Targets
• Fixed an issue with diagonal lines between sequential trades
Notas de Lançamento:
💎 Prism Core Update
ver. 3.3.r337

New Features

• Added a welcome message with helpful startup information for new users.

General Updates

• Consolidated alert, stop, profit, scaling exit, and quantity functions
• Updated default start / end date for date filtering
• Cleaned up backtester table

Bug Fixes

• Fixed a text bug showing "Long TP" instead of "Long SL" when using "Require Close Below Stop Loss"
• Fixed an issue sending conflicting information to PrismBot when "Require Close Below Stop Loss" is unchecked and "Emergency Stop" is checked
• Fixed an issue using the incorrect pivot for short entry quantity calculations when using Hi/Lo based stops
• Fixed an issue preventing the strategy from exiting on the first bar of a trade when it crosses take profit and stop loss values on the first bar of the trade
Notas de Lançamento:
💎 Prism Core Update
ver 3.4.r368

New Features

• Added an auto-leverage feature that will calculate how much leverage your strategy setup requires for the risk you are using. Read tooltip!
• Stop loss now also prints as a percentage. When using Emergency Stop, you will see that percentage.
• Added % PnL to the Win / Loss labels

General Updates

• Removed the quantity capping feature that would cap your position sizes if your equity was not enough for a position size to be opened.
• Moved leverage inputs into the main PrismBot settings
• Risk % in the order table is now static during a trade and shows NaN when not in a trade
• Changed Table wording of "Qty Calc" to "Position Size"
• General code cleanups for faster processing
• Cleaned up order table to display blank instead of NaN when there is no calculated value

Bug Fixes

• Fixed an issue not updating the Risk % in the Order Table when using Martingale
• Fixed an issue causing the first trade of a strategy to be higher when using Martingale and Live Trading
• Fixed an issue preventing the backtester from executing scaling exits when using Trailing Take Profit
• Reverted a change allowing the strategy to exit on the first bar of a trade due to conflicts with other strategy systems and proprietary code. Need further development before implementation.
Notas de Lançamento:
💎 Prism Core Update
ver 3.4.r378

New Features

• Added Double and Triple MA options to Triple MA Strategy

General Updates

• Updated internal alert systems and functions for efficiency

Bug Fixes

• Fixed an issue preventing exit on the same bar as entry.
Notas de Lançamento:
💎 Prism Core Update
ver 3.4.r379

New Features

• Nothing to report!

General Updates

• Nothing to report!

Bug Fixes

• Fixed an issue preventing accurate TP / SL exit on historical bars and real time bars on the first bar of a trade
Notas de Lançamento:
💎 Prism Core Update
ver 3.5.r402

New Features

• Added OB / OS Max / Min values for RSI
• Added new strategy for Brain Trust (Better Replacement for BTC 10m Strategy 2)

General Updates

• Removed watermark(s) for updated TOS compliance

Bug Fixes

• Nothing to report!
Notas de Lançamento:
💎 Prism Core Update
ver 3.5.r492

New Features

• Added TDFI filter to MACD, RSI, and Hyperscalper strategies

General Updates

• Added minor system updates and fixes for PrismBot updates.
• Added additional information for some tooltips.


Bug Fixes

• Fixed an issue preventing exits when using the Scaling Exit feature
Notas de Lançamento:
💎 Prism Core Update
ver 3.6.r000

New Features

• Added Rate of Change strategy option to Triple MA Strategies
• Added an option to override the default Stop Loss and Take Profit order settings for the Brain Trust presets strategies

General Updates

• N/A


Bug Fixes

• Another fix to Scaling Exits getting stuck open because of a weird math thing with Tradingview's percentage calculations.
Notas de Lançamento:
💎 Prism Core Update
ver 3.6.r105

New Features

• Added RSI to Hyper Scalper strategy
• Added RSI Cross strategy (uses 2 RSIs and detects crossovers)
• Added multitimeframe option to Supertrends strategy

General Updates

• Removed "Live Trading" system. Better is to use Date Range Filtering.
• Updated some tooltips
• General improvements
• Updated conditions for 3X EMA Strategy to require close above the slowest MA for Over / Under Filter.

Bug Fixes

• Added a temporary workaround to the label / table bug with charts.
• Fixed an issue with the BBP Indicator always forcing rate of change checks even when rate of change is not selected.
Notas de Lançamento:
💎 Prism Core Update
ver 4.0.r001

New Features

• Added 2xRSI Over / Under Filter Strategy option
• Added 2nd MA and MA strategy.
• Added an RSI option for the Triple Moving Averages
• Added an option to disable all errors from appearing (bottom of strategy)

General Updates

• Updated UX. Better organization and visibility of inputs.
• Other optimizations and fixes

Bug Fixes

• Fixed an issue with BBP not detecting proper ROC
• Fixed an issue where selecting the RSI by itself on the Hyperscalper Strategy, the welcome screen stayed on
Notas de Lançamento:
💎 Prism Core Update
ver 4.0.r012

New Features

• Added an option to set a minimum stop loss percentage when using ATR stop losses
• Added an option to select which of the two (Max or Min Stops) will adjust the Take Profit target

General Updates

• Removed Margin Call functions as they were not partciularly helpful and only causing confusion
• Updated some tooltips
• General code improvements and polishes

Bug Fixes

• Fixed an issue with Margin Calls errors
Notas de Lançamento:
💎 Prism Core Update
ver 4.0.r023

New Features

• Added an option to use a "Cross with Trend" strategy in Triple MA.
• Added an option to use a specific dollar risk amount

General Updates

• N/A

Bug Fixes

• Fixed an issue with the MACD Strict Standard not considering histogram when choosing long or short trades.
Notas de Lançamento:
💎 Prism Core Update
ver 4.0.r025

• Hotfix to Triple MA strategy
Notas de Lançamento:
💎 Prism Core Update
ver 4.1.r109

• Added new Triple MA Strategy Option (Price Action Range)
• Added a multi-timeframe and alternate symbol selection to every indicator. This will allow users to check other timeframes and check other symbols for that specific indicator within the strategy. This means for instance, ByBit users can check the Binance RSI / MACD / etc. to get signals instead of using the ByBit charts. This is not present in all Lite strategies, but is present in the Lite Brain Trust strategy.
• Removed and consolidated some inputs and strategy options (anything MTF is now consolidated in the Alternate Symbol inputs)
Notas de Lançamento:
If you notice these exploratory strategies exiting early, switch the "Exit Detection Mode" to "All"

💎 Prism Core Update
Version 4.2.r046

New Features

• Introduced the ability to choose any candle type (Heikin Ashi, Renko, Kagi, etc.) for every indicator across all strategies using Alternate Symbols.
• Incorporated "Early Exit/Reversal" types to each indicator and a selection of other indicators, along with the option to choose which conditions trigger an early exit or reversal for specific indicators.
• Enhanced WAE with more entry option types and additional MA types for the MACD.
• Included a setting for tablet-sized devices in the table configurations.
• Added a version table at the top of charts (with the choice to remove it in the strategy).
• Added a minimum offset / callback rate to Trailing to ensure trade executions on exchanges that require it.
• Added new inputs for Early Exits alerts (enable them, and a custom message input box).

General Updates

• Simplified "Alternate Symbol" inputs by renaming them to "Sym."
• Eliminated "Early Exit Mode" from the Strategy Mode dropdown, as it is now accessible through the "Exit Strategy" dropdown for each indicator.
• Clarified some indicator statuses based on the strategy being used.
• Removed "Sensitivity" options for strategies with length inputs (BBP, MACD, ADX) to reduce confusion for users.
• Removed BBP from "TV Technicals" Strategy as the new coding updates were beyond allowable scripting limits of Tradingview.

Bug Fixes

• Improved the internal function for anti-repainting compliance with TradingView's internal systems, reducing historical repainting on bar refreshes (though not entirely eliminating it).
• Resolved an issue causing TDFI to appear "Neutral" on the chart but display as red, as if it were short.
• Fixed a problem preventing color inputs on the TripleMA strategy from altering the colors of the MAs.
• Fixed an issue with Waddah Attar DEAD_ZONE being calculated on the current timeframe even when an alternate chart is used.

From Beta r023

• Fixed an issue with the incorrect candle type in ADX.
• Fixed an issue with early exit checking using inactve indicators
• Fixed an issue with incorrect calculations in WAE
• Fixed an issue with repainting on some candle types (maybe: use at your own risk)

Using Lite? Get Access to Our Pro Scripts:

prismbot.io

Join the Discord:

bit.ly/PrismDC
Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?