نشانگر مقیاس 1 دقیقه NQ برای ThinkorSwim

ساخت وبلاگ

بشرمن آن را برای ThinkScript کدگذاری کردم و فهمیدم که باید آن را با همه شما افراد شگفت انگیز در اینجا به اشتراک بگذارم. برای NQ 1M طراحی شده است ، اما من معاملات خوب و بزرگتر را نیز در 2M می بینم (من تاکنون فقط آن را در SIM معامله کرده ام). در 2M ، اساساً به عنوان یک ورود به عقب خوب در یک روند عمل می کند. در حالی که تنها نیاز سازنده Strat در بالا/زیر 10 EMA است ، من تصمیم گرفتم از یک فیلتر EMA 10-20-50 برای خلاص شدن از سیگنال های بد در CHOP استفاده کنم. احتمالاً فیلتر روند بهتری وجود دارد اما این کار انجام می شود. من ترجیح می دهم از قضاوت خودم در مورد اینکه آیا ما گرایش داریم یا نه ، استفاده کنم. این فیلتر صرفاً برای تمیز کردن فلش های غیر ضروری در نمودار من عمل می کند.

لذت ببرید ، و من منتظر بازخورد شما هستم.

کد:

# Shimi's Scalp Pro Elite Platinum Extreme; Deluxe Edition. # Based on Quant Trade Edge's Strategy in https://www.youtube.com/watch?v=lhW5czmfc14 # Original Strategy is for NQ 1 minute chart, long only above 10ema and short only below 10ema, risking 1 ATR for .5 ATR target. # Start EMA input price = close; input length = 10; input displace = 0; def ema = expAverage(price[-displace], length); def ema20 = expAverage (price, length=20); def ema50 = expAverage (price, length=50); def bull = close>باز و کمema and ema> ema20 and ema20>EMA50 ؛Def Bear = بستنlow[1] and high>بالا [1] و نزدیک

واکنش ها: قفقاز ، fotm_8888 ، سانتوش و 2 نفر دیگر

برای ارسال سؤال خود به جامعه ای از 21،000+ توسعه دهنده و بازرگانان ، به UsethinkScript بپیوندید.

ژلیدوس

عضو

آیا می توان از این در نمودار روزانه استفاده کرد؟

IASKQS

عضو

آیا می توان از این در نمودار روزانه استفاده کرد؟

من اثربخشی آن را در روز نمی دانم ، اما منطق باید در تمام بازه های زمانی اعمال شود زیرا بازار فراکتال است. ایده اصلی (برای مدت طولانی) این است که قیمت به زیر شمع قبلی می رود ، نشان می دهد که خرس ها تلاش کردند تا معکوس کنند ، اما بولز از آنها پیشی گرفت و شمع سبز را بست ، حتی اگر بالاتر از شمع قبلی نباشد. اگر سیگنال ها را دوست دارید ، آن را روزانه ترسیم کنید و خودتان را ببینید. این سریعترین راه برای دیدن روزانه است.

الکس

عضو فعال

شخص خیلی مهم

IASKQS بسیار مرتب به نظر می رسد. تنها چیزی که من در مورد آن گیج شده ام قوانین ورود و خروج است. آیا قرار است با بسته شدن نوار سیگنال وارد تجارت شوید یا فقط یک بار نوار جدید در زیر / زیر آن شکسته شود؟آیا برای قوانین خروج ، آیا خروج یا نوعی هدف را دنبال می کنید؟

fotm_8888

عضو فعال

شخص خیلی مهم من به تازگی به یک استراتژی خوب مقیاس بندی رسیده ام:

بشرمن آن را برای ThinkScript کدگذاری کردم و فهمیدم که باید آن را با همه شما افراد شگفت انگیز در اینجا به اشتراک بگذارم. برای NQ 1M طراحی شده است ، اما من معاملات خوب و بزرگتر را نیز در 2M می بینم (من تاکنون فقط آن را در SIM معامله کرده ام). در 2M ، اساساً به عنوان یک ورود به عقب خوب در یک روند عمل می کند. در حالی که تنها نیاز سازنده Strat در بالا/زیر 10 EMA است ، من تصمیم گرفتم از یک فیلتر EMA 10-20-50 برای خلاص شدن از سیگنال های بد در CHOP استفاده کنم. احتمالاً فیلتر روند بهتری وجود دارد اما این کار انجام می شود. من ترجیح می دهم از قضاوت خودم در مورد اینکه آیا ما گرایش داریم یا نه ، استفاده کنم. این فیلتر صرفاً برای تمیز کردن فلش های غیر ضروری در نمودار من عمل می کند.

