the_batman

True Williams Alligator (Timeframe Multiplier)

Modified version of the true alligator indicator (ie SMMA) that features a timeframe multiplier so that you can monitor the elliott wave of higher timeframes. (See original "True Williams Alligator" for more details.)

Note: First script submission. Didn't mean to use this chart. Also this is a duplicate post -- oops.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

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

רוצה להשתמש בסקריפ זה בגרף?
study("True Williams Alligator (Timeframe Multiplier)", overlay=true)
smma(src, length) =>
    smma = na(smma[1]) ? sma(src, length) : (smma[1] * (length - 1) + src) / length
    smma

multiplier = input(10, "Multiplier")

jawLength = 13 * multiplier
teethLength = 8 * multiplier
lipsLength = 5 * multiplier
jawOffset = 8 * multiplier
teethOffset = 5 * multiplier
lipsOffset = 3 * multiplier

jaw = smma(hl2, jawLength)
teeth = smma(hl2, teethLength)
lips = smma(hl2, lipsLength)
plot(jaw, "Jaw", #9FC5E8, offset=jawOffset, linewidth=1, style=line)
plot(teeth, "Teeth", #E6B8AF, offset=teethOffset, linewidth=1, style=line)
plot(lips, "Lips", #B6D7A8, offset=lipsOffset, linewidth=1, style=line)