آیا کسی کد TOS را برای شاخص SMI Ergotic دیده است؟به نظر می رسد شبیه MACD است ، اما بر اساس شاخص قدرت واقعی (که TOS شامل آن است) با یک خط سیگنال است.
بن تن
اداری
عضو کارکنان شخص خیلی مهم طول عمر
من در سالن ThinkScript به SMI نگاه کردم و این همان چیزی است که من پیدا کردم. آیا این چیزی است که شما به دنبال آن هستید؟
کد:
#IronRod SMI histogram lower study ver4 declare lower; input audioalarm=yes; input Price = hlc3; input RsqLength = 5; input RsqLimit = .5; input SmiLimit = 30; input chopband2= 70; input smibarbufr = 4; def overbought = SmiLimit; def oversold = -SmiLimit; def percentDLength = 4; def percentKLength = 5; #Stochastic momentum index (SMI) def min_low = Lowest(low, percentKLength); def max_high = Highest(high, percentKLength); def rel_diff = close - (max_high + min_low) / 2; def diff = max_high - min_low; def avgrel = ExpAverage(ExpAverage(rel_diff, percentDLength), percentDLength); def avgdiff = ExpAverage(ExpAverage(diff, percentDLength), percentDLength); plot chopband = if IsNaN(close) then Double.NaN else 0; plot SMI = if avgdiff != 0 then avgrel / (avgdiff / 2) * 100 else 0; #SMI.SetDefaultColor(Color.BLUE); smi.DefineColor("Up", CreateColor(0, 153, 51)); smi.definecolor("weak", color.light_gray); smi.DefineColor("Down", Color.RED); smi.AssignValueColor(if smi>SMI [1] سپس Smi. color ("بالا") اگر SMIavgsmi [1] سپس avgsmi. color ("بالا") دیگری اگر avgsmi= smi[1] and smi>-smilimit سپس smibar. color ("Upstrong") دیگری اگر (sm i-smibarbufr) -smilimit و smi<smilimit then="" chopband.color("hold")="" else="" chopband.color("trade"));="" #chop="" cloud="" plot="" upper="smilimit;" lower="-smilimit;" upper.setdefaultcolor(color.gray);="" lower.setdefaultcolor(color.gray);="" def="" choplimits="SmiLimit;" #input="" addcloud(choplimits,="" -choplimits,createcolor(210,210,210));="" #addcloud(-choplimits,-chopband2,createcolor(175,175,175));="" #addcloud(chopband2,choplimits,createcolor(175,175,175));="" #labels="" #addlabel(yes,="" "smi="" legend:="" ",="" color.black);="" "bullish",="" color.uptick);="" "bearish",="" color.downtick);="" "changing",="" color.gray);="" "midline:="" "trending",="" createcolor(0,150,200));="" "in="" chopzone",="" color.orange);="" "="" smilimit=" + SmiLimit, Color.DARK_GRAY); alert (audioalarm and smi crosses avgsmi and smi = smilimit," smi="" cross",="" alert.bar,="" sound.ring);
اسب سوار
عضو مشهور
شخص خیلی مهم ergodicosc شامل استاندارد در TOS است واکنش ها: بنتن
روز تا روز تجارت
عضو فعال
I am new to the community but not new to this page. I have been skulking the threads here the better part of 2 years now and have liked quite a few things you guys have both utilized and created. I am reaching out to this wonderful community in hopes to gain some assistance, some insight, and hopefully a fully automated alert system into my trading regimen to test out. I will post the links to the 2 indicators I am using at the bottom of this text. Now for the details. Trading off the 4000tick chart for /ES futures, I have developed a system I am rather proud of, but need help in trying to make it a more compact system. The way it works is rather simple, when z-score and Ergodic are both>0 ، این یک ورودی طولانی است ، وقتی که هر دو هستند<0, its a short entry. I have settings that work very well for me, but I want to leave the system customizable as the indicators are right now. But what I would like to do is combine the indicators into a strategy that I can apply 3 ATR TPs, and leave the exit to being a reverse signal of the z-score. So say I enter a long, TP at 2*ATR, 4*ATR, and 7*ATR, then my stop loss or exit signal would just be when z-score is <0. The other thing I would like to accomplish with the strategy is to paint arrows for the 3 functions, green for bullish entry, red for bearish entry, and pink for exits. I am not too versed in the capabilities of coding so if this is not all doable I understand, but any help would be appreciated!
این فضای کاری فعلی من است (بله ، کمی آشفتگی است زیرا من با برخی از چیزهای اضافی در نمودارهای روزانه هاها بازی کرده ام).
مورد توجه من قرار گرفته است که این لینک نمره Z را که من استفاده می کنم ارائه نمی دهد. چنین شرم آورمی توان در زیر یافت
کد:
# ZSCORE # MOBIUS # درخواست اتاق چت برای میانگین نوسانگر وارونگی #HINT: ZSCORE فاصله از میانگین را اندازه گیری می کند. مطالعه به کاربر اجازه می دهد تا تجمع های مختلفی را نسبت به تجمع نمودار و طول های مختلف برای محاسبات انتخاب کند.# بحث: استفاده خوب به عنوان وارونگی به معنی نوسان ساز است. در تجمع های پایین (5 دقیقه و کمتر) Zscore می تواند آنقدر پرش باشد که تقریباً بی فایده باشد. اما استفاده از آن چندین جمع بالاتر از زمان تجارت شما می تواند آن را مفید کند. برای 2 دقیقه نمودارهای تنظیم ZSCORE تا 15 دقیقه تأیید خوبی به سیگنال محوری می دهد که در آن Zscore 3 یا به عنوان مثال بهتر است. اعلام پایین ؛طول ورودی = 48 ؛ورودی Agg = ؛def t ؛سوئیچ (AGG)def c = بستن ؛طرح zscore = (t - متوسط (t ، طول)) / stdev (t ، طول) ؛zscore. setDefaultColor (color. plum) ؛plot Zero = if ISNAN (c) سپس Double. nan other 0 ؛Zero. SetDefaultColor (color. black) ؛Zero. Setlineweight (1) ؛Zero. HidetItle () ؛poson posone = اگر isnan (c) سپس double. nan other 1 ؛posone. setDefaultColor (color. green) ؛posone. hidetitle () ؛طرح negone = اگر isnan (c) سپس double. nan othe r-1 ؛negone. setDefaultColor (color. light_red) ؛negone. hidetitle () ؛plot postwo = اگر isnan (c) سپس double. nan other 2 ؛postwo. setDefaultColor (color. green) ؛postwo. hidetitle () ؛plot negtwo = اگر isnan (c) سپس double. nan othe r-2 ؛negtwo. setDefaultColor (color. red) ؛negtwo. hidetitle () ؛plot postlhe = if isnan (c) سپس double. nan other 3 ؛po S-three. setDefaultColor (color. dark_green) ؛postree. hidetitle () ؛طرح negthree = اگر isnan (c) سپس double. nan othe r-3 ؛negthree. setDefaultColor (color. dark_red) ؛negthree. hidetitle () ؛addCloud (صفر ، posone ، color. light_green ، color. light_green) ؛addCloud (posone ، postwo ، color. green ، color. green) ؛addCloud (postwo ، postree ، color. dark_green ، color. dark_green) ؛addCloud (Negone ، Zero ، Color. light_red ، Color. light_red) ؛addCloud (negtwo ، negone ، color. red ، color. red) ؛addCloud (negthree ، negtwo ، color. dark_red ، color. dark_red) ؛# کد پایان zscore
تلویزیون
عضو
سلام ، این تنظیمات را آزمایش کرد و به نظر می رسید امیدوار کننده است! آیا هنوز از این سیستم استفاده می کنید؟همچنین ، در فضای کاری شما 2 نوسان ساز ارگودیک دارید که 100،50،10 و دیگری آن 40،10،8 است. آیا شما فقط به یکی از آنها نیاز دارید که در کنار Zscore بیش از 0 باشد یا به دنبال هر دو نوسان ساز بالاتر از 0 باشید
روز تا روز تجارت
عضو فعال
television ، در آن زمان که سعی می کردم بفهمم کدام تنظیمات را بر دیگری ترجیح می دهم ، بنابراین شما به هر دو احتیاج ندارید. اگرچه من دیگر این سیستم را تجارت نمی کنم ، اما در آن زمان هنوز مفید بود
wtf_dude
عضو فعال
فقط بعد از اینکه J007 به آن موضوع دیگری اشاره کرد ، به این نشانگر نگاه کرد. اگر کسی بخواهد ، از TradingView استفاده می شود
کد:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // کپی رایت توسط Hpotter v1. 0 02/05/2017 #// شاخص SMI ergodic همانند شاخص قدرت واقعی (TSI) است که توسط #// ویلیام بلوو ساخته شده است، به جز SMI شامل یک خط سیگنال است. SMI از میانگین #// از قیمت منهای قیمت قبلی بیش از 2 فریم زمانی استفاده می کند. خط سیگنال ، که EMA از #// SMI است ، برای کمک به ایجاد سیگنال های معاملاتی ترسیم شده است. راهنماهای قابل تنظیم نیز به #// تنظیم این سیگنال ها داده می شود. کاربر ممکن است ورودی (نزدیک) ، روش (EMA) ، طول دوره #// و مقادیر راهنما را تغییر دهد.#// شما می توانید در هر سری XPrice استفاده کنید: باز ، بالا ، پایین ، نزدیک ، HL2 ، HLC3 ، OHLC4 و ECT.//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #Recoded برای TOS توسط WTF_DUDE اعلام پایین ؛قیمت ورودی = بستن ؛ورودی FastL طول = 4 ؛ورودی کند طول = 8 ؛ورودی صاف = 3 ؛ورودی ورودی = . 5 ؛ورودی پایین = -. 5 ؛def price1 = قیمت - قیمت [1] ؛def price2 = absvalue (قیمت - قیمت [1]) ؛def sma_r = expaVery ((expaengo (price1 ، fastl طول)) ، SlowL طول) ؛def sma_ar = expaVery ((expaengo (price2 ، fastl طول)) ، SlowL طول) ؛def smi = sma_r / sma_ar ؛def ema_smi = expaVery (SMI ، SmoothL طول) ؛طرح ergoticsmi = smi ؛ergoticsmi. setDefaultColor (color. cyan) ؛طرح SIGNALLINE = EMA_SMI ؛signalline. setDefaultColor (color. magenta) ؛طرح TopbandLevel = Topband ؛topbandlevel. setDefaultColor (color. red) ؛addCloud (TopbandLevel ، . 75 ، color. dark_red ، color. dark_red) ؛طرح LowbandLevel = Lowband ؛lowbandlevel. setDefaultColor (color. green) ؛addCloud (Lowband ،-75 ، Color. dark_green ، color. dark_green) ؛طرح Zeroline = 0 ؛Zeroline. setDefaultColor (color. dark_gray) ؛
واکنش ها: Cyberloth ، J007RMC ، Merryday و 3 نفر دیگر
هنری 1224
عضو فعال
شخص خیلی مهم
این شاخص برای نشانگر Histogram SMI توسط IronRod است. این برچسب ها را برای بازه های زمانی بالاتر اضافه می کند. شما باید چندین مورد از آنها را به همان منطقه نمودار به عنوان نشانگر اضافه کنید
برچسب های هیستوگرام SMI
کد:
#####################################################################شماره اعلام پایین ؛دوره ورودی = AggregationPeriod. day ؛ورودی RSQL طول = 5 ؛ورودی rsqlimit = . 5 ؛ورودی Smilimit = 30 ؛ورودی chopband2 = 70 ؛ورودی smibarbufr = 4 ؛DefineGlobalColor ("صعودی" ، Color. green) ؛DefineGlobalColor ("Bearish" ، Color. red) ؛DefineGlobalColor ("تغییر" ، color. light_gray) ؛DefineGlobalColor ("در Chopzone" ، Color. orange) ؛DefineGlobalColor ("روند" ، CreateColor (0،150،200)) ؛DefineGlobalColor ("خرید فلش" ، color. cyan) ؛DefineGlobalColor ("فروش فلش" ، color. dark_orange) ؛نمادهای سینماییSMI [1] سپس 1 مورد دیگر اگر SMIفیلمنامه symmalasmiavgsmi [1] سپس 1 مورد دیگر اگر avgsmiاسکریپت نمادین= SMI[1] and SMI>-smilimit سپس 1 مورد دیگر اگر (smi - smibarbufr) اسکریپت نمادین-Smilimit و SMIنمادهای اسکریپت def currentPeriod = GetAggregationPeriod(); def s1; def h1; def s2; def h2; def h3; if period>= فعلی؛دوره ورودی = AggregationPeriod. day ؛ورودی RSQL طول = 5 ؛ورودی rsqlimit = . 5 ؛ورودی Smilimit = 30 ؛ورودی chopband2 = 70 ؛ورودی smibarbufr = 4 ؛DefineGlobalColor ("صعودی" ، Color. green) ؛DefineGlobalColor ("Bearish" ، Color. red) ؛DefineGlobalColor ("تغییر" ، color. light_gray) ؛DefineGlobalColor ("در Chopzone" ، Color. orange) ؛DefineGlobalColor ("روند" ، CreateColor (0،150،200)) ؛DefineGlobalColor ("خرید فلش" ، color. cyan) ؛DefineGlobalColor ("فروش فلش" ، color. dark_orange) ؛نمادهای سینماییSMI [1] سپس 1 مورد دیگر اگر SMI