لذت ببرید ، و من منتظر بازخورد شما هستم.

کد:

# Shimi's Scalp Pro Elite Platinum Extreme; Deluxe Edition. # Based on Quant Trade Edge's Strategy in https://www.youtube.com/watch?v=lhW5czmfc14 # Original Strategy is for NQ 1 minute chart, long only above 10ema and short only below 10ema, risking 1 ATR for .5 ATR target. # Start EMA input price = close; input length = 10; input displace = 0; def ema = expAverage(price[-displace], length); def ema20 = expAverage (price, length=20); def ema50 = expAverage (price, length=50); def bull = close>باز و کمema and ema> ema20 and ema20>EMA50 ؛Def Bear = بستنlow[1] and high>بالا [1] و نزدیک

با تشکر از شما برای به اشتراک گذاری با ما. به نظر شما امکان اضافه کردن الگوی نقطه آبی و قرمز وجود دارد؟پیشاپیش متشکرم

IASKQS

عضو

IASKQS بسیار مرتب به نظر می رسد. تنها چیزی که من در مورد آن گیج شده ام قوانین ورود و خروج است. آیا قرار است با بسته شدن نوار سیگنال وارد تجارت شوید یا فقط یک بار نوار جدید در زیر / زیر آن شکسته شود؟آیا برای قوانین خروج ، آیا خروج یا نوعی هدف را دنبال می کنید؟

وارد کردن یک نوار سیگنال در بالا/زیر ، همانطور که این فیلم دستور می دهد. برای خروج ، او توصیه می کند برای 5 ATR یا معامله گر بهترین خروج (دنباله ، گرفتن امتیاز بیشتر و غیره) را تعیین کنید ، بنابراین این به شما بستگی دارد.

واکنش ها: Phatrook

IASKQS

عضو

با تشکر از شما برای به اشتراک گذاری با ما. به نظر شما امکان اضافه کردن الگوی نقطه آبی و قرمز وجود دارد؟پیشاپیش متشکرم

شما به Hoagies مراجعه می کنید. این یک استراتژی ورود جداگانه است و توسط هرکسی که علاقه مند است می توان در یک شاخص جداگانه قرار داد. من رمزگذار نیستم ، بنابراین می توانم آن را خیلی طولانی کنم اما از نظر مفهوم بسیار ساده است (اساساً در داخل میله ها). در واقع ، در حال حاضر برخی از اسکریپت ها در این سایت برای تغییرات داخل نوار وجود دارد.

جودو

عضو فعال

من یک سود کلیدی را به این کار اضافه کردم ، با فرض اینکه مدت زمان طولانی یک صعود و کوتاه بود. من شخصاً پس از آن دوست دارم TradeDaytimeonly را به بله تنظیم کنم ، زیرا ، من 24 ساعت در روز معامله نمی کنم ، بنابراین زمان خود را تنظیم کردم که در دسترس هستم و قبل از پایان روز از آن خارج می شود. چیزی برای بازی با آن و می توانید آن را در سهام/آینده و بازه های زمانی مختلف امتحان کنید. می توانید در توقف های خود نیز کدگذاری کنید.

یاقوت:

