EduardoMattje

Yesterday's open, high, low and close

EduardoMattje ที่อัปเดต:   
A very simple script to plot the yesterday's OHLC, to be used in an intraday graph.

There were other scripts like this, but their code was ugly, filthy, smelly, and WET, so I did this.
เอกสารเผยแพร่:
You can now choose to hide historical values.
เอกสารเผยแพร่:
Fixed the last bar bug that was displaying current day values. Very annoying.
เอกสารเผยแพร่:
Wrong graph ops
เอกสารเผยแพร่:
Ok now the graph should be right and working.
เอกสารเผยแพร่:
In Forex pairs, new data was being retrieved 1 candle before the closing of the day. Now it should be fixed.
เอกสารเผยแพร่:
Now you can select which timeframe do you want to pull the data from, so you choose to plot the last week OHLC, or the last month.
เอกสารเผยแพร่:
The script is now useful on daily and weekly charts, and you can set the period so that lines are shown on the chart.
เอกสารเผยแพร่:
I changed the default style of the lines to be the regular lines instead of the step lines, so now, if you have selected the display current values options, the lines should be visible even at the start of the day.
เอกสารเผยแพร่:
Now the prices should correctly be displayed in extended sessions, which required me to make a very big "gambiarra".

I also added an option to show the prices for tomorrow, but it's a bit ugly, since PineScript doesn't let me use the "time_trading_day" of the next day.
สคริปต์โอเพนซอร์ซ

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

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

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

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