JayRogers

Example - Switching Line

JayRogers מעודכן   
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 אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?