# Shimi's Scalp Pro Elite Platinum Extreme; Deluxe Edition. # Based on Quant Trade Edge's Strategy in https://www.youtube.com/watch?v=lhW5czmfc14 # Original Strategy is for NQ 1 minute chart, long only above 10ema and short only below 10ema, risking 1 ATR for .5 ATR target. # Start EMA input price = close; input length = 10; input displace = 0; def ema = expAverage(price[-displace], length); def ema20 = expAverage (price, length=20); def ema50 = expAverage (price, length=50); def bull = close>باز و کمema and ema> ema20 and ema20>EMA50 ؛Def Bear = بستنlow[1] and high>بالا [1] و نزدیک0 in the Create Signals section below to match your buy and sell signal conditions # # When using large amounts of hisorical data, P/L may take time to calculate ###------------------------------------------------------------------------------------------ input showSignals = yes; #hint showSignals: show buy and sell arrows input LongTrades = yes; #hint LongTrades: perform long trades input ShortTrades = yes; #hint ShortTrades: perform short trades input showLabels = yes; #hint showLabels: show PL labels at top input showBubbles = yes; #hint showBubbles: show PL bubbles at close of trade input useStops = no; #hint useStops: use stop orders input useAlerts = no; #hint useAlerts: use alerts on signals input tradeDaytimeOnly = no; #hint tradeDaytimeOnly: (IntraDay Only) Only perform trades during hours stated input OpenTime = 0930; #hint OpenTime: Opening time of market input CloseTime = 1600; #hint CloseTime: Closing time of market def Begin = secondsfromTime(OpenTime); def End = secondsTillTime(closetime); # Only use market hours when using intraday timeframe def isIntraDay = if getaggregationperiod()> 14400000 or getaggregationperiod()==0 then 0 else 1; def MarketOpen = if !tradeDaytimeOnly or !isIntraDay then 1 else if tradeDaytimeOnly and isIntraDay and Begin> 0 and End> 0 then 1 else 0; ###------------------------------------------------------------------------------------------ ###################################################### ## Create Signals - ## FILL IN THIS SECTION ## replace 0>0 with your conditions for signals ###################################################### def PLBuySignal = if MarketOpen AND (upsignal) then 1 else 0 ; # insert condition to create long position in place of the 0>0 def PLSellSignal = if MarketOpen AND (downsignal) then 1 else 0; # insert condition to create short position in place of the 0>0 def PLBuyStop = if !useStops then 0 else if (0>0) then 1 else 0 ; # insert condition to stop in place of the 00) then 1 else 0 ; # insert condition to stop in place of the 0>0 def plmktstop = اگر marketopen [-1] == 0 سپس 1 other 0 ؛# نگه می دارد که آیا مسطح = 0 طولانی = 1 کوتاه = -1 if (baumber () == 1) یا isnan (جریان فعلی [1])دیگردیگری اگر (plsellsignal و shorttrades)دیگر>در غیر این صورت [1] == 1<# LONG if (PLSellSignal AND ShortTrades)دیگری اگر ((plbuystop و usestops) یا plmktstop یا (plsellSignal و ShortTrades == 0))دیگر>در غیر این صورت [1] == -1<# SHORT if (PLBuySignal AND LongTrades)دیگری اگر ((plsellstop و usestops) یا plmktstop یا (plbuysignal و longtrades == 0))دیگر>other < Span> 0 def plmktstop = اگر marketopen [-1] == 0 سپس 1 دیگری 0 ؛# نگه می دارد که آیا مسطح = 0 طولانی = 1 کوتاه = -1 if (baumber () == 1) یا isnan (جریان فعلی [1])>دیگردیگری اگر (plsellsignal و shorttrades)دیگردیگر# Total Profit or Loss def profitLossSum = compoundValue(1, if isNaN(isOrder) or baumber()==1 then 0 else if isOrder then profitLossSum[1] + profitLoss else profitLossSum[1], 0); # How many trades won or lost def profitWiers = compoundValue(1, if isNaN(profitWiers[1]) or baumber()==1 then 0 else if isOrder and profitLoss>دیگری اگر ((plbuystop و usestops) یا plmktstop یا (plsellSignal و ShortTrades == 0))<0 then profitLosers[1] + 1 else profitLosers[1], 0); def profitPush = compoundValue(1, if isNaN(profitPush[1]) or baumber()==1 then 0 else if isOrder and profitLoss == 0 then profitPush[1] + 1 else profitPush[1], 0); # Current Open Trade Profit or Loss def TradePL = If isLong then Round(((close - orderprice)/TickSize())*TickValue()) else if isShort then Round(((orderPrice - close)/TickSize())*TickValue()) else 0; # Convert to actual dollars based on Tick Value for bubbles def dollarProfitLoss = if orderPRice[1]==0 or isNaN(orderPrice[1]) then 0 else round((profitLoss/Ticksize())*Tickvalue()); # Closed Orders dollar P/L def dollarPLSum = round((profitLossSum/Ticksize())*Tickvalue()); # Split profits or losses by long and short trades def profitLong = compoundValue(1, if isNan(profitLong[1]) or baumber()==1 then 0 else if isOrder and isLong[1] then profitLong[1]+dollarProfitLoss else profitLong[1],0); def profitShort = compoundValue(1, if isNan(profitShort[1]) or baumber()==1 then 0 else if isOrder and isShort[1] then profitShort[1]+dollarProfitLoss else profitShort[1],0); def countLong = compoundValue(1, if isNaN(countLong[1]) or baumber()==1 then 0 else if isOrder and isLong[1] then countLong[1]+1 else countLong[1],0); def countShort = compoundValue(1, if isNaN(countShort[1]) or baumber()==1 then 0 else if isOrder and isShort[1] then countShort[1]+1 else countShort[1],0); # What was the biggest wiing and losing trade def biggestWin = compoundValue(1, if isNaN(biggestWin[1]) or baumber()==1 then 0 else if isOrder and (dollarProfitLoss>0) and (dollarProfitLoss>دیگر<0) and (dollarProfitLoss در غیر این صورت [1] == -1<0)) then round(((dollarPLSum - TradePL)/(ClosedTradeCount+1)),2) else if (OpenTrades and (TradePL>0)) then round(((dollarPLSum + TradePL)/(ClosedTradeCount+1)),2) else round(((dollarPLSum)/(ClosedTradeCount)),2) ; ####################################### ## Create Labels ####################################### AddLabel(showLabels and isIntraDay, if MarketOpen then "Market Open" else "Market Closed", color.white); AddLabel(showLabels, GetSymbol()+" Tick Size: "+TickSize()+" Value: "+TickValue(), color.white); AddLabel(showLabels and (LongTrades and ShortTrades), "Long+Short Trades", color.white); AddLabel(showLabels and (LongTrades and !ShortTrades),"Long Trades Only", color.white); AddLabel(showLabels and (!LongTrades and ShortTrades),"Short Trades Only", color.white); AddLabel(showLabels, "Closed Orders: " + ClosedTradeCount + " P/L: " + AsDollars(dollarPLSum), if dollarPLSum>دیگری اگر ((plsellstop و usestops) یا plmktstop یا (plbuysignal و longtrades == 0))<0 then Color.RED else Color.GRAY); AddLabel(if !IsNan(orderPrice) and showLabels then 1 else 0, "Closed+Open P/L: "+ AsDollars(TradePL+dollarPLSum), if ((TradePL+dollarPLSum)>دیگر<0) then color.red else color.gray); AddLabel(showLabels, "Avg per Trade: "+ AsDollars(avgTrade), if avgTrade>other0 def plmktstop = اگر marketopen [-1] == 0 سپس 1 other 0 ؛# نگه می دارد که آیا مسطح = 0 طولانی = 1 کوتاه = -1 if (baumber () == 1) یا isnan (جریان فعلی [1])<0 then Color.RED else Color.GRAY); AddLabel(showLabels, "Wiers: "+ PCTWin +"%",if PCTWin>50 then color.green else if PCTWin> 40 then color.yellow else color.gray); AddLabel(showLabels, "MaxUp: "+ AsDollars(biggestWin) +" MaxDown: "+AsDollars(biggestLoss), color.white); AddLabel(showLabels, "Long Profit: " +AsDollars(profitLong), if profitLong>دیگر<0 then color.red else color.gray); AddLabel(showLabels, "Short Profit: " +AsDollars(profitShort), if profitShort>دیگری اگر (plsellsignal و shorttrades)<0 then color.red else color.gray); AddLabel(if !IsNan(CurrentPosition) and showLabels and OpenTrades then 1 else 0, "Open: "+ (If isLong then "Bought" else "Sold") + " @ "+orderPrice, color.white); AddLabel(if !IsNan(orderPrice) and showLabels and OpenTrades then 1 else 0, "Open Trade P/L: "+ AsDollars(TradePL), if (TradePL>دیگر<0) then color.red else color.gray); ####################################### ## Chart Bubbles for Profit/Loss ####################################### AddChartBubble(showSignals and showBubbles and isOrder and isLong[1], low, "$"+dollarProfitLoss, if dollarProfitLoss == 0 then Color.LIGHT_GRAY else if dollarProfitLoss>0 then Color.GREEN else color.Red, 0); AddChartBubble(showSignals and showBubbles and isOrder and isShort[1], high, "$"+dollarProfitLoss, if dollarProfitLoss == 0 then Color.LIGHT_GRAY else if dollarProfitLoss>در غیر این صورت [1] == 1
اخبار رمز ارزها...
ما را در سایت اخبار رمز ارزها دنبال می کنید

برچسب : نویسنده : منیژه سلیمی بازدید : <-PostHit-> تاريخ : يکشنبه 8 مرداد 1402 ساعت: 13:52