lineAlerts is a powerful tool to define Buys, Sells and Buy-Sell lines for repeating actions. The possibilities vary from 1 Buy and/or Sell to repetitive Buying and Selling at definable lines from a specified point in time (Year, Month, Day and Hour to begin).
lineAlerts provides: + optional StartBuy and optional EndSell + in repeat mode: optional definable ending-action (Buy or Sell, which overwrites Stop-Out/Abort) + buy- and sell Lines can be angled separately by using non-zero entries in the Angle %perDay parameter + configurable Stop Loss (Percentage, Stop-Out/Abort-Only, Flat or Angled like Buy-Sell-Lines) + profit calculation and effective alerts can be set further than the beginning time (ActiveAfter#Hours) + empty-bar-correction for lower-liquidity pairs on short timescales (automatically on) + optional visual extension to the right for currently active buy-sell lines + Slippage Max. Percentage parameter, added to order price for Buying, subtracted for Selling (represented in the Buy-Sell markings and LastPrice lines, also calculated in Profit/Loss percentages) + Full Autoview Alerts automation in the Order parameters (for spot trading, this can be replaced with your own API commands while creating or modifying the TradingView alerts): - Separate order size entries for Buying and Selling - Choice between Percentage or absolute Amount for both Buying and Selling (choose the corresponding alert-drop-down option when creating an alert!)
The timeframe for running lineAlerts depends on the scale (duration) of the defined pattern. Running on a very small resolution, e.g. 1-5 Min, is suitable for a pattern of a few days to a week at most. This is because of the limited available historic data. Keeping your pattern lines shorter than a week on these micro-timeframes will produce accurate results/output. A pattern which may last a few weeks or even months can run flawlessly on a 1H resolution for example.
"Once per bar" is the best alert option in any case. To avoid multiple signals within 1 bar in highly volatile times, it is better to create the alert on the 1 or 4 Hour chart in stead of the daily chart for a pattern of multiple weeks for example. lineAlerts is suitable for any timeframe on any chart which is open 24/7, like most crypto currencies.
My other published indicators contain a handy combination of new and classical indicators and oscillators. With lineAlerts, the one defining the lines is in complete control. Results might indicate how good one is at defining trade patterns and at defining suitable stop losses, but lineAlerts is not an indicator as such. lineAlerts is more something like a visually definable price-line alerter with various stop loss and ending options. There will be a video available with some more explaining.
WARNING: Note that if an Autoview extension is active for the charted exchange and the according TradingView alerts are activated, it works right out of the box, so make sure to have all order decimals right...
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.
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.