PROTECTED SOURCE SCRIPT

lineAlerts

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...

GuidoN - December 2019, July 2020

alertsautoviewlinespercentagestoplossTrend Analysis

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항