OPEN-SOURCE SCRIPT
Mis à jour

Example - Switching Line

8897
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 les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.