Peter_O

How to Collapse, hide, fold blocks of your code

This script contains no trading value. This is no indicator.
It is only showing how to use a powerful editor feature:

To collapse (hide, fold) and expand (unhide, unfold) some blocks of your code.

Don't tell me you never wished it was there ;)
Well - it is!

How to enable it?
Look at line 4 of this script. It starts with //, but then there is this "opening curly bracket"
- it marks where block of code starts.
It produces that small arrow near number "4" of the code line, which you can click.
You close the block with "closing curly bracket" in line 18.

Thanks @ricardosantos for showing me this!

Next breakthrough editor feature like that will be Search&Replace. Stay tuned!

*********
Forex / Indices / Commodities traders who want to start AUTO-TRADING might want to take a look at http://www.tradingconnector.com, which allows no-latency trades execution from TradingView to MT4.

I auto-execute TradingView Alerts into MT4/MT5 using this: www.tradingconnector.com 1-second delivery. Ping me if you need support with installation.
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?