OPEN-SOURCE SCRIPT
Mis à jour

Example - Switching Line

9 675
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.
Notes de version
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!

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.