JayRogers

Example - Switching Line

Example of manipulating a float series to:

• switch from one source to another
• maintain a level by referencing itself

This script publication is intended for:

• Educational Purposes

Who is it for?

Anyone who wants to learn how to change the position or state of an active float series.
發布通知: Made a small simplification to the boolean checks, although the original implemention was not exactly "wrong", there was indeed no need for the use of the pre-initiation using the var keyword.

Thanks @PineCoders for pointing it out.

Edumacation!
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
If you like what I do, consider buying me a nice fresh cup of tea :)

https://paypal.me/JayRogersKreations

評論

Nice tutorial, I see you are switching things up a bit )
+1 回覆
JayRogers allanster
@allanster, be careful - I may feel an urge to "LoL" and/or "RofL" in your general direction, sir. ;p
+1 回覆
perfect

thank you
回覆
JayRogers sametborsa
@sametborsa, You're welcome :)
回覆
This is very interesting .... thanks for the share
回覆
JayRogers fannytradz
@fannytradz, you're welcome :)
回覆
Oh, the irony. I was just thinking about how I need to figure this out the other day and now you share this, I forget what I was going to use it on! Ahah!
回覆
JayRogers burgercrisis
@burgercrisis, I'm sure it will come back to you at a completely inapropriate time, these things usually do!
+1 回覆
burgercrisis JayRogers
For real! I'm trying to do a hike every day I can, it really helps the brain. Although I also need to write things down in my phone when I think of them...
+1 回覆
JayRogers burgercrisis
@burgercrisis, Think i need to take a leaf outta your book with the hiking (or similar) sounds like a good plan.
回覆