OPEN-SOURCE SCRIPT

Copy/Paste Levels Creator Tool

已更新
This indicator is for making levels to enter into the Copy/Paste Levels Indicator, This description will serve as a guide on how to use this tool to export levels for sharing!

Copy/Paste Levels Indicator:
https://www.tradingview.com/script/UuTsVm9e-Copy-Paste-Levels/

Once you add this indicator to your chart it will pop up with a confirmation box for quick access to adding levels, You can see a snapshot of the settings UI on the left in the chart in this post.
If you want to just add the indicator to your chart press "apply" and you will be able to add levels by going into the settings for the indicator. Otherwise, Just fill out the settings and only check on the boxes you need (minimum 1).

All values are default, and the only boxes that need to be filled out are the Ticker and Lvls.
In the lvls box, insert your levels separated by commas(,) it is preferred that you do not have any spaces in the lvls box, however in the code, I have a piece to remove spaces from this box.

Now The Important Part!
As you may notice, this indicator does not display anything. Its main function is to export formatted text to be entered into the Copy/Paste Levels Indicator.
The way we do this is through email alerts.

After inputting levels to Export, Go to a live chart and set an alert for this indicator, check the box for "Email Alerts".
This will send the alert message to your email when it fires.
After the alert fires,
Check your email, you will have a message containing the formatted levels, ready to be copy and pasted into the other indicator!

How does the alert fire?
I have the alert function set to fire on every calculation of the indicator because of this,
This indicator will alert immediately, on any LIVE chart.
Note: After the alert fires, it is probably a good idea to immediately delete the alert, or else you will get an alert on ever candle with the same information you have already exported.

What if its after market and the chart is not ticking?
When making levels on off hours, remember to set the alert (for this indicator) on a live chart such as BTC.
Remember: The chart you are on does not have to be the one you are making levels for. This indicator is simple an interface.

Enjoy!
版本注释
Botched some formatting, it all works now. :)
版本注释
more formatting fixes, there was an error where if you had nothing in the text field it would not print correctly. Fixed.
版本注释
updated for the "Zone" update for Copy/Paste Levels.
Remember, zones only work when there is only 2 lvls included in the line with the zone.
Nothing will display when more or less are used.
版本注释
There was a type error on all the _3 levels, (13,23,33)
It was using the symbol 3 instead of the correct symbol.
now it is using the correct symbols.
copypastecreatoreducationallevels

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明