diff --git a/links/common.pine.link b/links/common.pine.link index e14b6cd45..f9c44cbce 100644 --- a/links/common.pine.link +++ b/links/common.pine.link @@ -501,7 +501,7 @@ if not na(recVWMA) recMAC += 1 recIC = float(na) if not(na(IC_Lead1) or na(IC_Lead2) or na(close) or na(close[1]) or na(IC_BLine) or na(IC_CLine)) - recIC := calcRecommend(IC_Lead1 > IC_Lead2 and close > IC_Lead1 and close < IC_BLine and close[1] < IC_CLine and close > IC_CLine, IC_Lead2 > IC_Lead1 and close < IC_Lead1 and close > IC_BLine and close[1] > IC_CLine and close < IC_CLine) + recIC := calcRecommend(IC_Lead1 > IC_Lead2 and IC_BLine > IC_Lead1 and IC_CLine > IC_BLine and close > IC_CLine, IC_Lead1 < IC_Lead2 and IC_BLine < IC_Lead1 and IC_CLine < IC_BLine and close < IC_CLine) plot(recIC, title='Rec.Ichimoku') if not na(recIC) recMA += recIC @@ -516,14 +516,14 @@ if not(na(recRSI) or na(recRSI[1])) recOther += calcRecommend(recRSI < 30 and recRSI[1] < recRSI, recRSI > 70 and recRSI[1] > recRSI) if not(na(kStoch) or na(dStoch) or na(kStoch[1]) or na(dStoch[1])) recOtherC += 1 - recOther += calcRecommend(kStoch < 20 and dStoch < 20 and kStoch > dStoch and kStoch[1] < dStoch[1], kStoch > 80 and dStoch > 80 and kStoch < dStoch and kStoch[1] > dStoch[1]) + recOther += calcRecommend(kStoch < 20 and dStoch < 20 and kStoch > dStoch, kStoch > 80 and dStoch > 80 and kStoch < dStoch) recCCI = CCI if not(na(recCCI) or na(recCCI[1])) recOtherC += 1 recOther += calcRecommend(recCCI < -100 and recCCI > recCCI[1], recCCI > 100 and recCCI < recCCI[1]) if not(na(adxValue) or na(adxPlus[1]) or na(adxMinus[1]) or na(adxPlus) or na(adxMinus)) recOtherC += 1 - recOther += calcRecommend(adxValue > 20 and adxPlus[1] < adxMinus[1] and adxPlus > adxMinus, adxValue > 20 and adxPlus[1] > adxMinus[1] and adxPlus < adxMinus) + recOther += calcRecommend(adxValue > 20 and adxValue > adxValue[1] and adxPlus > adxMinus, adxValue > 20 and adxValue > adxValue[1] and adxPlus < adxMinus) if not(na(AO) or na(AO[1])) recOtherC += 1 recOther += calcRecommend(ta.crossover(AO, 0) or AO > 0 and AO[1] > 0 and AO > AO[1] and AO[2] > AO[1], ta.crossunder(AO, 0) or AO < 0 and AO[1] < 0 and AO < AO[1] and AO[2] < AO[1]) @@ -535,7 +535,7 @@ if not(na(macdMACD) or na(signalMACD)) recOther += calcRecommend(macdMACD > signalMACD, macdMACD < signalMACD) recStoch_RSI = float(na) if not(na(DownTrend) or na(UpTrend) or na(Stoch_RSI_K) or na(Stoch_RSI_D) or na(Stoch_RSI_K[1]) or na(Stoch_RSI_D[1])) - recStoch_RSI := calcRecommend(DownTrend and Stoch_RSI_K < 20 and Stoch_RSI_D < 20 and Stoch_RSI_K > Stoch_RSI_D and Stoch_RSI_K[1] < Stoch_RSI_D[1], UpTrend and Stoch_RSI_K > 80 and Stoch_RSI_D > 80 and Stoch_RSI_K < Stoch_RSI_D and Stoch_RSI_K[1] > Stoch_RSI_D[1]) + recStoch_RSI := calcRecommend(DownTrend and Stoch_RSI_K < 20 and Stoch_RSI_D < 20 and Stoch_RSI_K > Stoch_RSI_D, UpTrend and Stoch_RSI_K > 80 and Stoch_RSI_D > 80 and Stoch_RSI_K < Stoch_RSI_D) plot(recStoch_RSI, title='Rec.Stoch.RSI') if not na(recStoch_RSI) recOtherC += 1 diff --git a/links/high_and_low.pine.link b/links/high_and_low.pine.link index 8048da8a7..72437df2d 100644 --- a/links/high_and_low.pine.link +++ b/links/high_and_low.pine.link @@ -1,3 +1,7 @@ +// first bar's timestamp in pine history +var first_bar_time = time / 1000 +plot(first_bar_time, title='first_bar_time') + // high & low var ath = high var ath_date = time/1000 @@ -66,10 +70,12 @@ fastSearchTimeIndex(x, maxbarsback) => mid = 0 * time[maxbarsback] right = math.min(bar_index, maxbarsback) left = 0 - if time < x + if x/1000 <= first_bar_time + bar_index + else if time < x 0 else - for i = 0 to 9 by 1 + for i = 0 to 10 mid := math.ceil((left + right) / 2) if left == right break @@ -154,7 +160,3 @@ volatility(bb) => plot(volatility(countOfBarsWeekAgoThisBar), title='Volatility.W') plot(volatility(countOfBars1MonthAgoThisBar), title='Volatility.M') plot(ta.tr(true) * 100 / math.abs(low), title='Volatility.D') - -// first bar's timestamp in pine history -var first_bar_time = time / 1000 -plot(first_bar_time, title='first_bar_time') \ No newline at end of file diff --git a/scanner.data.bonds.json b/scanner.data.bonds.json index 7e8fcb5ff..c84b6ff0e 100644 --- a/scanner.data.bonds.json +++ b/scanner.data.bonds.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~if_(time\u003c#0){i:0}_{v:for(0;9;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$4(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$4($0);close~$0;$7();v^high~v^time/1000~v^low~v:if(high\u003e$0){$0=high~$1=time/1000~$2=low~}~v:if(low\u003c$2){$2=low~}~$0~$1~$0~$1~$2~v^low~v^time/1000~v:if(low\u003c$10){$10=low~$11=time/1000~}~$10~$11~$10~$11~v^open~timenow-315532800000~$2($18,i:3652)~timenow-157766400000~$2($20,i:1826)~timenow-94608000000~$2($22,i:1095)~timenow-31449600000~$2($24,i:364)~s2:$0($25,i:364):s2~s2:$1($25,i:364):s2~timenow-15552000000~$2($30,i:180)~s2:$0($31,i:180):s2~s2:$1($31,i:180):s2~timenow-7776000000~$2($36,i:90)~s2:$0($37,i:90):s2~s2:$1($37,i:90):s2~time-2592000000~timenow-2592000000~$2($43,i:30)~$2($42,i:30)~s2:$0($44,i:30):s2~s2:$1($44,i:30):s2~timenow-604800000~time-604800000~$2($50,i:7)~$2($51,i:7)~s2:$0($52,i:7):s2~s2:$1($52,i:7):s2~$3($53)~$3($45)~tr(b:true)*100/abs(low)~v^time/1000~timenow-31536000000~$2($62,i:365)~$6()~((close-open@4)/open@4)*100~$5($52,i:7)~$5($44,i:30)~$5($37,i:90)~$5($31,i:180)~$5($63,i:365)~$5($23,i:1095)~$5($21,i:1826)~$5($19,i:3652)~time_tradingday/1000~#0~$75~$76-$76@1~na():f~v:if(!($76@1\u003c0)\u0026\u0026!($76\u003c0)){$78=($77/$76@1)*100~}~$78~timenow-86400000~$2($81,i:1)~v:max_bars_back(close,365):v~close@$82~close@$44~close@$63~$5!$6!$7!$8!$9!$13!$14!$15!$16!$17!$26!$27!$28!$29!$32!$33!$34!$35!$38!$39!$40!$41!$46!$47!$48!$49!$54!$56!$58!$59!$60!$61!$65!$66!$67!$68!$69!$70!$71!$72!$73!$64!$74!$76!$77!$80!$84!$85!$86;t:str.substring(ticker,0,str.length(ticker):i-1):t~t:sc(t:syminfo.prefix,t:':',t:$10):t~i:na():f~sym($11,period,period,false,false,true,'NONE',false,false,$12)|$8()|s49:$9($14):s49~$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64", + "defval": "i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~ifelif_(#0/1000\u003c=#2){n}elif(time\u003c#0){i:0}_{v:for(0;10;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$4(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$4($0);close~$0;$7();v^time/1000~v^high~v^time/1000~v^low~v:if(high\u003e$1){$1=high~$2=time/1000~$3=low~}~v:if(low\u003c$3){$3=low~}~$1~$2~$1~$2~$3~v^low~v^time/1000~v:if(low\u003c$11){$11=low~$12=time/1000~}~$11~$12~$11~$12~v^open~timenow-315532800000~$2($19,i:3652,$0)~timenow-157766400000~$2($21,i:1826,$0)~timenow-94608000000~$2($23,i:1095,$0)~timenow-31449600000~$2($25,i:364,$0)~s2:$0($26,i:364):s2~s2:$1($26,i:364):s2~timenow-15552000000~$2($31,i:180,$0)~s2:$0($32,i:180):s2~s2:$1($32,i:180):s2~timenow-7776000000~$2($37,i:90,$0)~s2:$0($38,i:90):s2~s2:$1($38,i:90):s2~time-2592000000~timenow-2592000000~$2($44,i:30,$0)~$2($43,i:30,$0)~s2:$0($45,i:30):s2~s2:$1($45,i:30):s2~timenow-604800000~time-604800000~$2($51,i:7,$0)~$2($52,i:7,$0)~s2:$0($53,i:7):s2~s2:$1($53,i:7):s2~$3($54)~$3($46)~tr(b:true)*100/abs(low)~timenow-31536000000~$2($62,i:365,$0)~$6()~((close-open@4)/open@4)*100~$5($53,i:7)~$5($45,i:30)~$5($38,i:90)~$5($32,i:180)~$5($63,i:365)~$5($24,i:1095)~$5($22,i:1826)~$5($20,i:3652)~time_tradingday/1000~#0~$75~$76-$76@1~na():f~v:if(!($76@1\u003c0)\u0026\u0026!($76\u003c0)){$78=($77/$76@1)*100~}~$78~timenow-86400000~$2($81,i:1,$0)~v:max_bars_back(close,365):v~close@$82~close@$45~close@$63~$0!$6!$7!$8!$9!$10!$14!$15!$16!$17!$18!$27!$28!$29!$30!$33!$34!$35!$36!$39!$40!$41!$42!$47!$48!$49!$50!$55!$57!$59!$60!$61!$65!$66!$67!$68!$69!$70!$71!$72!$73!$64!$74!$76!$77!$80!$84!$85!$86;t:str.substring(ticker,0,str.length(ticker):i-1):t~t:sc(t:syminfo.prefix,t:':',t:$10):t~i:na():f~sym($11,period,period,false,false,true,'NONE',false,false,$12)|$8()|s49:$9($14):s49~$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64", "isFake": false }, { @@ -227,107 +227,107 @@ "fullId": "", "styles": { "plot_0": { - "title": "High.All", + "title": "first_bar_time", "isHidden": false }, "plot_1": { - "title": "High.All.Date", + "title": "High.All", "isHidden": false }, "plot_10": { - "title": "price_52_week_low", + "title": "Open.All.Calc", "isHidden": false }, "plot_11": { - "title": "price_52_week_low_date", + "title": "price_52_week_low", "isHidden": false }, "plot_12": { - "title": "price_52_week_high", + "title": "price_52_week_low_date", "isHidden": false }, "plot_13": { - "title": "price_52_week_high_date", + "title": "price_52_week_high", "isHidden": false }, "plot_14": { - "title": "Low.6M", + "title": "price_52_week_high_date", "isHidden": false }, "plot_15": { - "title": "Low.6M.Date", + "title": "Low.6M", "isHidden": false }, "plot_16": { - "title": "High.6M", + "title": "Low.6M.Date", "isHidden": false }, "plot_17": { - "title": "High.6M.Date", + "title": "High.6M", "isHidden": false }, "plot_18": { - "title": "Low.3M", + "title": "High.6M.Date", "isHidden": false }, "plot_19": { - "title": "Low.3M.Date", + "title": "Low.3M", "isHidden": false }, "plot_2": { - "title": "High.All.Calc", + "title": "High.All.Date", "isHidden": false }, "plot_20": { - "title": "High.3M", + "title": "Low.3M.Date", "isHidden": false }, "plot_21": { - "title": "High.3M.Date", + "title": "High.3M", "isHidden": false }, "plot_22": { - "title": "Low.1M", + "title": "High.3M.Date", "isHidden": false }, "plot_23": { - "title": "Low.1M.Date", + "title": "Low.1M", "isHidden": false }, "plot_24": { - "title": "High.1M", + "title": "Low.1M.Date", "isHidden": false }, "plot_25": { - "title": "High.1M.Date", + "title": "High.1M", "isHidden": false }, "plot_26": { - "title": "Low.5D", + "title": "High.1M.Date", "isHidden": false }, "plot_27": { - "title": "High.5D", + "title": "Low.5D", "isHidden": false }, "plot_28": { - "title": "Volatility.W", + "title": "High.5D", "isHidden": false }, "plot_29": { - "title": "Volatility.M", + "title": "Volatility.W", "isHidden": false }, "plot_3": { - "title": "High.All.Calc.Date", + "title": "High.All.Calc", "isHidden": false }, "plot_30": { - "title": "Volatility.D", + "title": "Volatility.M", "isHidden": false }, "plot_31": { - "title": "first_bar_time", + "title": "Volatility.D", "isHidden": false }, "plot_32": { @@ -363,7 +363,7 @@ "isHidden": false }, "plot_4": { - "title": "Low.After.High.All", + "title": "High.All.Calc.Date", "isHidden": false }, "plot_40": { @@ -403,23 +403,23 @@ "isHidden": false }, "plot_5": { - "title": "Low.All", + "title": "Low.After.High.All", "isHidden": false }, "plot_6": { - "title": "Low.All.Date", + "title": "Low.All", "isHidden": false }, "plot_7": { - "title": "Low.All.Calc", + "title": "Low.All.Date", "isHidden": false }, "plot_8": { - "title": "Low.All.Calc.Date", + "title": "Low.All.Calc", "isHidden": false }, "plot_9": { - "title": "Open.All.Calc", + "title": "Low.All.Calc.Date", "isHidden": false } } diff --git a/scanner.data.coin.json b/scanner.data.coin.json index 587937f0e..9a67ad89c 100644 --- a/scanner.data.coin.json +++ b/scanner.data.coin.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~if_(time\u003c#0){i:0}_{v:for(0;9;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^high~v^time/1000~v^low~v:if(high\u003e$389){$389=high~$390=time/1000~$391=low~}~v:if(low\u003c$391){$391=low~}~$389~$390~$389~$390~$391~v^low~v^time/1000~v:if(low\u003c$399){$399=low~$400=time/1000~}~$399~$400~$399~$400~v^open~timenow-315532800000~$12($407,i:3652)~timenow-157766400000~$12($409,i:1826)~timenow-94608000000~$12($411,i:1095)~timenow-31449600000~$12($413,i:364)~s2:$10($414,i:364):s2~s2:$11($414,i:364):s2~timenow-15552000000~$12($419,i:180)~s2:$10($420,i:180):s2~s2:$11($420,i:180):s2~timenow-7776000000~$12($425,i:90)~s2:$10($426,i:90):s2~s2:$11($426,i:90):s2~time-2592000000~timenow-2592000000~$12($432,i:30)~$12($431,i:30)~s2:$10($433,i:30):s2~s2:$11($433,i:30):s2~timenow-604800000~time-604800000~$12($439,i:7)~$12($440,i:7)~s2:$10($441,i:7):s2~s2:$11($441,i:7):s2~$13($442)~$13($434)~tr(b:true)*100/abs(low)~v^time/1000~timenow-31536000000~$12($451,i:365)~$16()~((close-open@4)/open@4)*100~$15($441,i:7)~$15($433,i:30)~$15($426,i:90)~$15($420,i:180)~$15($452,i:365)~$15($412,i:1095)~$15($410,i:1826)~$15($408,i:3652)~time_tradingday/1000~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$394!$395!$396!$397!$398!$402!$403!$404!$405!$406!$415!$416!$417!$418!$421!$422!$423!$424!$427!$428!$429!$430!$435!$436!$437!$438!$443!$445!$447!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463;s298:$17():s298~$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$129!$31!$32!$33!$34!$35!$36!$132!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~ifelif_(#0/1000\u003c=#2){n}elif(time\u003c#0){i:0}_{v:for(0;10;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^time/1000~v^high~v^time/1000~v^low~v:if(high\u003e$390){$390=high~$391=time/1000~$392=low~}~v:if(low\u003c$392){$392=low~}~$390~$391~$390~$391~$392~v^low~v^time/1000~v:if(low\u003c$400){$400=low~$401=time/1000~}~$400~$401~$400~$401~v^open~timenow-315532800000~$12($408,i:3652,$389)~timenow-157766400000~$12($410,i:1826,$389)~timenow-94608000000~$12($412,i:1095,$389)~timenow-31449600000~$12($414,i:364,$389)~s2:$10($415,i:364):s2~s2:$11($415,i:364):s2~timenow-15552000000~$12($420,i:180,$389)~s2:$10($421,i:180):s2~s2:$11($421,i:180):s2~timenow-7776000000~$12($426,i:90,$389)~s2:$10($427,i:90):s2~s2:$11($427,i:90):s2~time-2592000000~timenow-2592000000~$12($433,i:30,$389)~$12($432,i:30,$389)~s2:$10($434,i:30):s2~s2:$11($434,i:30):s2~timenow-604800000~time-604800000~$12($440,i:7,$389)~$12($441,i:7,$389)~s2:$10($442,i:7):s2~s2:$11($442,i:7):s2~$13($443)~$13($435)~tr(b:true)*100/abs(low)~timenow-31536000000~$12($451,i:365,$389)~$16()~((close-open@4)/open@4)*100~$15($442,i:7)~$15($434,i:30)~$15($427,i:90)~$15($421,i:180)~$15($452,i:365)~$15($413,i:1095)~$15($411,i:1826)~$15($409,i:3652)~time_tradingday/1000~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$389!$395!$396!$397!$398!$399!$403!$404!$405!$406!$407!$416!$417!$418!$419!$422!$423!$424!$425!$428!$429!$430!$431!$436!$437!$438!$439!$444!$446!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463;s298:$17():s298~$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$129!$31!$32!$33!$34!$35!$36!$132!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315", "isFake": false }, { @@ -1919,23 +1919,23 @@ "isHidden": false }, "plot_255": { - "title": "High.All", + "title": "first_bar_time", "isHidden": false }, "plot_256": { - "title": "High.All.Date", + "title": "High.All", "isHidden": false }, "plot_257": { - "title": "High.All.Calc", + "title": "High.All.Date", "isHidden": false }, "plot_258": { - "title": "High.All.Calc.Date", + "title": "High.All.Calc", "isHidden": false }, "plot_259": { - "title": "Low.After.High.All", + "title": "High.All.Calc.Date", "isHidden": false }, "plot_26": { @@ -1943,43 +1943,43 @@ "isHidden": false }, "plot_260": { - "title": "Low.All", + "title": "Low.After.High.All", "isHidden": false }, "plot_261": { - "title": "Low.All.Date", + "title": "Low.All", "isHidden": false }, "plot_262": { - "title": "Low.All.Calc", + "title": "Low.All.Date", "isHidden": false }, "plot_263": { - "title": "Low.All.Calc.Date", + "title": "Low.All.Calc", "isHidden": false }, "plot_264": { - "title": "Open.All.Calc", + "title": "Low.All.Calc.Date", "isHidden": false }, "plot_265": { - "title": "price_52_week_low", + "title": "Open.All.Calc", "isHidden": false }, "plot_266": { - "title": "price_52_week_low_date", + "title": "price_52_week_low", "isHidden": false }, "plot_267": { - "title": "price_52_week_high", + "title": "price_52_week_low_date", "isHidden": false }, "plot_268": { - "title": "price_52_week_high_date", + "title": "price_52_week_high", "isHidden": false }, "plot_269": { - "title": "Low.6M", + "title": "price_52_week_high_date", "isHidden": false }, "plot_27": { @@ -1987,43 +1987,43 @@ "isHidden": false }, "plot_270": { - "title": "Low.6M.Date", + "title": "Low.6M", "isHidden": false }, "plot_271": { - "title": "High.6M", + "title": "Low.6M.Date", "isHidden": false }, "plot_272": { - "title": "High.6M.Date", + "title": "High.6M", "isHidden": false }, "plot_273": { - "title": "Low.3M", + "title": "High.6M.Date", "isHidden": false }, "plot_274": { - "title": "Low.3M.Date", + "title": "Low.3M", "isHidden": false }, "plot_275": { - "title": "High.3M", + "title": "Low.3M.Date", "isHidden": false }, "plot_276": { - "title": "High.3M.Date", + "title": "High.3M", "isHidden": false }, "plot_277": { - "title": "Low.1M", + "title": "High.3M.Date", "isHidden": false }, "plot_278": { - "title": "Low.1M.Date", + "title": "Low.1M", "isHidden": false }, "plot_279": { - "title": "High.1M", + "title": "Low.1M.Date", "isHidden": false }, "plot_28": { @@ -2031,31 +2031,31 @@ "isHidden": false }, "plot_280": { - "title": "High.1M.Date", + "title": "High.1M", "isHidden": false }, "plot_281": { - "title": "Low.5D", + "title": "High.1M.Date", "isHidden": false }, "plot_282": { - "title": "High.5D", + "title": "Low.5D", "isHidden": false }, "plot_283": { - "title": "Volatility.W", + "title": "High.5D", "isHidden": false }, "plot_284": { - "title": "Volatility.M", + "title": "Volatility.W", "isHidden": false }, "plot_285": { - "title": "Volatility.D", + "title": "Volatility.M", "isHidden": false }, "plot_286": { - "title": "first_bar_time", + "title": "Volatility.D", "isHidden": false }, "plot_287": { diff --git a/scanner.data.crypto.json b/scanner.data.crypto.json index 87744f9f9..7146c8ab9 100644 --- a/scanner.data.crypto.json +++ b/scanner.data.crypto.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~if_(time\u003c#0){i:0}_{v:for(0;9;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^high~v^time/1000~v^low~v:if(high\u003e$389){$389=high~$390=time/1000~$391=low~}~v:if(low\u003c$391){$391=low~}~$389~$390~$389~$390~$391~v^low~v^time/1000~v:if(low\u003c$399){$399=low~$400=time/1000~}~$399~$400~$399~$400~v^open~timenow-315532800000~$12($407,i:3652)~timenow-157766400000~$12($409,i:1826)~timenow-94608000000~$12($411,i:1095)~timenow-31449600000~$12($413,i:364)~s2:$10($414,i:364):s2~s2:$11($414,i:364):s2~timenow-15552000000~$12($419,i:180)~s2:$10($420,i:180):s2~s2:$11($420,i:180):s2~timenow-7776000000~$12($425,i:90)~s2:$10($426,i:90):s2~s2:$11($426,i:90):s2~time-2592000000~timenow-2592000000~$12($432,i:30)~$12($431,i:30)~s2:$10($433,i:30):s2~s2:$11($433,i:30):s2~timenow-604800000~time-604800000~$12($439,i:7)~$12($440,i:7)~s2:$10($441,i:7):s2~s2:$11($441,i:7):s2~$13($442)~$13($434)~tr(b:true)*100/abs(low)~v^time/1000~timenow-31536000000~$12($451,i:365)~$16()~((close-open@4)/open@4)*100~$15($441,i:7)~$15($433,i:30)~$15($426,i:90)~$15($420,i:180)~$15($452,i:365)~$15($412,i:1095)~$15($410,i:1826)~$15($408,i:3652)~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\u0026\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~time_tradingday/1000~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$394!$395!$396!$397!$398!$402!$403!$404!$405!$406!$415!$416!$417!$418!$421!$422!$423!$424!$427!$428!$429!$430!$435!$436!$437!$438!$443!$445!$447!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463!$464!$465;s300:$17():s300~$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$129!$31!$32!$33!$34!$35!$36!$132!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315!$316!$317", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~ifelif_(#0/1000\u003c=#2){n}elif(time\u003c#0){i:0}_{v:for(0;10;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^time/1000~v^high~v^time/1000~v^low~v:if(high\u003e$390){$390=high~$391=time/1000~$392=low~}~v:if(low\u003c$392){$392=low~}~$390~$391~$390~$391~$392~v^low~v^time/1000~v:if(low\u003c$400){$400=low~$401=time/1000~}~$400~$401~$400~$401~v^open~timenow-315532800000~$12($408,i:3652,$389)~timenow-157766400000~$12($410,i:1826,$389)~timenow-94608000000~$12($412,i:1095,$389)~timenow-31449600000~$12($414,i:364,$389)~s2:$10($415,i:364):s2~s2:$11($415,i:364):s2~timenow-15552000000~$12($420,i:180,$389)~s2:$10($421,i:180):s2~s2:$11($421,i:180):s2~timenow-7776000000~$12($426,i:90,$389)~s2:$10($427,i:90):s2~s2:$11($427,i:90):s2~time-2592000000~timenow-2592000000~$12($433,i:30,$389)~$12($432,i:30,$389)~s2:$10($434,i:30):s2~s2:$11($434,i:30):s2~timenow-604800000~time-604800000~$12($440,i:7,$389)~$12($441,i:7,$389)~s2:$10($442,i:7):s2~s2:$11($442,i:7):s2~$13($443)~$13($435)~tr(b:true)*100/abs(low)~timenow-31536000000~$12($451,i:365,$389)~$16()~((close-open@4)/open@4)*100~$15($442,i:7)~$15($434,i:30)~$15($427,i:90)~$15($421,i:180)~$15($452,i:365)~$15($413,i:1095)~$15($411,i:1826)~$15($409,i:3652)~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\u0026\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~time_tradingday/1000~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$389!$395!$396!$397!$398!$399!$403!$404!$405!$406!$407!$416!$417!$418!$419!$422!$423!$424!$425!$428!$429!$430!$431!$436!$437!$438!$439!$444!$446!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463!$464!$465;s300:$17():s300~$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$129!$31!$32!$33!$34!$35!$36!$132!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315!$316!$317", "isFake": false }, { @@ -1927,23 +1927,23 @@ "isHidden": false }, "plot_255": { - "title": "High.All", + "title": "first_bar_time", "isHidden": false }, "plot_256": { - "title": "High.All.Date", + "title": "High.All", "isHidden": false }, "plot_257": { - "title": "High.All.Calc", + "title": "High.All.Date", "isHidden": false }, "plot_258": { - "title": "High.All.Calc.Date", + "title": "High.All.Calc", "isHidden": false }, "plot_259": { - "title": "Low.After.High.All", + "title": "High.All.Calc.Date", "isHidden": false }, "plot_26": { @@ -1951,43 +1951,43 @@ "isHidden": false }, "plot_260": { - "title": "Low.All", + "title": "Low.After.High.All", "isHidden": false }, "plot_261": { - "title": "Low.All.Date", + "title": "Low.All", "isHidden": false }, "plot_262": { - "title": "Low.All.Calc", + "title": "Low.All.Date", "isHidden": false }, "plot_263": { - "title": "Low.All.Calc.Date", + "title": "Low.All.Calc", "isHidden": false }, "plot_264": { - "title": "Open.All.Calc", + "title": "Low.All.Calc.Date", "isHidden": false }, "plot_265": { - "title": "price_52_week_low", + "title": "Open.All.Calc", "isHidden": false }, "plot_266": { - "title": "price_52_week_low_date", + "title": "price_52_week_low", "isHidden": false }, "plot_267": { - "title": "price_52_week_high", + "title": "price_52_week_low_date", "isHidden": false }, "plot_268": { - "title": "price_52_week_high_date", + "title": "price_52_week_high", "isHidden": false }, "plot_269": { - "title": "Low.6M", + "title": "price_52_week_high_date", "isHidden": false }, "plot_27": { @@ -1995,43 +1995,43 @@ "isHidden": false }, "plot_270": { - "title": "Low.6M.Date", + "title": "Low.6M", "isHidden": false }, "plot_271": { - "title": "High.6M", + "title": "Low.6M.Date", "isHidden": false }, "plot_272": { - "title": "High.6M.Date", + "title": "High.6M", "isHidden": false }, "plot_273": { - "title": "Low.3M", + "title": "High.6M.Date", "isHidden": false }, "plot_274": { - "title": "Low.3M.Date", + "title": "Low.3M", "isHidden": false }, "plot_275": { - "title": "High.3M", + "title": "Low.3M.Date", "isHidden": false }, "plot_276": { - "title": "High.3M.Date", + "title": "High.3M", "isHidden": false }, "plot_277": { - "title": "Low.1M", + "title": "High.3M.Date", "isHidden": false }, "plot_278": { - "title": "Low.1M.Date", + "title": "Low.1M", "isHidden": false }, "plot_279": { - "title": "High.1M", + "title": "Low.1M.Date", "isHidden": false }, "plot_28": { @@ -2039,31 +2039,31 @@ "isHidden": false }, "plot_280": { - "title": "High.1M.Date", + "title": "High.1M", "isHidden": false }, "plot_281": { - "title": "Low.5D", + "title": "High.1M.Date", "isHidden": false }, "plot_282": { - "title": "High.5D", + "title": "Low.5D", "isHidden": false }, "plot_283": { - "title": "Volatility.W", + "title": "High.5D", "isHidden": false }, "plot_284": { - "title": "Volatility.M", + "title": "Volatility.W", "isHidden": false }, "plot_285": { - "title": "Volatility.D", + "title": "Volatility.M", "isHidden": false }, "plot_286": { - "title": "first_bar_time", + "title": "Volatility.D", "isHidden": false }, "plot_287": { diff --git a/scanner.data.futures.json b/scanner.data.futures.json index 5c457698a..21a041954 100644 --- a/scanner.data.futures.json +++ b/scanner.data.futures.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~if_(time\u003c#0){i:0}_{v:for(0;9;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);close~$0;$17();sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^high~v^time/1000~v^low~v:if(high\u003e$389){$389=high~$390=time/1000~$391=low~}~v:if(low\u003c$391){$391=low~}~$389~$390~$389~$390~$391~v^low~v^time/1000~v:if(low\u003c$399){$399=low~$400=time/1000~}~$399~$400~$399~$400~v^open~timenow-315532800000~$12($407,i:3652)~timenow-157766400000~$12($409,i:1826)~timenow-94608000000~$12($411,i:1095)~timenow-31449600000~$12($413,i:364)~s2:$10($414,i:364):s2~s2:$11($414,i:364):s2~timenow-15552000000~$12($419,i:180)~s2:$10($420,i:180):s2~s2:$11($420,i:180):s2~timenow-7776000000~$12($425,i:90)~s2:$10($426,i:90):s2~s2:$11($426,i:90):s2~time-2592000000~timenow-2592000000~$12($432,i:30)~$12($431,i:30)~s2:$10($433,i:30):s2~s2:$11($433,i:30):s2~timenow-604800000~time-604800000~$12($439,i:7)~$12($440,i:7)~s2:$10($441,i:7):s2~s2:$11($441,i:7):s2~$13($442)~$13($434)~tr(b:true)*100/abs(low)~v^time/1000~timenow-31536000000~$12($451,i:365)~$16()~((close-open@4)/open@4)*100~$15($441,i:7)~$15($433,i:30)~$15($426,i:90)~$15($420,i:180)~$15($452,i:365)~$15($412,i:1095)~$15($410,i:1826)~$15($408,i:3652)~time_tradingday/1000~#0~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$394!$395!$396!$397!$398!$402!$403!$404!$405!$406!$415!$416!$417!$418!$421!$422!$423!$424!$427!$428!$429!$430!$435!$436!$437!$438!$443!$445!$447!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463!$464;t:str.format(t:'{0}_{1}',t:ticker.standard(tickerid):t,t:'OI'):t~i:na():f~sym($20,'D','D',false,false,true,'NONE',false,false,$21)|$18()|s299:$19($23):s299~$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$136!$38!$39!$40!$41!$42!$43!$139!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315!$316!$317!$318!$319!$320!$321!$322!$323", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~ifelif_(#0/1000\u003c=#2){n}elif(time\u003c#0){i:0}_{v:for(0;10;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);close~$0;$17();sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^time/1000~v^high~v^time/1000~v^low~v:if(high\u003e$390){$390=high~$391=time/1000~$392=low~}~v:if(low\u003c$392){$392=low~}~$390~$391~$390~$391~$392~v^low~v^time/1000~v:if(low\u003c$400){$400=low~$401=time/1000~}~$400~$401~$400~$401~v^open~timenow-315532800000~$12($408,i:3652,$389)~timenow-157766400000~$12($410,i:1826,$389)~timenow-94608000000~$12($412,i:1095,$389)~timenow-31449600000~$12($414,i:364,$389)~s2:$10($415,i:364):s2~s2:$11($415,i:364):s2~timenow-15552000000~$12($420,i:180,$389)~s2:$10($421,i:180):s2~s2:$11($421,i:180):s2~timenow-7776000000~$12($426,i:90,$389)~s2:$10($427,i:90):s2~s2:$11($427,i:90):s2~time-2592000000~timenow-2592000000~$12($433,i:30,$389)~$12($432,i:30,$389)~s2:$10($434,i:30):s2~s2:$11($434,i:30):s2~timenow-604800000~time-604800000~$12($440,i:7,$389)~$12($441,i:7,$389)~s2:$10($442,i:7):s2~s2:$11($442,i:7):s2~$13($443)~$13($435)~tr(b:true)*100/abs(low)~timenow-31536000000~$12($451,i:365,$389)~$16()~((close-open@4)/open@4)*100~$15($442,i:7)~$15($434,i:30)~$15($427,i:90)~$15($421,i:180)~$15($452,i:365)~$15($413,i:1095)~$15($411,i:1826)~$15($409,i:3652)~time_tradingday/1000~#0~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$389!$395!$396!$397!$398!$399!$403!$404!$405!$406!$407!$416!$417!$418!$419!$422!$423!$424!$425!$428!$429!$430!$431!$436!$437!$438!$439!$444!$446!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463!$464;t:str.format(t:'{0}_{1}',t:ticker.standard(tickerid):t,t:'OI'):t~i:na():f~sym($20,'D','D',false,false,true,'NONE',false,false,$21)|$18()|s299:$19($23):s299~$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$136!$38!$39!$40!$41!$42!$43!$139!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315!$316!$317!$318!$319!$320!$321!$322!$323", "isFake": false }, { @@ -1923,23 +1923,23 @@ "isHidden": false }, "plot_255": { - "title": "High.All", + "title": "first_bar_time", "isHidden": false }, "plot_256": { - "title": "High.All.Date", + "title": "High.All", "isHidden": false }, "plot_257": { - "title": "High.All.Calc", + "title": "High.All.Date", "isHidden": false }, "plot_258": { - "title": "High.All.Calc.Date", + "title": "High.All.Calc", "isHidden": false }, "plot_259": { - "title": "Low.After.High.All", + "title": "High.All.Calc.Date", "isHidden": false }, "plot_26": { @@ -1947,43 +1947,43 @@ "isHidden": false }, "plot_260": { - "title": "Low.All", + "title": "Low.After.High.All", "isHidden": false }, "plot_261": { - "title": "Low.All.Date", + "title": "Low.All", "isHidden": false }, "plot_262": { - "title": "Low.All.Calc", + "title": "Low.All.Date", "isHidden": false }, "plot_263": { - "title": "Low.All.Calc.Date", + "title": "Low.All.Calc", "isHidden": false }, "plot_264": { - "title": "Open.All.Calc", + "title": "Low.All.Calc.Date", "isHidden": false }, "plot_265": { - "title": "price_52_week_low", + "title": "Open.All.Calc", "isHidden": false }, "plot_266": { - "title": "price_52_week_low_date", + "title": "price_52_week_low", "isHidden": false }, "plot_267": { - "title": "price_52_week_high", + "title": "price_52_week_low_date", "isHidden": false }, "plot_268": { - "title": "price_52_week_high_date", + "title": "price_52_week_high", "isHidden": false }, "plot_269": { - "title": "Low.6M", + "title": "price_52_week_high_date", "isHidden": false }, "plot_27": { @@ -1991,43 +1991,43 @@ "isHidden": false }, "plot_270": { - "title": "Low.6M.Date", + "title": "Low.6M", "isHidden": false }, "plot_271": { - "title": "High.6M", + "title": "Low.6M.Date", "isHidden": false }, "plot_272": { - "title": "High.6M.Date", + "title": "High.6M", "isHidden": false }, "plot_273": { - "title": "Low.3M", + "title": "High.6M.Date", "isHidden": false }, "plot_274": { - "title": "Low.3M.Date", + "title": "Low.3M", "isHidden": false }, "plot_275": { - "title": "High.3M", + "title": "Low.3M.Date", "isHidden": false }, "plot_276": { - "title": "High.3M.Date", + "title": "High.3M", "isHidden": false }, "plot_277": { - "title": "Low.1M", + "title": "High.3M.Date", "isHidden": false }, "plot_278": { - "title": "Low.1M.Date", + "title": "Low.1M", "isHidden": false }, "plot_279": { - "title": "High.1M", + "title": "Low.1M.Date", "isHidden": false }, "plot_28": { @@ -2035,31 +2035,31 @@ "isHidden": false }, "plot_280": { - "title": "High.1M.Date", + "title": "High.1M", "isHidden": false }, "plot_281": { - "title": "Low.5D", + "title": "High.1M.Date", "isHidden": false }, "plot_282": { - "title": "High.5D", + "title": "Low.5D", "isHidden": false }, "plot_283": { - "title": "Volatility.W", + "title": "High.5D", "isHidden": false }, "plot_284": { - "title": "Volatility.M", + "title": "Volatility.W", "isHidden": false }, "plot_285": { - "title": "Volatility.D", + "title": "Volatility.M", "isHidden": false }, "plot_286": { - "title": "first_bar_time", + "title": "Volatility.D", "isHidden": false }, "plot_287": { diff --git a/scanner.data.json b/scanner.data.json index 65c5fab8e..8b9d5e03e 100644 --- a/scanner.data.json +++ b/scanner.data.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~if_(time\u003c#0){i:0}_{v:for(0;9;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);time_closeV5('D',syminfo.session,syminfo.timezone,0)-(#0*86400000);$17(i:#0)~if_(time\u003c$0){na():f}_{0~v:for(0;n;1){v:if(time@$3\u003c$0){$2=$3-1~break~}~}~if(time@$2-$0\u003c#1*86400000){if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}}~$9};v:max_bars_back(time,730):v~v:max_bars_back(close,730):v~0~v:for(1;n;1){v:if(year(time@$3)\u003cyear){$2=$3-1~break~}~}~if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}~$8;$17(i:#0)~0.0~v:for(0;n;1){v:if(time@$2\u003c$0){break~}~$1=$1+close@$2~}~$1;v^0.0~v:if(year(time@1,syminfo.timezone)\u003cyear(time,syminfo.timezone)){$0=0~}~$0=$0+close~$0;$17(i:#0)~if_(time\u003c$0){na():f}_{n~v:for(0;n;1){v:if(time@$3\u003c$0){$2=$3-1~break~}~}~if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}~$8};v:max_bars_back(time,730):v~v:max_bars_back(close,730):v~n~v:for(1;n;1){v:if(year(time@$3)\u003cyear){$2=$3-1~break~}~}~if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}~$8;t:#0==''?tickerid:#0;$18(i:7,i:10)~$18(i:30,i:10)~$18(i:90,i:10)~$18(i:180,i:10)~$18(i:365,i:10)~$18(i:1826,i:10)~$19()~$0!$1!$2!$3!$4!$5!$6;s7:$25():s7;$20(i:30)~$20(i:90)~$20(i:365)~$20(i:1095)~$20(i:1826)~$21()~$0!$1!$2!$3!$4!$5;s6:$27():s6;$22(i:30)~$22(i:90)~$22(i:365)~$22(i:1095)~$22(i:1826)~$23()~$0!$1!$2!$3!$4!$5;s6:$29():s6;s6:$29():s6;$22(i:30)~$22(i:90)~$22(i:180)~$22(i:365)~$22(i:1095)~$22(i:1826)~$23()~$0!$1!$2!$3!$4!$5!$6;s7:$32():s7;close~$0;$34();sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^high~v^time/1000~v^low~v:if(high\u003e$389){$389=high~$390=time/1000~$391=low~}~v:if(low\u003c$391){$391=low~}~$389~$390~$389~$390~$391~v^low~v^time/1000~v:if(low\u003c$399){$399=low~$400=time/1000~}~$399~$400~$399~$400~v^open~timenow-315532800000~$12($407,i:3652)~timenow-157766400000~$12($409,i:1826)~timenow-94608000000~$12($411,i:1095)~timenow-31449600000~$12($413,i:364)~s2:$10($414,i:364):s2~s2:$11($414,i:364):s2~timenow-15552000000~$12($419,i:180)~s2:$10($420,i:180):s2~s2:$11($420,i:180):s2~timenow-7776000000~$12($425,i:90)~s2:$10($426,i:90):s2~s2:$11($426,i:90):s2~time-2592000000~timenow-2592000000~$12($432,i:30)~$12($431,i:30)~s2:$10($433,i:30):s2~s2:$11($433,i:30):s2~timenow-604800000~time-604800000~$12($439,i:7)~$12($440,i:7)~s2:$10($441,i:7):s2~s2:$11($441,i:7):s2~$13($442)~$13($434)~tr(b:true)*100/abs(low)~v^time/1000~timenow-31536000000~$12($451,i:365)~$16()~((close-open@4)/open@4)*100~$15($441,i:7)~$15($433,i:30)~$15($426,i:90)~$15($420,i:180)~$15($452,i:365)~$15($412,i:1095)~$15($410,i:1826)~$15($408,i:3652)~time_tradingday/1000~#0~#1~#2~#3~#4~#5~#6~#7~#8~#9~#10~#11~#12~#13~#14~#15~#16~#17~#18~#19~#20~#21~#22~#23~#24~#25~#26~#27~#28~#29~#30~#31~#32~v^na():f~v:if(!na($496):s_b){$497=(close/$496-1)*100~}~$497~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$394!$395!$396!$397!$398!$402!$403!$404!$405!$406!$415!$416!$417!$418!$421!$422!$423!$424!$427!$428!$429!$430!$435!$436!$437!$438!$443!$445!$447!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463!$464!$465!$466!$467!$468!$469!$470!$471!$472!$473!$474!$475!$476!$477!$478!$479!$480!$481!$482!$483!$484!$485!$486!$487!$488!$489!$490!$491!$492!$493!$494!$495!$499;t:__financial_tickerid(tickerid,'MARKET_CAP_BASIC','D'):t~t:isintraday?'D':period~i:na():f~sym($37,$38,$38,false,false,true,'NONE',false,false,$39)|$26():s7|t:__financial_tickerid(tickerid,'FUND_FLOWS','D'):t~sym($49,$38,$38,false,false,true,'NONE',false,false,$39)|$28():s6|t:__financial_tickerid(tickerid,'NAV','D'):t~sym($58,$38,$38,false,false,true,'NONE',false,false,$39)|$30():s6|t:__financial_tickerid(tickerid,'AUM','D'):t~sym($67,$38,$38,false,false,true,'NONE',false,false,$39)|$31():s6|t:__financial_tickerid(tickerid,'NAV_ALL','D'):t~sym($76,$38,$38,false,false,true,'NONE',false,false,$39)|$33():s7|t:input('in_0','')~t:__financial_tickerid($24(t:$86):t,'NAV','D'):t~sym($87,'D','D',true,false,true,'NONE',false,false,$39)|$35()|s331:$36($41,$42,$43,$44,$45,$46,$47,$51,$52,$53,$54,$55,$56,$60,$61,$62,$63,$64,$65,$69,$70,$71,$72,$73,$74,$78,$79,$80,$81,$82,$83,$84,$89):s331~$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$202!$104!$105!$106!$107!$108!$109!$205!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315!$316!$317!$318!$319!$320!$321!$322!$323!$324!$325!$326!$327!$328!$329!$330!$331!$332!$333!$334!$335!$336!$337!$338!$339!$340!$341!$342!$343!$344!$345!$346!$347!$348!$349!$350!$351!$352!$353!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$371!$372!$373!$374!$375!$376!$377!$378!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392!$393!$394!$395!$396!$397!$398!$399!$400!$401!$402!$403!$404!$405!$406!$407!$408!$409!$410!$411!$412!$413!$414!$415!$416!$417!$418!$419!$420!$421", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;i:#1+1~low@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){low!time/1000}_{#0~#0+1~v:if(!na(low@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(low@$10\u003clow@$9){$9=$10~}~}~low@$9!time@$9/1000};i:#1+1~high@$0*time@$0~s2:ifelif_(#0==0){na():f+$1!na():f}elif(#0==1){high!time/1000}_{#0~#0+1~v:if(!na(high@$7):s_b){$6=$6-1~}~0~v:for(0;$6;1){v:if(high@$10\u003ehigh@$9){$9=$10~}~}~high@$9!time@$9/1000};0*time@#1~min(n,#1)~0~ifelif_(#0/1000\u003c=#2){n}elif(time\u003c#0){i:0}_{v:for(0;10;1){$0=ceil(($2+$1)/2)~v:ifelif_($2==$1){break~}elif(time@$0\u003c#0){$1=$0~continue~}elif(time@$0\u003e#0){$2=$0~continue~}_{break~}~}~$0};#0~v:if(n==0){$0=365~}~if_($0==0){na():f}_{sum(((high-low)/abs(low))*100/$0,$0)~if_(#0==0){na():f}_{$3}};if_(#0\u003c0\u0026\u0026close\u003e0){na():f}_{(close-#0)*100/abs(#0)};open@#1*0+#0==0?na():f:$14(open@#0);v^open~year~v:if(year\u003e$1@1){$0=open~}~$14($0);time_closeV5('D',syminfo.session,syminfo.timezone,0)-(#0*86400000);$17(i:#0)~if_(time\u003c$0){na():f}_{0~v:for(0;n;1){v:if(time@$3\u003c$0){$2=$3-1~break~}~}~if(time@$2-$0\u003c#1*86400000){if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}}~$9};v:max_bars_back(time,730):v~v:max_bars_back(close,730):v~0~v:for(1;n;1){v:if(year(time@$3)\u003cyear){$2=$3-1~break~}~}~if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}~$8;$17(i:#0)~0.0~v:for(0;n;1){v:if(time@$2\u003c$0){break~}~$1=$1+close@$2~}~$1;v^0.0~v:if(year(time@1,syminfo.timezone)\u003cyear(time,syminfo.timezone)){$0=0~}~$0=$0+close~$0;$17(i:#0)~if_(time\u003c$0){na():f}_{n~v:for(0;n;1){v:if(time@$3\u003c$0){$2=$3-1~break~}~}~if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}~$8};v:max_bars_back(time,730):v~v:max_bars_back(close,730):v~n~v:for(1;n;1){v:if(year(time@$3)\u003cyear){$2=$3-1~break~}~}~if_(close@$2\u003c0\u0026\u0026close\u003e0||close@$2==0){na():f}_{(close-close@$2)*100/abs(close@$2)}~$8;t:#0==''?tickerid:#0;$18(i:7,i:10)~$18(i:30,i:10)~$18(i:90,i:10)~$18(i:180,i:10)~$18(i:365,i:10)~$18(i:1826,i:10)~$19()~$0!$1!$2!$3!$4!$5!$6;s7:$25():s7;$20(i:30)~$20(i:90)~$20(i:365)~$20(i:1095)~$20(i:1826)~$21()~$0!$1!$2!$3!$4!$5;s6:$27():s6;$22(i:30)~$22(i:90)~$22(i:365)~$22(i:1095)~$22(i:1826)~$23()~$0!$1!$2!$3!$4!$5;s6:$29():s6;s6:$29():s6;$22(i:30)~$22(i:90)~$22(i:180)~$22(i:365)~$22(i:1095)~$22(i:1826)~$23()~$0!$1!$2!$3!$4!$5!$6;s7:$32():s7;close~$0;$34();sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~v^open~v^high~v^low~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($351!=$351@1){$347=$344~$350=close@1~$348=$345~$349=$346~$344=open~$345=high~$346=low~}_{$345=max($345,high)~$346=min($346,low)~}~($348+$349+$350)/3~$9($353)~$9($353*2-$349)~$9($353*2-$348)~$9($353+1*($348-$349))~$9($353-1*($348-$349))~$9($353+2*($348-$349))~$9($353-2*($348-$349))~$9($353)~$9($353+0.382*($348-$349))~$9($353-0.382*($348-$349))~$9($353+0.618*($348-$349))~$9($353-0.618*($348-$349))~$9($353+1*($348-$349))~$9($353-1*($348-$349))~($348+$349+$344*2)/4~$9($368)~$9($368*2-$349)~$9($368*2-$348)~$9($368+1*($348-$349))~$9($368-1*($348-$349))~$9($348+2*($368-$349))~$9($349-2*($348-$368))~$348+$349*2+$350~v:if($350==$347){$376=$348+$349+$350*2~}~v:if($350\u003e$347){$376=$348*2+$349+$350~}~$9($376/4)~$9($376/2-$349)~$9($376/2-$348)~$9($353)~$9($350+0.09166666666666667*($348-$349))~$9($350-0.09166666666666667*($348-$349))~$9($350+0.18333333333333335*($348-$349))~$9($350-0.18333333333333335*($348-$349))~$9($350+0.275*($348-$349))~$9($350-0.275*($348-$349))~v^time/1000~v^high~v^time/1000~v^low~v:if(high\u003e$390){$390=high~$391=time/1000~$392=low~}~v:if(low\u003c$392){$392=low~}~$390~$391~$390~$391~$392~v^low~v^time/1000~v:if(low\u003c$400){$400=low~$401=time/1000~}~$400~$401~$400~$401~v^open~timenow-315532800000~$12($408,i:3652,$389)~timenow-157766400000~$12($410,i:1826,$389)~timenow-94608000000~$12($412,i:1095,$389)~timenow-31449600000~$12($414,i:364,$389)~s2:$10($415,i:364):s2~s2:$11($415,i:364):s2~timenow-15552000000~$12($420,i:180,$389)~s2:$10($421,i:180):s2~s2:$11($421,i:180):s2~timenow-7776000000~$12($426,i:90,$389)~s2:$10($427,i:90):s2~s2:$11($427,i:90):s2~time-2592000000~timenow-2592000000~$12($433,i:30,$389)~$12($432,i:30,$389)~s2:$10($434,i:30):s2~s2:$11($434,i:30):s2~timenow-604800000~time-604800000~$12($440,i:7,$389)~$12($441,i:7,$389)~s2:$10($442,i:7):s2~s2:$11($442,i:7):s2~$13($443)~$13($435)~tr(b:true)*100/abs(low)~timenow-31536000000~$12($451,i:365,$389)~$16()~((close-open@4)/open@4)*100~$15($442,i:7)~$15($434,i:30)~$15($427,i:90)~$15($421,i:180)~$15($452,i:365)~$15($413,i:1095)~$15($411,i:1826)~$15($409,i:3652)~time_tradingday/1000~#0~#1~#2~#3~#4~#5~#6~#7~#8~#9~#10~#11~#12~#13~#14~#15~#16~#17~#18~#19~#20~#21~#22~#23~#24~#25~#26~#27~#28~#29~#30~#31~#32~v^na():f~v:if(!na($496):s_b){$497=(close/$496-1)*100~}~$497~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$369!$370!$371!$372!$373!$374!$375!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$389!$395!$396!$397!$398!$399!$403!$404!$405!$406!$407!$416!$417!$418!$419!$422!$423!$424!$425!$428!$429!$430!$431!$436!$437!$438!$439!$444!$446!$448!$449!$450!$454!$455!$456!$457!$458!$459!$460!$461!$462!$453!$463!$464!$465!$466!$467!$468!$469!$470!$471!$472!$473!$474!$475!$476!$477!$478!$479!$480!$481!$482!$483!$484!$485!$486!$487!$488!$489!$490!$491!$492!$493!$494!$495!$499;t:__financial_tickerid(tickerid,'MARKET_CAP_BASIC','D'):t~t:isintraday?'D':period~i:na():f~sym($37,$38,$38,false,false,true,'NONE',false,false,$39)|$26():s7|t:__financial_tickerid(tickerid,'FUND_FLOWS','D'):t~sym($49,$38,$38,false,false,true,'NONE',false,false,$39)|$28():s6|t:__financial_tickerid(tickerid,'NAV','D'):t~sym($58,$38,$38,false,false,true,'NONE',false,false,$39)|$30():s6|t:__financial_tickerid(tickerid,'AUM','D'):t~sym($67,$38,$38,false,false,true,'NONE',false,false,$39)|$31():s6|t:__financial_tickerid(tickerid,'NAV_ALL','D'):t~sym($76,$38,$38,false,false,true,'NONE',false,false,$39)|$33():s7|t:input('in_0','')~t:__financial_tickerid($24(t:$86):t,'NAV','D'):t~sym($87,'D','D',true,false,true,'NONE',false,false,$39)|$35()|s331:$36($41,$42,$43,$44,$45,$46,$47,$51,$52,$53,$54,$55,$56,$60,$61,$62,$63,$64,$65,$69,$70,$71,$72,$73,$74,$78,$79,$80,$81,$82,$83,$84,$89):s331~$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$202!$104!$105!$106!$107!$108!$109!$205!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300!$301!$302!$303!$304!$305!$306!$307!$308!$309!$310!$311!$312!$313!$314!$315!$316!$317!$318!$319!$320!$321!$322!$323!$324!$325!$326!$327!$328!$329!$330!$331!$332!$333!$334!$335!$336!$337!$338!$339!$340!$341!$342!$343!$344!$345!$346!$347!$348!$349!$350!$351!$352!$353!$354!$355!$356!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$371!$372!$373!$374!$375!$376!$377!$378!$379!$380!$381!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392!$393!$394!$395!$396!$397!$398!$399!$400!$401!$402!$403!$404!$405!$406!$407!$408!$409!$410!$411!$412!$413!$414!$415!$416!$417!$418!$419!$420!$421", "isFake": false }, { @@ -2051,23 +2051,23 @@ "isHidden": false }, "plot_255": { - "title": "High.All", + "title": "first_bar_time", "isHidden": false }, "plot_256": { - "title": "High.All.Date", + "title": "High.All", "isHidden": false }, "plot_257": { - "title": "High.All.Calc", + "title": "High.All.Date", "isHidden": false }, "plot_258": { - "title": "High.All.Calc.Date", + "title": "High.All.Calc", "isHidden": false }, "plot_259": { - "title": "Low.After.High.All", + "title": "High.All.Calc.Date", "isHidden": false }, "plot_26": { @@ -2075,43 +2075,43 @@ "isHidden": false }, "plot_260": { - "title": "Low.All", + "title": "Low.After.High.All", "isHidden": false }, "plot_261": { - "title": "Low.All.Date", + "title": "Low.All", "isHidden": false }, "plot_262": { - "title": "Low.All.Calc", + "title": "Low.All.Date", "isHidden": false }, "plot_263": { - "title": "Low.All.Calc.Date", + "title": "Low.All.Calc", "isHidden": false }, "plot_264": { - "title": "Open.All.Calc", + "title": "Low.All.Calc.Date", "isHidden": false }, "plot_265": { - "title": "price_52_week_low", + "title": "Open.All.Calc", "isHidden": false }, "plot_266": { - "title": "price_52_week_low_date", + "title": "price_52_week_low", "isHidden": false }, "plot_267": { - "title": "price_52_week_high", + "title": "price_52_week_low_date", "isHidden": false }, "plot_268": { - "title": "price_52_week_high_date", + "title": "price_52_week_high", "isHidden": false }, "plot_269": { - "title": "Low.6M", + "title": "price_52_week_high_date", "isHidden": false }, "plot_27": { @@ -2119,43 +2119,43 @@ "isHidden": false }, "plot_270": { - "title": "Low.6M.Date", + "title": "Low.6M", "isHidden": false }, "plot_271": { - "title": "High.6M", + "title": "Low.6M.Date", "isHidden": false }, "plot_272": { - "title": "High.6M.Date", + "title": "High.6M", "isHidden": false }, "plot_273": { - "title": "Low.3M", + "title": "High.6M.Date", "isHidden": false }, "plot_274": { - "title": "Low.3M.Date", + "title": "Low.3M", "isHidden": false }, "plot_275": { - "title": "High.3M", + "title": "Low.3M.Date", "isHidden": false }, "plot_276": { - "title": "High.3M.Date", + "title": "High.3M", "isHidden": false }, "plot_277": { - "title": "Low.1M", + "title": "High.3M.Date", "isHidden": false }, "plot_278": { - "title": "Low.1M.Date", + "title": "Low.1M", "isHidden": false }, "plot_279": { - "title": "High.1M", + "title": "Low.1M.Date", "isHidden": false }, "plot_28": { @@ -2163,31 +2163,31 @@ "isHidden": false }, "plot_280": { - "title": "High.1M.Date", + "title": "High.1M", "isHidden": false }, "plot_281": { - "title": "Low.5D", + "title": "High.1M.Date", "isHidden": false }, "plot_282": { - "title": "High.5D", + "title": "Low.5D", "isHidden": false }, "plot_283": { - "title": "Volatility.W", + "title": "High.5D", "isHidden": false }, "plot_284": { - "title": "Volatility.M", + "title": "Volatility.W", "isHidden": false }, "plot_285": { - "title": "Volatility.D", + "title": "Volatility.M", "isHidden": false }, "plot_286": { - "title": "first_bar_time", + "title": "Volatility.D", "isHidden": false }, "plot_287": { diff --git a/scanner.data.simple.5.json b/scanner.data.simple.5.json index ccf4bb675..88540adec 100644 --- a/scanner.data.simple.5.json +++ b/scanner.data.simple.5.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "{\"IL\":\"change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\\u003e$1\\u0026\\u0026$0\\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\\u003e$0\\u0026\\u0026$1\\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\\u0026\\u0026$1!=0\\u0026\\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;$0.5(volume,i:10,t:'1D',b:true)~$0.3(volume,s_b:timeframe.change('1D'):s_b,b:true)~$1/$0~$2;$12();sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\\u0026\\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\\u003c$202~s_b:close\\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\\u003e$188\\u0026\\u0026close\\u003e$187\\u0026\\u0026close\\u003c$186\\u0026\\u0026close@1\\u003c$185\\u0026\\u0026close\\u003e$185,s_b:$188\\u003e$187\\u0026\\u0026close\\u003c$187\\u0026\\u0026close\\u003e$186\\u0026\\u0026close@1\\u003e$185\\u0026\\u0026close\\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\\u003c30\\u0026\\u0026$231@1\\u003c$231,s_b:$231\\u003e70\\u0026\\u0026$231@1\\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\\u003c20\\u0026\\u0026$127\\u003c20\\u0026\\u0026$126\\u003e$127\\u0026\\u0026$126@1\\u003c$127@1,s_b:$126\\u003e80\\u0026\\u0026$127\\u003e80\\u0026\\u0026$126\\u003c$127\\u0026\\u0026$126@1\\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\\u003c(-100)\\u0026\\u0026$234\\u003e$234@1,s_b:$234\\u003e100\\u0026\\u0026$234\\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\\u003e20\\u0026\\u0026$87@1\\u003c$88@1\\u0026\\u0026$87\\u003e$88,s_b:$86\\u003e20\\u0026\\u0026$87@1\\u003e$88@1\\u0026\\u0026$87\\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\\u003e0\\u0026\\u0026$160@1\\u003e0\\u0026\\u0026$160\\u003e$160@1\\u0026\\u0026$160@2\\u003e$160@1,s_b:crossunder($160,0):s_b||$160\\u003c0\\u0026\\u0026$160@1\\u003c0\\u0026\\u0026$160\\u003c$160@1\\u0026\\u0026$160@2\\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\\u003e$121@1,s_b:$121\\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\\u003e$119,s_b:$118\\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\\u0026\\u0026$174\\u003c20\\u0026\\u0026$175\\u003c20\\u0026\\u0026$174\\u003e$175\\u0026\\u0026$174@1\\u003c$175@1,s_b:$204\\u0026\\u0026$174\\u003e80\\u0026\\u0026$175\\u003e80\\u0026\\u0026$174\\u003c$175\\u0026\\u0026$174@1\\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\\u003c(-80)\\u0026\\u0026$177\\u003e$177@1,s_b:$177\\u003e(-20)\\u0026\\u0026$177\\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\\u0026\\u0026$180\\u003c0\\u0026\\u0026$180\\u003e$180@1,s_b:$203\\u0026\\u0026$179\\u003e0\\u0026\\u0026$179\\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\\u003e70,s_b:$182\\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\\u003c$266~s_b:$265\\u003e$266~high-$263~$264-low~s_b:close\\u003c$262~s_b:close\\u003e$262~s_b:$269\\u003e0*$265~s_b:$270\\u003e0*$265~s_b:open\\u003cclose~s_b:open\\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\\u003c100\\u0026\\u0026(abs($270-$269)/$269)*100\\u003c100~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$264\\u003ehl2\\u0026\\u0026$270\\u003e=2.0*$265\\u0026\\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$263\\u003chl2\\u0026\\u0026$269\\u003e=2.0*$265\\u0026\\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\\u0026\\u0026$267@1\\u0026\\u0026$268){v:if_($271\\u0026\\u0026$276@2\\u0026\\u0026$263@1\\u003c$264@2\\u0026\\u0026$275\\u0026\\u0026$263\\u003e=$278@2\\u0026\\u0026$263\\u003c$263@2\\u0026\\u0026$263@1\\u003c$264){$294=s_b:true~}_{v:if($272\\u0026\\u0026$275@2\\u0026\\u0026$264@1\\u003e$263@2\\u0026\\u0026$276\\u0026\\u0026$264\\u003c=$278@2\\u0026\\u0026$264\\u003e$264@2\\u0026\\u0026$264@1\\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\\u0026\\u0026$269\\u003c=0*$265\\u0026\\u0026$270\\u003c=0*$265~s_b:$301\\u0026\\u0026$275~s_b:$301\\u0026\\u0026$276~$303?1:0~$302?1:0~s_b:$277\\u003e0\\u0026\\u0026$265\\u003c=$277*5/100~s_b:$306\\u0026\\u0026$279~s_b:$306\\u0026\\u0026$269\\u003c=$265~s_b:$306\\u0026\\u0026$270\\u003c=$265~$307\\u0026\\u0026!$308\\u0026\\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\\u0026\\u0026$276@1\\u0026\\u0026$271@1\\u0026\\u0026$275\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$268@1\\u0026\\u0026$275@1\\u0026\\u0026$272@1\\u0026\\u0026$276\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$270\\u003e($277/100)*75?1:0~$269\\u003e($277/100)*75?1:0~s_b:$270\\u003e=($277/100)*34\\u0026\\u0026$269\\u003e=($277/100)*34\\u0026\\u0026!$306~$317\\u0026\\u0026$275?1:0~$317\\u0026\\u0026$276?1:0~s_b:$277*5/100\\u003e$269~s_b:$277*5/100\\u003e$270~s_b:false~s_b:false~v:if($268\\u0026\\u0026$268@1\\u0026\\u0026$268@2){v:if($275\\u0026\\u0026$275@1\\u0026\\u0026$275@2){$322=s_b:close\\u003eclose@1\\u0026\\u0026close@1\\u003eclose@2\\u0026\\u0026open\\u003cclose@1\\u0026\\u0026open\\u003eopen@1\\u0026\\u0026open@1\\u003cclose@2\\u0026\\u0026open@1\\u003eopen@2\\u0026\\u0026$320\\u0026\\u0026$320@1\\u0026\\u0026$320@2~}~v:if($276\\u0026\\u0026$276@1\\u0026\\u0026$276@2){$323=s_b:close\\u003cclose@1\\u0026\\u0026close@1\\u003cclose@2\\u0026\\u0026open\\u003eclose@1\\u0026\\u0026open\\u003copen@1\\u0026\\u0026open@1\\u003eclose@2\\u0026\\u0026open@1\\u003copen@2\\u0026\\u0026$321\\u0026\\u0026$321@1\\u0026\\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\\u0026\\u0026$275\\u0026\\u0026$268\\u0026\\u0026$276@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003e=open@1\\u0026\\u0026open\\u003c=close@1\\u0026\\u0026(close\\u003eopen@1||open\\u003cclose@1)?1:0~$272\\u0026\\u0026$276\\u0026\\u0026$268\\u0026\\u0026$275@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003c=open@1\\u0026\\u0026open\\u003e=close@1\\u0026\\u0026(close\\u003copen@1||open\\u003eclose@1)?1:0~$271@2\\u0026\\u0026$276@2\\u0026\\u0026$306@1\\u0026\\u0026low@2\\u003ehigh@1\\u0026\\u0026$275\\u0026\\u0026high@1\\u003clow?1:0~$272@2\\u0026\\u0026$275@2\\u0026\\u0026$306@1\\u0026\\u0026high@2\\u003clow@1\\u0026\\u0026$276\\u0026\\u0026low@1\\u003ehigh?1:0~s_b:$307@2\\u0026\\u0026$307@1\\u0026\\u0026$307~s_b:$263@1\\u003c$264~s_b:$264@1\\u003e$263~$333\\u0026\\u0026$271@2\\u0026\\u0026$335@1\\u0026\\u0026$334?1:0~$333\\u0026\\u0026$272@2\\u0026\\u0026$334@1\\u0026\\u0026$335?1:0~$303@1\\u0026\\u0026$302\\u0026\\u0026high@1\\u003clow?1:0~$302@1\\u0026\\u0026$303\\u0026\\u0026low@1\\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~#3~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392;t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$17,$17,false,true,false,'NONE',false,false,$18)|$11():s3|sym(tickerid,'5','5',false,false,true,'NONE',false,false,3200)|$13()|s256:$14($20,$21,$22,$25):s256~$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$138!$40!$41!$42!$43!$44!$45!$141!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282\",\"ILImports\":[{\"IL\":\"c$0:new():c$0~$0#0=s_a\\u003cf\\u003e:#0~$0#1=s_a\\u003ci\\u003e:#1~$0#2=#2~c$0:$0;v:array.push(#0,#2):v~c$0:if(array.size(#0)\\u003e#1){c$0:array.shift(#0):c$0};0.0~v:foreach(s_a\\u003cc$0\\u003e:#0):c$0{$1#2~array.binary_search_leftmost($1#1,$2+#1)~array.size($1#0)-1\\u003e=$3?array.get($1#0,$3):array.last($1#0)~$0=$0+$4~}~$0/array.size(#0)~$6;v^0.0~v^na():f~v:if(#1){$0=0.0~$1=time~}~$0=$0+#0~v:if(#2\\u0026\\u0026!barstate.isconfirmed){min(timenow,time_close)-$1~time_close-$1~$0/$3~$0=$5*$4~}~$0~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,na():f):c$0~#3?$3(#0,s_b:#2,b:false):#0~v:if(#2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,time):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$2):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~s_b:bool(timeframe.change(#2):s_b):s_b~#3?$3(#0,s_b:$2,b:false):#0~v:if($2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$3):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$8;b:bool(#0=='On'):b~s_b:bool(timeframe.change(#1):s_b):s_b~b:bool(#2=='Cumulative'):b~$5(volume,i:#3,t:#1,b:$2)~$2?$3(volume,s_b:$1,b:$0):volume~$4/$3~$5\\u003e=1?0:1~close\\u003e=open?0:1~$5!$3!$4!$6!$7;v:SRP('is_library','1'):v~t:input('in_0','D')~i:input('in_1',5)~t:input('in_2','Cumulative')~t:input('in_4','Off')~s5:$6(t:$11,t:$8,t:$10,i:$9):s5~$12!$15!$13!$14!$16\",\"clsIL\":\"collectedData~s_a\\u003cf\\u003e:data~s_a\\u003ci\\u003e:times~startTime;\"}]}", + "defval": "{\"IL\":\"change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\\u003e$1\\u0026\\u0026$0\\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\\u003e$0\\u0026\\u0026$1\\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\\u0026\\u0026$1!=0\\u0026\\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;$0.5(volume,i:10,t:'1D',b:true)~$0.3(volume,s_b:timeframe.change('1D'):s_b,b:true)~$1/$0~$2;$12();sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\\u0026\\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\\u003c$202~s_b:close\\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\\u003e$188\\u0026\\u0026$186\\u003e$187\\u0026\\u0026$185\\u003e$186\\u0026\\u0026close\\u003e$185,s_b:$187\\u003c$188\\u0026\\u0026$186\\u003c$187\\u0026\\u0026$185\\u003c$186\\u0026\\u0026close\\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\\u003c30\\u0026\\u0026$231@1\\u003c$231,s_b:$231\\u003e70\\u0026\\u0026$231@1\\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\\u003c20\\u0026\\u0026$127\\u003c20\\u0026\\u0026$126\\u003e$127,s_b:$126\\u003e80\\u0026\\u0026$127\\u003e80\\u0026\\u0026$126\\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\\u003c(-100)\\u0026\\u0026$234\\u003e$234@1,s_b:$234\\u003e100\\u0026\\u0026$234\\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\\u003e20\\u0026\\u0026$86\\u003e$86@1\\u0026\\u0026$87\\u003e$88,s_b:$86\\u003e20\\u0026\\u0026$86\\u003e$86@1\\u0026\\u0026$87\\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\\u003e0\\u0026\\u0026$160@1\\u003e0\\u0026\\u0026$160\\u003e$160@1\\u0026\\u0026$160@2\\u003e$160@1,s_b:crossunder($160,0):s_b||$160\\u003c0\\u0026\\u0026$160@1\\u003c0\\u0026\\u0026$160\\u003c$160@1\\u0026\\u0026$160@2\\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\\u003e$121@1,s_b:$121\\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\\u003e$119,s_b:$118\\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\\u0026\\u0026$174\\u003c20\\u0026\\u0026$175\\u003c20\\u0026\\u0026$174\\u003e$175,s_b:$204\\u0026\\u0026$174\\u003e80\\u0026\\u0026$175\\u003e80\\u0026\\u0026$174\\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\\u003c(-80)\\u0026\\u0026$177\\u003e$177@1,s_b:$177\\u003e(-20)\\u0026\\u0026$177\\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\\u0026\\u0026$180\\u003c0\\u0026\\u0026$180\\u003e$180@1,s_b:$203\\u0026\\u0026$179\\u003e0\\u0026\\u0026$179\\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\\u003e70,s_b:$182\\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\\u003c$266~s_b:$265\\u003e$266~high-$263~$264-low~s_b:close\\u003c$262~s_b:close\\u003e$262~s_b:$269\\u003e0*$265~s_b:$270\\u003e0*$265~s_b:open\\u003cclose~s_b:open\\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\\u003c100\\u0026\\u0026(abs($270-$269)/$269)*100\\u003c100~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$264\\u003ehl2\\u0026\\u0026$270\\u003e=2.0*$265\\u0026\\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$263\\u003chl2\\u0026\\u0026$269\\u003e=2.0*$265\\u0026\\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\\u0026\\u0026$267@1\\u0026\\u0026$268){v:if_($271\\u0026\\u0026$276@2\\u0026\\u0026$263@1\\u003c$264@2\\u0026\\u0026$275\\u0026\\u0026$263\\u003e=$278@2\\u0026\\u0026$263\\u003c$263@2\\u0026\\u0026$263@1\\u003c$264){$294=s_b:true~}_{v:if($272\\u0026\\u0026$275@2\\u0026\\u0026$264@1\\u003e$263@2\\u0026\\u0026$276\\u0026\\u0026$264\\u003c=$278@2\\u0026\\u0026$264\\u003e$264@2\\u0026\\u0026$264@1\\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\\u0026\\u0026$269\\u003c=0*$265\\u0026\\u0026$270\\u003c=0*$265~s_b:$301\\u0026\\u0026$275~s_b:$301\\u0026\\u0026$276~$303?1:0~$302?1:0~s_b:$277\\u003e0\\u0026\\u0026$265\\u003c=$277*5/100~s_b:$306\\u0026\\u0026$279~s_b:$306\\u0026\\u0026$269\\u003c=$265~s_b:$306\\u0026\\u0026$270\\u003c=$265~$307\\u0026\\u0026!$308\\u0026\\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\\u0026\\u0026$276@1\\u0026\\u0026$271@1\\u0026\\u0026$275\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$268@1\\u0026\\u0026$275@1\\u0026\\u0026$272@1\\u0026\\u0026$276\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$270\\u003e($277/100)*75?1:0~$269\\u003e($277/100)*75?1:0~s_b:$270\\u003e=($277/100)*34\\u0026\\u0026$269\\u003e=($277/100)*34\\u0026\\u0026!$306~$317\\u0026\\u0026$275?1:0~$317\\u0026\\u0026$276?1:0~s_b:$277*5/100\\u003e$269~s_b:$277*5/100\\u003e$270~s_b:false~s_b:false~v:if($268\\u0026\\u0026$268@1\\u0026\\u0026$268@2){v:if($275\\u0026\\u0026$275@1\\u0026\\u0026$275@2){$322=s_b:close\\u003eclose@1\\u0026\\u0026close@1\\u003eclose@2\\u0026\\u0026open\\u003cclose@1\\u0026\\u0026open\\u003eopen@1\\u0026\\u0026open@1\\u003cclose@2\\u0026\\u0026open@1\\u003eopen@2\\u0026\\u0026$320\\u0026\\u0026$320@1\\u0026\\u0026$320@2~}~v:if($276\\u0026\\u0026$276@1\\u0026\\u0026$276@2){$323=s_b:close\\u003cclose@1\\u0026\\u0026close@1\\u003cclose@2\\u0026\\u0026open\\u003eclose@1\\u0026\\u0026open\\u003copen@1\\u0026\\u0026open@1\\u003eclose@2\\u0026\\u0026open@1\\u003copen@2\\u0026\\u0026$321\\u0026\\u0026$321@1\\u0026\\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\\u0026\\u0026$275\\u0026\\u0026$268\\u0026\\u0026$276@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003e=open@1\\u0026\\u0026open\\u003c=close@1\\u0026\\u0026(close\\u003eopen@1||open\\u003cclose@1)?1:0~$272\\u0026\\u0026$276\\u0026\\u0026$268\\u0026\\u0026$275@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003c=open@1\\u0026\\u0026open\\u003e=close@1\\u0026\\u0026(close\\u003copen@1||open\\u003eclose@1)?1:0~$271@2\\u0026\\u0026$276@2\\u0026\\u0026$306@1\\u0026\\u0026low@2\\u003ehigh@1\\u0026\\u0026$275\\u0026\\u0026high@1\\u003clow?1:0~$272@2\\u0026\\u0026$275@2\\u0026\\u0026$306@1\\u0026\\u0026high@2\\u003clow@1\\u0026\\u0026$276\\u0026\\u0026low@1\\u003ehigh?1:0~s_b:$307@2\\u0026\\u0026$307@1\\u0026\\u0026$307~s_b:$263@1\\u003c$264~s_b:$264@1\\u003e$263~$333\\u0026\\u0026$271@2\\u0026\\u0026$335@1\\u0026\\u0026$334?1:0~$333\\u0026\\u0026$272@2\\u0026\\u0026$334@1\\u0026\\u0026$335?1:0~$303@1\\u0026\\u0026$302\\u0026\\u0026high@1\\u003clow?1:0~$302@1\\u0026\\u0026$303\\u0026\\u0026low@1\\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~#3~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392;t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$17,$17,false,true,false,'NONE',false,false,$18)|$11():s3|sym(tickerid,'5','5',false,false,true,'NONE',false,false,3200)|$13()|s256:$14($20,$21,$22,$25):s256~$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$138!$40!$41!$42!$43!$44!$45!$141!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282\",\"ILImports\":[{\"IL\":\"c$0:new():c$0~$0#0=s_a\\u003cf\\u003e:#0~$0#1=s_a\\u003ci\\u003e:#1~$0#2=#2~c$0:$0;v:array.push(#0,#2):v~c$0:if(array.size(#0)\\u003e#1){c$0:array.shift(#0):c$0};0.0~v:foreach(s_a\\u003cc$0\\u003e:#0):c$0{$1#2~array.binary_search_leftmost($1#1,$2+#1)~array.size($1#0)-1\\u003e=$3?array.get($1#0,$3):array.last($1#0)~$0=$0+$4~}~$0/array.size(#0)~$6;v^0.0~v^na():f~v:if(#1){$0=0.0~$1=time~}~$0=$0+#0~v:if(#2\\u0026\\u0026!barstate.isconfirmed){min(timenow,time_close)-$1~time_close-$1~$0/$3~$0=$5*$4~}~$0~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,na():f):c$0~#3?$3(#0,s_b:#2,b:false):#0~v:if(#2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,time):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$2):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~s_b:bool(timeframe.change(#2):s_b):s_b~#3?$3(#0,s_b:$2,b:false):#0~v:if($2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$3):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$8;b:bool(#0=='On'):b~s_b:bool(timeframe.change(#1):s_b):s_b~b:bool(#2=='Cumulative'):b~$5(volume,i:#3,t:#1,b:$2)~$2?$3(volume,s_b:$1,b:$0):volume~$4/$3~$5\\u003e=1?0:1~close\\u003e=open?0:1~$5!$3!$4!$6!$7;v:SRP('is_library','1'):v~t:input('in_0','D')~i:input('in_1',5)~t:input('in_2','Cumulative')~t:input('in_4','Off')~s5:$6(t:$11,t:$8,t:$10,i:$9):s5~$12!$15!$13!$14!$16\",\"clsIL\":\"collectedData~s_a\\u003cf\\u003e:data~s_a\\u003ci\\u003e:times~startTime;\"}]}", "isFake": false }, { diff --git a/scanner.data.simple.coin.5.json b/scanner.data.simple.coin.5.json index c016181b1..42013a9c5 100644 --- a/scanner.data.simple.coin.5.json +++ b/scanner.data.simple.coin.5.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;v^s_a_f:array.new_float(0,na():f):s_a_f~v^s_a_i:array.new_int(0,na():f):s_a_i~v:if(#2){v:array.push($0,#0):v~v:array.push($1,time):v~}~v:if(array.size($0)\u003e0){while(time-array.get($1,0)\u003e=#1\u0026\u0026array.size($0)\u003e#3){array.shift($0)~array.shift($1)}~}~s_a_f:$0~s_a_f:$9;s_a_f:$10(#0,i:86400000,s_b:true,i:1):s_a_f~array.sum($0);#0~v:max_bars_back($0,576):v~v:max_bars_back(time,576):v~na():f~v:for(0;288;1){v:if(time-time@$4\u003e=86400000){v:if(time-time@$4==86400000){$3=$4~}~break~}~$3=$4~}~$0@$3;open~high~low~$0!$1!$2;s3:$13():s3;syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?close*volume:na():f~#0~$11($0*$1)~$2;$15(#0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~v^0.0~$392=$392+nz(volume)~#3~v:if(barstate.islast){v:if((syminfo.volumetype=='tick'\u0026\u0026syminfo.type=='crypto')||$392==0){$393=na():f~}~}~$393~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\u0026\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~$12($393)~na():f~v:if(!na($393):s_b\u0026\u0026!na($399):s_b){$400=$393-$399~}~$400~na():f~v:if(!na($400):s_b\u0026\u0026$399!=0){$403=($400/abs($399))*100~}~$403~$12(close)~na():f~v:if(!na(close):s_b\u0026\u0026!na($406):s_b){$407=close-$406~}~$407~na():f~$406*1e+36~v:if_(na($407):s_b||$411==0||$411\u003c0\u0026\u0026close\u003e0){}_{$410=($407/abs($406))*100~}~$410~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$396!$397!$398!$399!$402!$405!$406!$409!$413;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$20,$20,false,true,false,'NONE',false,false,$21)|$14():s3|rate(syminfo.currency,'USD',b:true)~sym(tickerid,'5','5',false,false,true,'NONE',false,false,$21)|$16($27)|s264:$17($23,$24,$25,$29):s264~$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$142!$44!$45!$46!$47!$48!$49!$145!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;v^s_a_f:array.new_float(0,na():f):s_a_f~v^s_a_i:array.new_int(0,na():f):s_a_i~v:if(#2){v:array.push($0,#0):v~v:array.push($1,time):v~}~v:if(array.size($0)\u003e0){while(time-array.get($1,0)\u003e=#1\u0026\u0026array.size($0)\u003e#3){array.shift($0)~array.shift($1)}~}~s_a_f:$0~s_a_f:$9;s_a_f:$10(#0,i:86400000,s_b:true,i:1):s_a_f~array.sum($0);#0~v:max_bars_back($0,576):v~v:max_bars_back(time,576):v~na():f~v:for(0;288;1){v:if(time-time@$4\u003e=86400000){v:if(time-time@$4==86400000){$3=$4~}~break~}~$3=$4~}~$0@$3;open~high~low~$0!$1!$2;s3:$13():s3;syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?close*volume:na():f~#0~$11($0*$1)~$2;$15(#0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~v^0.0~$392=$392+nz(volume)~#3~v:if(barstate.islast){v:if((syminfo.volumetype=='tick'\u0026\u0026syminfo.type=='crypto')||$392==0){$393=na():f~}~}~$393~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\u0026\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~$12($393)~na():f~v:if(!na($393):s_b\u0026\u0026!na($399):s_b){$400=$393-$399~}~$400~na():f~v:if(!na($400):s_b\u0026\u0026$399!=0){$403=($400/abs($399))*100~}~$403~$12(close)~na():f~v:if(!na(close):s_b\u0026\u0026!na($406):s_b){$407=close-$406~}~$407~na():f~$406*1e+36~v:if_(na($407):s_b||$411==0||$411\u003c0\u0026\u0026close\u003e0){}_{$410=($407/abs($406))*100~}~$410~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$396!$397!$398!$399!$402!$405!$406!$409!$413;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$20,$20,false,true,false,'NONE',false,false,$21)|$14():s3|rate(syminfo.currency,'USD',b:true)~sym(tickerid,'5','5',false,false,true,'NONE',false,false,$21)|$16($27)|s264:$17($23,$24,$25,$29):s264~$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$142!$44!$45!$46!$47!$48!$49!$145!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294", "isFake": false }, { diff --git a/scanner.data.simple.coin.json b/scanner.data.simple.coin.json index 663bebb7d..ee71534c1 100644 --- a/scanner.data.simple.coin.json +++ b/scanner.data.simple.coin.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$15,$15,false,true,false,'NONE',false,false,$16)|$11():s3|s255:$12($18,$19,$20):s255~$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$133!$35!$36!$37!$38!$39!$40!$136!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$15,$15,false,true,false,'NONE',false,false,$16)|$11():s3|s255:$12($18,$19,$20):s255~$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$133!$35!$36!$37!$38!$39!$40!$136!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276", "isFake": false }, { diff --git a/scanner.data.simple.crypto.5.json b/scanner.data.simple.crypto.5.json index 4ed183c36..0dee6cd90 100644 --- a/scanner.data.simple.crypto.5.json +++ b/scanner.data.simple.crypto.5.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "{\"IL\":\"change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\\u003e$1\\u0026\\u0026$0\\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\\u003e$0\\u0026\\u0026$1\\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\\u0026\\u0026$1!=0\\u0026\\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\\u003c=0?na():f:#0;v^s_a_f:array.new_float(0,na():f):s_a_f~v^s_a_i:array.new_int(0,na():f):s_a_i~v:if(#2){v:array.push($0,#0):v~v:array.push($1,time):v~}~v:if(array.size($0)\\u003e0){while(time-array.get($1,0)\\u003e=#1\\u0026\\u0026array.size($0)\\u003e#3){array.shift($0)~array.shift($1)}~}~s_a_f:$0~s_a_f:$9;s_a_f:$10(#0,i:86400000,s_b:true,i:1):s_a_f~array.sum($0);#0~v:max_bars_back($0,576):v~v:max_bars_back(time,576):v~na():f~v:for(0;288;1){v:if(time-time@$4\\u003e=86400000){v:if(time-time@$4==86400000){$3=$4~}~break~}~$3=$4~}~$0@$3;open~high~low~$0!$1!$2;s3:$13():s3;$0.5(volume,i:10,t:'1D',b:true)~$0.3(volume,s_b:timeframe.change('1D'):s_b,b:true)~$1/$0~$2;$15();syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?close*volume:na():f~#0~$11($0*$1)~$2;$17(#0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\\u0026\\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\\u003c$202~s_b:close\\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\\u003e$188\\u0026\\u0026close\\u003e$187\\u0026\\u0026close\\u003c$186\\u0026\\u0026close@1\\u003c$185\\u0026\\u0026close\\u003e$185,s_b:$188\\u003e$187\\u0026\\u0026close\\u003c$187\\u0026\\u0026close\\u003e$186\\u0026\\u0026close@1\\u003e$185\\u0026\\u0026close\\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\\u003c30\\u0026\\u0026$231@1\\u003c$231,s_b:$231\\u003e70\\u0026\\u0026$231@1\\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\\u003c20\\u0026\\u0026$127\\u003c20\\u0026\\u0026$126\\u003e$127\\u0026\\u0026$126@1\\u003c$127@1,s_b:$126\\u003e80\\u0026\\u0026$127\\u003e80\\u0026\\u0026$126\\u003c$127\\u0026\\u0026$126@1\\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\\u003c(-100)\\u0026\\u0026$234\\u003e$234@1,s_b:$234\\u003e100\\u0026\\u0026$234\\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\\u003e20\\u0026\\u0026$87@1\\u003c$88@1\\u0026\\u0026$87\\u003e$88,s_b:$86\\u003e20\\u0026\\u0026$87@1\\u003e$88@1\\u0026\\u0026$87\\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\\u003e0\\u0026\\u0026$160@1\\u003e0\\u0026\\u0026$160\\u003e$160@1\\u0026\\u0026$160@2\\u003e$160@1,s_b:crossunder($160,0):s_b||$160\\u003c0\\u0026\\u0026$160@1\\u003c0\\u0026\\u0026$160\\u003c$160@1\\u0026\\u0026$160@2\\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\\u003e$121@1,s_b:$121\\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\\u003e$119,s_b:$118\\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\\u0026\\u0026$174\\u003c20\\u0026\\u0026$175\\u003c20\\u0026\\u0026$174\\u003e$175\\u0026\\u0026$174@1\\u003c$175@1,s_b:$204\\u0026\\u0026$174\\u003e80\\u0026\\u0026$175\\u003e80\\u0026\\u0026$174\\u003c$175\\u0026\\u0026$174@1\\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\\u003c(-80)\\u0026\\u0026$177\\u003e$177@1,s_b:$177\\u003e(-20)\\u0026\\u0026$177\\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\\u0026\\u0026$180\\u003c0\\u0026\\u0026$180\\u003e$180@1,s_b:$203\\u0026\\u0026$179\\u003e0\\u0026\\u0026$179\\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\\u003e70,s_b:$182\\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\\u003c$266~s_b:$265\\u003e$266~high-$263~$264-low~s_b:close\\u003c$262~s_b:close\\u003e$262~s_b:$269\\u003e0*$265~s_b:$270\\u003e0*$265~s_b:open\\u003cclose~s_b:open\\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\\u003c100\\u0026\\u0026(abs($270-$269)/$269)*100\\u003c100~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$264\\u003ehl2\\u0026\\u0026$270\\u003e=2.0*$265\\u0026\\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$263\\u003chl2\\u0026\\u0026$269\\u003e=2.0*$265\\u0026\\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\\u0026\\u0026$267@1\\u0026\\u0026$268){v:if_($271\\u0026\\u0026$276@2\\u0026\\u0026$263@1\\u003c$264@2\\u0026\\u0026$275\\u0026\\u0026$263\\u003e=$278@2\\u0026\\u0026$263\\u003c$263@2\\u0026\\u0026$263@1\\u003c$264){$294=s_b:true~}_{v:if($272\\u0026\\u0026$275@2\\u0026\\u0026$264@1\\u003e$263@2\\u0026\\u0026$276\\u0026\\u0026$264\\u003c=$278@2\\u0026\\u0026$264\\u003e$264@2\\u0026\\u0026$264@1\\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\\u0026\\u0026$269\\u003c=0*$265\\u0026\\u0026$270\\u003c=0*$265~s_b:$301\\u0026\\u0026$275~s_b:$301\\u0026\\u0026$276~$303?1:0~$302?1:0~s_b:$277\\u003e0\\u0026\\u0026$265\\u003c=$277*5/100~s_b:$306\\u0026\\u0026$279~s_b:$306\\u0026\\u0026$269\\u003c=$265~s_b:$306\\u0026\\u0026$270\\u003c=$265~$307\\u0026\\u0026!$308\\u0026\\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\\u0026\\u0026$276@1\\u0026\\u0026$271@1\\u0026\\u0026$275\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$268@1\\u0026\\u0026$275@1\\u0026\\u0026$272@1\\u0026\\u0026$276\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$270\\u003e($277/100)*75?1:0~$269\\u003e($277/100)*75?1:0~s_b:$270\\u003e=($277/100)*34\\u0026\\u0026$269\\u003e=($277/100)*34\\u0026\\u0026!$306~$317\\u0026\\u0026$275?1:0~$317\\u0026\\u0026$276?1:0~s_b:$277*5/100\\u003e$269~s_b:$277*5/100\\u003e$270~s_b:false~s_b:false~v:if($268\\u0026\\u0026$268@1\\u0026\\u0026$268@2){v:if($275\\u0026\\u0026$275@1\\u0026\\u0026$275@2){$322=s_b:close\\u003eclose@1\\u0026\\u0026close@1\\u003eclose@2\\u0026\\u0026open\\u003cclose@1\\u0026\\u0026open\\u003eopen@1\\u0026\\u0026open@1\\u003cclose@2\\u0026\\u0026open@1\\u003eopen@2\\u0026\\u0026$320\\u0026\\u0026$320@1\\u0026\\u0026$320@2~}~v:if($276\\u0026\\u0026$276@1\\u0026\\u0026$276@2){$323=s_b:close\\u003cclose@1\\u0026\\u0026close@1\\u003cclose@2\\u0026\\u0026open\\u003eclose@1\\u0026\\u0026open\\u003copen@1\\u0026\\u0026open@1\\u003eclose@2\\u0026\\u0026open@1\\u003copen@2\\u0026\\u0026$321\\u0026\\u0026$321@1\\u0026\\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\\u0026\\u0026$275\\u0026\\u0026$268\\u0026\\u0026$276@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003e=open@1\\u0026\\u0026open\\u003c=close@1\\u0026\\u0026(close\\u003eopen@1||open\\u003cclose@1)?1:0~$272\\u0026\\u0026$276\\u0026\\u0026$268\\u0026\\u0026$275@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003c=open@1\\u0026\\u0026open\\u003e=close@1\\u0026\\u0026(close\\u003copen@1||open\\u003eclose@1)?1:0~$271@2\\u0026\\u0026$276@2\\u0026\\u0026$306@1\\u0026\\u0026low@2\\u003ehigh@1\\u0026\\u0026$275\\u0026\\u0026high@1\\u003clow?1:0~$272@2\\u0026\\u0026$275@2\\u0026\\u0026$306@1\\u0026\\u0026high@2\\u003clow@1\\u0026\\u0026$276\\u0026\\u0026low@1\\u003ehigh?1:0~s_b:$307@2\\u0026\\u0026$307@1\\u0026\\u0026$307~s_b:$263@1\\u003c$264~s_b:$264@1\\u003e$263~$333\\u0026\\u0026$271@2\\u0026\\u0026$335@1\\u0026\\u0026$334?1:0~$333\\u0026\\u0026$272@2\\u0026\\u0026$334@1\\u0026\\u0026$335?1:0~$303@1\\u0026\\u0026$302\\u0026\\u0026high@1\\u003clow?1:0~$302@1\\u0026\\u0026$303\\u0026\\u0026low@1\\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~#3~v^0.0~$393=$393+nz(volume)~#4~v:if(barstate.islast){v:if((syminfo.volumetype=='tick'\\u0026\\u0026syminfo.type=='crypto')||$393==0){$394=na():f~}~}~$394~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\\u0026\\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~$12($394)~na():f~v:if(!na($394):s_b\\u0026\\u0026!na($400):s_b){$401=$394-$400~}~$401~na():f~v:if(!na($401):s_b\\u0026\\u0026$400!=0){$404=($401/abs($400))*100~}~$404~$12(close)~na():f~v:if(!na(close):s_b\\u0026\\u0026!na($407):s_b){$408=close-$407~}~$408~na():f~$407*1e+36~v:if_(na($408):s_b||$412==0||$412\\u003c0\\u0026\\u0026close\\u003e0){}_{$411=($408/abs($407))*100~}~$411~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392!$397!$398!$399!$400!$403!$406!$407!$410!$414;t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$22,$22,false,true,false,'NONE',false,false,$23)|$14():s3|sym(tickerid,'5','5',false,false,true,'NONE',false,false,3200)|$16()|rate(syminfo.currency,'USD',b:true)~sym(tickerid,'5','5',false,false,true,'NONE',false,false,$23)|$18($32)|s265:$19($25,$26,$27,$30,$34):s265~$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$147!$49!$50!$51!$52!$53!$54!$150!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300\",\"ILImports\":[{\"IL\":\"c$0:new():c$0~$0#0=s_a\\u003cf\\u003e:#0~$0#1=s_a\\u003ci\\u003e:#1~$0#2=#2~c$0:$0;v:array.push(#0,#2):v~c$0:if(array.size(#0)\\u003e#1){c$0:array.shift(#0):c$0};0.0~v:foreach(s_a\\u003cc$0\\u003e:#0):c$0{$1#2~array.binary_search_leftmost($1#1,$2+#1)~array.size($1#0)-1\\u003e=$3?array.get($1#0,$3):array.last($1#0)~$0=$0+$4~}~$0/array.size(#0)~$6;v^0.0~v^na():f~v:if(#1){$0=0.0~$1=time~}~$0=$0+#0~v:if(#2\\u0026\\u0026!barstate.isconfirmed){min(timenow,time_close)-$1~time_close-$1~$0/$3~$0=$5*$4~}~$0~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,na():f):c$0~#3?$3(#0,s_b:#2,b:false):#0~v:if(#2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,time):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$2):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~s_b:bool(timeframe.change(#2):s_b):s_b~#3?$3(#0,s_b:$2,b:false):#0~v:if($2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$3):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$8;b:bool(#0=='On'):b~s_b:bool(timeframe.change(#1):s_b):s_b~b:bool(#2=='Cumulative'):b~$5(volume,i:#3,t:#1,b:$2)~$2?$3(volume,s_b:$1,b:$0):volume~$4/$3~$5\\u003e=1?0:1~close\\u003e=open?0:1~$5!$3!$4!$6!$7;v:SRP('is_library','1'):v~t:input('in_0','D')~i:input('in_1',5)~t:input('in_2','Cumulative')~t:input('in_4','Off')~s5:$6(t:$11,t:$8,t:$10,i:$9):s5~$12!$15!$13!$14!$16\",\"clsIL\":\"collectedData~s_a\\u003cf\\u003e:data~s_a\\u003ci\\u003e:times~startTime;\"}]}", + "defval": "{\"IL\":\"change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\\u003e$1\\u0026\\u0026$0\\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\\u003e$0\\u0026\\u0026$1\\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\\u0026\\u0026$1!=0\\u0026\\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\\u003c=0?na():f:#0;v^s_a_f:array.new_float(0,na():f):s_a_f~v^s_a_i:array.new_int(0,na():f):s_a_i~v:if(#2){v:array.push($0,#0):v~v:array.push($1,time):v~}~v:if(array.size($0)\\u003e0){while(time-array.get($1,0)\\u003e=#1\\u0026\\u0026array.size($0)\\u003e#3){array.shift($0)~array.shift($1)}~}~s_a_f:$0~s_a_f:$9;s_a_f:$10(#0,i:86400000,s_b:true,i:1):s_a_f~array.sum($0);#0~v:max_bars_back($0,576):v~v:max_bars_back(time,576):v~na():f~v:for(0;288;1){v:if(time-time@$4\\u003e=86400000){v:if(time-time@$4==86400000){$3=$4~}~break~}~$3=$4~}~$0@$3;open~high~low~$0!$1!$2;s3:$13():s3;$0.5(volume,i:10,t:'1D',b:true)~$0.3(volume,s_b:timeframe.change('1D'):s_b,b:true)~$1/$0~$2;$15();syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?close*volume:na():f~#0~$11($0*$1)~$2;$17(#0);sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\\u0026\\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\\u003c$202~s_b:close\\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\\u003e$188\\u0026\\u0026$186\\u003e$187\\u0026\\u0026$185\\u003e$186\\u0026\\u0026close\\u003e$185,s_b:$187\\u003c$188\\u0026\\u0026$186\\u003c$187\\u0026\\u0026$185\\u003c$186\\u0026\\u0026close\\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\\u003c30\\u0026\\u0026$231@1\\u003c$231,s_b:$231\\u003e70\\u0026\\u0026$231@1\\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\\u003c20\\u0026\\u0026$127\\u003c20\\u0026\\u0026$126\\u003e$127,s_b:$126\\u003e80\\u0026\\u0026$127\\u003e80\\u0026\\u0026$126\\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\\u003c(-100)\\u0026\\u0026$234\\u003e$234@1,s_b:$234\\u003e100\\u0026\\u0026$234\\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\\u003e20\\u0026\\u0026$86\\u003e$86@1\\u0026\\u0026$87\\u003e$88,s_b:$86\\u003e20\\u0026\\u0026$86\\u003e$86@1\\u0026\\u0026$87\\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\\u003e0\\u0026\\u0026$160@1\\u003e0\\u0026\\u0026$160\\u003e$160@1\\u0026\\u0026$160@2\\u003e$160@1,s_b:crossunder($160,0):s_b||$160\\u003c0\\u0026\\u0026$160@1\\u003c0\\u0026\\u0026$160\\u003c$160@1\\u0026\\u0026$160@2\\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\\u003e$121@1,s_b:$121\\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\\u003e$119,s_b:$118\\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\\u0026\\u0026$174\\u003c20\\u0026\\u0026$175\\u003c20\\u0026\\u0026$174\\u003e$175,s_b:$204\\u0026\\u0026$174\\u003e80\\u0026\\u0026$175\\u003e80\\u0026\\u0026$174\\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\\u003c(-80)\\u0026\\u0026$177\\u003e$177@1,s_b:$177\\u003e(-20)\\u0026\\u0026$177\\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\\u0026\\u0026$180\\u003c0\\u0026\\u0026$180\\u003e$180@1,s_b:$203\\u0026\\u0026$179\\u003e0\\u0026\\u0026$179\\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\\u003e70,s_b:$182\\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\\u003c$266~s_b:$265\\u003e$266~high-$263~$264-low~s_b:close\\u003c$262~s_b:close\\u003e$262~s_b:$269\\u003e0*$265~s_b:$270\\u003e0*$265~s_b:open\\u003cclose~s_b:open\\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\\u003c100\\u0026\\u0026(abs($270-$269)/$269)*100\\u003c100~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$264\\u003ehl2\\u0026\\u0026$270\\u003e=2.0*$265\\u0026\\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\\u0026\\u0026$265\\u003e0\\u0026\\u0026$263\\u003chl2\\u0026\\u0026$269\\u003e=2.0*$265\\u0026\\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\\u0026\\u0026$267@1\\u0026\\u0026$268){v:if_($271\\u0026\\u0026$276@2\\u0026\\u0026$263@1\\u003c$264@2\\u0026\\u0026$275\\u0026\\u0026$263\\u003e=$278@2\\u0026\\u0026$263\\u003c$263@2\\u0026\\u0026$263@1\\u003c$264){$294=s_b:true~}_{v:if($272\\u0026\\u0026$275@2\\u0026\\u0026$264@1\\u003e$263@2\\u0026\\u0026$276\\u0026\\u0026$264\\u003c=$278@2\\u0026\\u0026$264\\u003e$264@2\\u0026\\u0026$264@1\\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\\u0026\\u0026$269\\u003c=0*$265\\u0026\\u0026$270\\u003c=0*$265~s_b:$301\\u0026\\u0026$275~s_b:$301\\u0026\\u0026$276~$303?1:0~$302?1:0~s_b:$277\\u003e0\\u0026\\u0026$265\\u003c=$277*5/100~s_b:$306\\u0026\\u0026$279~s_b:$306\\u0026\\u0026$269\\u003c=$265~s_b:$306\\u0026\\u0026$270\\u003c=$265~$307\\u0026\\u0026!$308\\u0026\\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\\u0026\\u0026$276@1\\u0026\\u0026$271@1\\u0026\\u0026$275\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$268@1\\u0026\\u0026$275@1\\u0026\\u0026$272@1\\u0026\\u0026$276\\u0026\\u0026$267\\u0026\\u0026high\\u003c=$263@1\\u0026\\u0026low\\u003e=$264@1?1:0~$270\\u003e($277/100)*75?1:0~$269\\u003e($277/100)*75?1:0~s_b:$270\\u003e=($277/100)*34\\u0026\\u0026$269\\u003e=($277/100)*34\\u0026\\u0026!$306~$317\\u0026\\u0026$275?1:0~$317\\u0026\\u0026$276?1:0~s_b:$277*5/100\\u003e$269~s_b:$277*5/100\\u003e$270~s_b:false~s_b:false~v:if($268\\u0026\\u0026$268@1\\u0026\\u0026$268@2){v:if($275\\u0026\\u0026$275@1\\u0026\\u0026$275@2){$322=s_b:close\\u003eclose@1\\u0026\\u0026close@1\\u003eclose@2\\u0026\\u0026open\\u003cclose@1\\u0026\\u0026open\\u003eopen@1\\u0026\\u0026open@1\\u003cclose@2\\u0026\\u0026open@1\\u003eopen@2\\u0026\\u0026$320\\u0026\\u0026$320@1\\u0026\\u0026$320@2~}~v:if($276\\u0026\\u0026$276@1\\u0026\\u0026$276@2){$323=s_b:close\\u003cclose@1\\u0026\\u0026close@1\\u003cclose@2\\u0026\\u0026open\\u003eclose@1\\u0026\\u0026open\\u003copen@1\\u0026\\u0026open@1\\u003eclose@2\\u0026\\u0026open@1\\u003copen@2\\u0026\\u0026$321\\u0026\\u0026$321@1\\u0026\\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\\u0026\\u0026$275\\u0026\\u0026$268\\u0026\\u0026$276@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003e=open@1\\u0026\\u0026open\\u003c=close@1\\u0026\\u0026(close\\u003eopen@1||open\\u003cclose@1)?1:0~$272\\u0026\\u0026$276\\u0026\\u0026$268\\u0026\\u0026$275@1\\u0026\\u0026$267@1\\u0026\\u0026close\\u003c=open@1\\u0026\\u0026open\\u003e=close@1\\u0026\\u0026(close\\u003copen@1||open\\u003eclose@1)?1:0~$271@2\\u0026\\u0026$276@2\\u0026\\u0026$306@1\\u0026\\u0026low@2\\u003ehigh@1\\u0026\\u0026$275\\u0026\\u0026high@1\\u003clow?1:0~$272@2\\u0026\\u0026$275@2\\u0026\\u0026$306@1\\u0026\\u0026high@2\\u003clow@1\\u0026\\u0026$276\\u0026\\u0026low@1\\u003ehigh?1:0~s_b:$307@2\\u0026\\u0026$307@1\\u0026\\u0026$307~s_b:$263@1\\u003c$264~s_b:$264@1\\u003e$263~$333\\u0026\\u0026$271@2\\u0026\\u0026$335@1\\u0026\\u0026$334?1:0~$333\\u0026\\u0026$272@2\\u0026\\u0026$334@1\\u0026\\u0026$335?1:0~$303@1\\u0026\\u0026$302\\u0026\\u0026high@1\\u003clow?1:0~$302@1\\u0026\\u0026$303\\u0026\\u0026low@1\\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~#3~v^0.0~$393=$393+nz(volume)~#4~v:if(barstate.islast){v:if((syminfo.volumetype=='tick'\\u0026\\u0026syminfo.type=='crypto')||$393==0){$394=na():f~}~}~$394~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\\u0026\\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~$12($394)~na():f~v:if(!na($394):s_b\\u0026\\u0026!na($400):s_b){$401=$394-$400~}~$401~na():f~v:if(!na($401):s_b\\u0026\\u0026$400!=0){$404=($401/abs($400))*100~}~$404~$12(close)~na():f~v:if(!na(close):s_b\\u0026\\u0026!na($407):s_b){$408=close-$407~}~$408~na():f~$407*1e+36~v:if_(na($408):s_b||$412==0||$412\\u003c0\\u0026\\u0026close\\u003e0){}_{$411=($408/abs($407))*100~}~$411~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392!$397!$398!$399!$400!$403!$406!$407!$410!$414;t:if_(isintraday){t:interval\\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$22,$22,false,true,false,'NONE',false,false,$23)|$14():s3|sym(tickerid,'5','5',false,false,true,'NONE',false,false,3200)|$16()|rate(syminfo.currency,'USD',b:true)~sym(tickerid,'5','5',false,false,true,'NONE',false,false,$23)|$18($32)|s265:$19($25,$26,$27,$30,$34):s265~$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$147!$49!$50!$51!$52!$53!$54!$150!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278!$279!$280!$281!$282!$283!$284!$285!$286!$287!$288!$289!$290!$291!$292!$293!$294!$295!$296!$297!$298!$299!$300\",\"ILImports\":[{\"IL\":\"c$0:new():c$0~$0#0=s_a\\u003cf\\u003e:#0~$0#1=s_a\\u003ci\\u003e:#1~$0#2=#2~c$0:$0;v:array.push(#0,#2):v~c$0:if(array.size(#0)\\u003e#1){c$0:array.shift(#0):c$0};0.0~v:foreach(s_a\\u003cc$0\\u003e:#0):c$0{$1#2~array.binary_search_leftmost($1#1,$2+#1)~array.size($1#0)-1\\u003e=$3?array.get($1#0,$3):array.last($1#0)~$0=$0+$4~}~$0/array.size(#0)~$6;v^0.0~v^na():f~v:if(#1){$0=0.0~$1=time~}~$0=$0+#0~v:if(#2\\u0026\\u0026!barstate.isconfirmed){min(timenow,time_close)-$1~time_close-$1~$0/$3~$0=$5*$4~}~$0~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,na():f):c$0~#3?$3(#0,s_b:#2,b:false):#0~v:if(#2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,time):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$2):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$7;v^s_a\\u003cc$0\\u003e:array.new(0,na():c$0):s_a\\u003cc$0\\u003e~v^c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~s_b:bool(timeframe.change(#2):s_b):s_b~#3?$3(#0,s_b:$2,b:false):#0~v:if($2){c$0:$1(s_a\\u003cc$0\\u003e:$0,i:#1,c$0:$1):c$0~$1=c$0:$0(s_a\\u003cf\\u003e:array.new(0,na():f):s_a\\u003cf\\u003e,s_a\\u003ci\\u003e:array.new(0,na():f):s_a\\u003ci\\u003e,timeV5(#2,0)):c$0~}~v:array.push($1#1,time):v~v:array.push($1#0,$3):v~$2(s_a\\u003cc$0\\u003e:$0,time-$1#2)~$8;b:bool(#0=='On'):b~s_b:bool(timeframe.change(#1):s_b):s_b~b:bool(#2=='Cumulative'):b~$5(volume,i:#3,t:#1,b:$2)~$2?$3(volume,s_b:$1,b:$0):volume~$4/$3~$5\\u003e=1?0:1~close\\u003e=open?0:1~$5!$3!$4!$6!$7;v:SRP('is_library','1'):v~t:input('in_0','D')~i:input('in_1',5)~t:input('in_2','Cumulative')~t:input('in_4','Off')~s5:$6(t:$11,t:$8,t:$10,i:$9):s5~$12!$15!$13!$14!$16\",\"clsIL\":\"collectedData~s_a\\u003cf\\u003e:data~s_a\\u003ci\\u003e:times~startTime;\"}]}", "isFake": false }, { diff --git a/scanner.data.simple.crypto.json b/scanner.data.simple.crypto.json index 801002900..0504e319e 100644 --- a/scanner.data.simple.crypto.json +++ b/scanner.data.simple.crypto.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\u0026\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392!$393;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$15,$15,false,true,false,'NONE',false,false,$16)|$11():s3|s257:$12($18,$19,$20):s257~$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$133!$35!$36!$37!$38!$39!$40!$136!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~syminfo.volumetype=='base'?volume:(syminfo.volumetype=='quote')\u0026\u0026close!=0?volume/close:na():f~syminfo.volumetype=='quote'?volume:syminfo.volumetype=='base'?volume*close:na():f~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391!$392!$393;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$15,$15,false,true,false,'NONE',false,false,$16)|$11():s3|s257:$12($18,$19,$20):s257~$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$133!$35!$36!$37!$38!$39!$40!$136!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276!$277!$278", "isFake": false }, { diff --git a/scanner.data.simple.json b/scanner.data.simple.json index 663bebb7d..ee71534c1 100644 --- a/scanner.data.simple.json +++ b/scanner.data.simple.json @@ -4,7 +4,7 @@ { "id": "text", "type": "text", - "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026close\u003e$187\u0026\u0026close\u003c$186\u0026\u0026close@1\u003c$185\u0026\u0026close\u003e$185,s_b:$188\u003e$187\u0026\u0026close\u003c$187\u0026\u0026close\u003e$186\u0026\u0026close@1\u003e$185\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127\u0026\u0026$126@1\u003c$127@1,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127\u0026\u0026$126@1\u003e$127@1)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$87@1\u003c$88@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$87@1\u003e$88@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175\u0026\u0026$174@1\u003c$175@1,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175\u0026\u0026$174@1\u003e$175@1)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$15,$15,false,true,false,'NONE',false,false,$16)|$11():s3|s255:$12($18,$19,$20):s255~$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$133!$35!$36!$37!$38!$39!$40!$136!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276", + "defval": "change(high)~(-change(low))~rma(tr,#0)~fixnan(100*rma($0\u003e$1\u0026\u0026$0\u003e0?$0:0,#0)/$2)~fixnan(100*rma($1\u003e$0\u0026\u0026$1\u003e0?$1:0,#0)/$2)~$3!$4;s2:$0(i:#0):s2~$0+$1~100*rma(abs($0-$1)/($2==0?1:$2),#1)~$3!$0!$1;2*wma(close,(#0/2))~wma(close,#0)~wma($0-$1,floor(sqrt(#0):f):i)~$2;close@1\u003clow?close@1:low;sum(tr,#0)~sum(tr,#1)~sum(tr,#2)~close-$3()~sum($3,#0)~sum($3,#1)~sum($3,#2)~na():f~v:if($0!=0\u0026\u0026$1!=0\u0026\u0026$2!=0){i:#2/#0~i:#2/#1~($4/$0)*$8~($5/$1)*$9~$6/$2~$7=($10+$11+$12)/($8+$9+1)~}~$7;avg(lowest(#0),highest(#0));$5(i:#0)~$5(i:#1)~avg($0,$1)~$5(i:#2)~$0!$1!$2!$3;na(#0):s_b||na(#1):s_b?na():f:#0==#1?0:#0\u003c#1?1:(-1);#0?1:#1?(-1):0;#0\u003c=0?na():f:#0;open~high~low~$0!$1!$2;s3:$10():s3;sma(close,2)~sma(close,3)~sma(close,5)~sma(close,6)~sma(close,7)~sma(close,8)~sma(close,9)~sma(close,10)~sma(close,12)~sma(close,13)~sma(close,14)~sma(close,15)~sma(close,20)~sma(close,21)~sma(close,25)~sma(close,26)~sma(close,30)~sma(close,34)~sma(close,40)~sma(close,50)~sma(close,55)~sma(close,60)~sma(close,75)~sma(close,89)~sma(close,100)~sma(close,120)~sma(close,144)~sma(close,150)~sma(close,200)~sma(close,250)~sma(close,300)~ema(close,2)~ema(close,3)~ema(close,5)~ema(close,6)~ema(close,7)~ema(close,8)~ema(close,9)~ema(close,10)~ema(close,12)~ema(close,13)~ema(close,14)~ema(close,15)~ema(close,20)~ema(close,21)~ema(close,25)~ema(close,26)~ema(close,30)~ema(close,34)~ema(close,40)~ema(close,50)~ema(close,55)~ema(close,60)~ema(close,75)~ema(close,89)~ema(close,100)~ema(close,120)~ema(close,144)~ema(close,150)~ema(close,200)~ema(close,250)~ema(close,300)~rsi(close,14)~$62@1~rsi(close,2)~$64@1~rsi(close,3)~$66@1~rsi(close,4)~$68@1~rsi(close,5)~$70@1~rsi(close,7)~$72@1~rsi(close,9)~$74@1~rsi(close,10)~$76@1~rsi(close,20)~$78@1~rsi(close,21)~$80@1~rsi(close,30)~$82@1~rma(tr(b:true),14)~($84/close)*100~s3:$1(i:14,i:14):s3~$87@1~$88@1~s3:$1(i:9,i:9):s3~$92@1~$93@1~s3:$1(i:20,i:20):s3~$97@1~$98@1~s3:$1(i:50,i:50):s3~$102@1~$103@1~s3:$1(i:100,i:100):s3~$107@1~$108@1~2*stdev(close,20,s_b:true)~$12+$111~$12-$111~2*stdev(close,50,s_b:true)~$19+$114~$19-$114~$39~$117-$46~ema($118,9)~$118-$119~close-close@10~$121@1~close-close@14~$123@1~stoch(close,high,low,14)~sma($125,3)~sma($126,3)~$126~$127~$126@1~$127@1~sma($125,3)~$125@1~$132@1~$126=sma(stoch(close,high,low,5),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,6),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~$126=sma(stoch(close,high,low,8),3)~$127=sma($126,3)~$126~$127~$126@1~$127@1~sma(volume,10)~volume/$147@1~sma(volume,30)~sma(volume,60)~sma(volume,90)~cci(hlc3,20)~$152@1~highest(20)~lowest(20)~avg($154,$155)~$2(i:9)~$2(i:20)~$2(i:200)~sma(hl2,5)-sma(hl2,34)~$160@1~$160@2~100*(highestbars(high,15)+14)/14~100*(lowestbars(low,15)+14)/14~(volume*close)*syminfo.pointvalue~$43~atr(10)~$166+$167*2~$166-$167*2~sar(0.02,0.02,0.2)~mfi(hlc3,14)~!(close==low\u0026\u0026close==high||high==low)?((close-low-(high-close))/(high-low))*volume:0~sum($172,20)/sum(volume,20)~sma(stoch($62,$62,$62,14),3)~sma($174,3)~highest(high,14)~(($176-close)/($176-lowest(low,14)))*(-100)~roc(close,9)~high-$40~low-$40~$179+$180~$4(i:7,i:14,i:28)~v:if(!na($182):s_b){$182=$182*100~}~$182~s4:$6(i:9,i:26,i:52):s4~$187@25~$188@25~s4:$6(i:20,i:60,i:120):s4~$193@30~$194@30~vwma(close,20)~sma(high,14)~sma(low,14)~$198-$199~($200/close)*100~$50~s_b:close\u003c$202~s_b:close\u003e$202~0.0~0.0~v:if(!na(close):s_b){v:if(!na($7):s_b){$205=$205+$7($7,close)~$206=$206+1~}~v:if(!na($12):s_b){$205=$205+$7($12,close)~$206=$206+1~}~v:if(!na($16):s_b){$205=$205+$7($16,close)~$206=$206+1~}~v:if(!na($19):s_b){$205=$205+$7($19,close)~$206=$206+1~}~v:if(!na($24):s_b){$205=$205+$7($24,close)~$206=$206+1~}~v:if(!na($28):s_b){$205=$205+$7($28,close)~$206=$206+1~}~v:if(!na($38):s_b){$205=$205+$7($38,close)~$206=$206+1~}~v:if(!na($43):s_b){$205=$205+$7($43,close)~$206=$206+1~}~v:if(!na($47):s_b){$205=$205+$7($47,close)~$206=$206+1~}~v:if(!na($50):s_b){$205=$205+$7($50,close)~$206=$206+1~}~v:if(!na($55):s_b){$205=$205+$7($55,close)~$206=$206+1~}~v:if(!na($59):s_b){$205=$205+$7($59,close)~$206=$206+1~}~}~$7($157,close)~v:if(!na($220):s_b){$205=$205+$220~$206=$206+1~}~$7($197,close)~v:if(!na($222):s_b){$205=$205+$222~$206=$206+1~}~na():f~v:if(!(na($187):s_b||na($188):s_b||na(close):s_b||na(close@1):s_b||na($186):s_b||na($185):s_b)){$224=$8(s_b:$187\u003e$188\u0026\u0026$186\u003e$187\u0026\u0026$185\u003e$186\u0026\u0026close\u003e$185,s_b:$187\u003c$188\u0026\u0026$186\u003c$187\u0026\u0026$185\u003c$186\u0026\u0026close\u003c$185)~}~$224~v:if(!na($224):s_b){$205=$205+$224~$206=$206+1~}~$205=$206\u003e0?$205/$206:na():f~$205~0.0~0.0~$62~v:if(!(na($231):s_b||na($231@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$231\u003c30\u0026\u0026$231@1\u003c$231,s_b:$231\u003e70\u0026\u0026$231@1\u003e$231)~}~v:if(!(na($126):s_b||na($127):s_b||na($126@1):s_b||na($127@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$126\u003c20\u0026\u0026$127\u003c20\u0026\u0026$126\u003e$127,s_b:$126\u003e80\u0026\u0026$127\u003e80\u0026\u0026$126\u003c$127)~}~$152~v:if(!(na($234):s_b||na($234@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$234\u003c(-100)\u0026\u0026$234\u003e$234@1,s_b:$234\u003e100\u0026\u0026$234\u003c$234@1)~}~v:if(!(na($86):s_b||na($87@1):s_b||na($88@1):s_b||na($87):s_b||na($88):s_b)){$230=$230+1~$229=$229+$8(s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003e$88,s_b:$86\u003e20\u0026\u0026$86\u003e$86@1\u0026\u0026$87\u003c$88)~}~v:if(!(na($160):s_b||na($160@1):s_b)){$230=$230+1~$229=$229+$8(s_b:crossover($160,0):s_b||$160\u003e0\u0026\u0026$160@1\u003e0\u0026\u0026$160\u003e$160@1\u0026\u0026$160@2\u003e$160@1,s_b:crossunder($160,0):s_b||$160\u003c0\u0026\u0026$160@1\u003c0\u0026\u0026$160\u003c$160@1\u0026\u0026$160@2\u003c$160@1)~}~v:if(!(na($121):s_b||na($121@1):s_b)){$230=$230+1~$229=$229+$8(s_b:$121\u003e$121@1,s_b:$121\u003c$121@1)~}~v:if(!(na($118):s_b||na($119):s_b)){$230=$230+1~$229=$229+$8(s_b:$118\u003e$119,s_b:$118\u003c$119)~}~na():f~v:if(!(na(s_b:$203):s_b||na(s_b:$204):s_b||na($174):s_b||na($175):s_b||na($174@1):s_b||na($175@1):s_b)){$240=$8(s_b:$203\u0026\u0026$174\u003c20\u0026\u0026$175\u003c20\u0026\u0026$174\u003e$175,s_b:$204\u0026\u0026$174\u003e80\u0026\u0026$175\u003e80\u0026\u0026$174\u003c$175)~}~$240~v:if(!na($240):s_b){$230=$230+1~$229=$229+$240~}~na():f~v:if(!(na($177):s_b||na($177@1):s_b)){$244=$8(s_b:$177\u003c(-80)\u0026\u0026$177\u003e$177@1,s_b:$177\u003e(-20)\u0026\u0026$177\u003c$177@1)~}~$244~v:if(!na($244):s_b){$230=$230+1~$229=$229+$244~}~na():f~v:if(!(na(s_b:$204):s_b||na(s_b:$203):s_b||na($180):s_b||na($180@1):s_b||na($179):s_b||na($179@1):s_b)){$248=$8(s_b:$204\u0026\u0026$180\u003c0\u0026\u0026$180\u003e$180@1,s_b:$203\u0026\u0026$179\u003e0\u0026\u0026$179\u003c$179@1)~}~$248~v:if(!na($248):s_b){$230=$230+1~$229=$229+$248~}~na():f~v:if(!na($182):s_b){$252=$8(s_b:$182\u003e70,s_b:$182\u003c30)~}~$252~v:if(!na($252):s_b){$230=$230+1~$229=$229+$252~}~$229=$230\u003e0?$229/$230:na():f~$229~0.0~0.0~v:if(!na($205):s_b){$257=$257+$205~$258=$258+1~}~v:if(!na($229):s_b){$257=$257+$229~$258=$258+1~}~$257=$258\u003e0?$257/$258:na():f~$257~$19~max(close,open)~min(close,open)~$263-$264~ema($265,14)~s_b:$265\u003c$266~s_b:$265\u003e$266~high-$263~$264-low~s_b:close\u003c$262~s_b:close\u003e$262~s_b:$269\u003e0*$265~s_b:$270\u003e0*$265~s_b:open\u003cclose~s_b:open\u003eclose~high-low~$265/2+$264~s_b:$269==$270||(abs($269-$270)/$270)*100\u003c100\u0026\u0026(abs($270-$269)/$269)*100\u003c100~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$264\u003ehl2\u0026\u0026$270\u003e=2.0*$265\u0026\u0026!$273){v:if_($271){$280=s_b:true~}_{v:if($272){$281=s_b:true~}~}~}~$280?1:0~$281?1:0~s_b:false~s_b:false~v:if($267\u0026\u0026$265\u003e0\u0026\u0026$263\u003chl2\u0026\u0026$269\u003e=2.0*$265\u0026\u0026!$274){v:if_($271){$287=s_b:true~}_{v:if($272){$288=s_b:true~}~}~}~$287?1:0~$288?1:0~s_b:false~s_b:false~v:if($268@2\u0026\u0026$267@1\u0026\u0026$268){v:if_($271\u0026\u0026$276@2\u0026\u0026$263@1\u003c$264@2\u0026\u0026$275\u0026\u0026$263\u003e=$278@2\u0026\u0026$263\u003c$263@2\u0026\u0026$263@1\u003c$264){$294=s_b:true~}_{v:if($272\u0026\u0026$275@2\u0026\u0026$264@1\u003e$263@2\u0026\u0026$276\u0026\u0026$264\u003c=$278@2\u0026\u0026$264\u003e$264@2\u0026\u0026$264@1\u003e$263){$295=s_b:true~}~}~}~$294?1:0~$295?1:0~s_b:$268\u0026\u0026$269\u003c=0*$265\u0026\u0026$270\u003c=0*$265~s_b:$301\u0026\u0026$275~s_b:$301\u0026\u0026$276~$303?1:0~$302?1:0~s_b:$277\u003e0\u0026\u0026$265\u003c=$277*5/100~s_b:$306\u0026\u0026$279~s_b:$306\u0026\u0026$269\u003c=$265~s_b:$306\u0026\u0026$270\u003c=$265~$307\u0026\u0026!$308\u0026\u0026!$309?1:0~$308?1:0~$309?1:0~$268@1\u0026\u0026$276@1\u0026\u0026$271@1\u0026\u0026$275\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$268@1\u0026\u0026$275@1\u0026\u0026$272@1\u0026\u0026$276\u0026\u0026$267\u0026\u0026high\u003c=$263@1\u0026\u0026low\u003e=$264@1?1:0~$270\u003e($277/100)*75?1:0~$269\u003e($277/100)*75?1:0~s_b:$270\u003e=($277/100)*34\u0026\u0026$269\u003e=($277/100)*34\u0026\u0026!$306~$317\u0026\u0026$275?1:0~$317\u0026\u0026$276?1:0~s_b:$277*5/100\u003e$269~s_b:$277*5/100\u003e$270~s_b:false~s_b:false~v:if($268\u0026\u0026$268@1\u0026\u0026$268@2){v:if($275\u0026\u0026$275@1\u0026\u0026$275@2){$322=s_b:close\u003eclose@1\u0026\u0026close@1\u003eclose@2\u0026\u0026open\u003cclose@1\u0026\u0026open\u003eopen@1\u0026\u0026open@1\u003cclose@2\u0026\u0026open@1\u003eopen@2\u0026\u0026$320\u0026\u0026$320@1\u0026\u0026$320@2~}~v:if($276\u0026\u0026$276@1\u0026\u0026$276@2){$323=s_b:close\u003cclose@1\u0026\u0026close@1\u003cclose@2\u0026\u0026open\u003eclose@1\u0026\u0026open\u003copen@1\u0026\u0026open@1\u003eclose@2\u0026\u0026open@1\u003copen@2\u0026\u0026$321\u0026\u0026$321@1\u0026\u0026$321@2~}~}~$322?1:0~$323?1:0~$271\u0026\u0026$275\u0026\u0026$268\u0026\u0026$276@1\u0026\u0026$267@1\u0026\u0026close\u003e=open@1\u0026\u0026open\u003c=close@1\u0026\u0026(close\u003eopen@1||open\u003cclose@1)?1:0~$272\u0026\u0026$276\u0026\u0026$268\u0026\u0026$275@1\u0026\u0026$267@1\u0026\u0026close\u003c=open@1\u0026\u0026open\u003e=close@1\u0026\u0026(close\u003copen@1||open\u003eclose@1)?1:0~$271@2\u0026\u0026$276@2\u0026\u0026$306@1\u0026\u0026low@2\u003ehigh@1\u0026\u0026$275\u0026\u0026high@1\u003clow?1:0~$272@2\u0026\u0026$275@2\u0026\u0026$306@1\u0026\u0026high@2\u003clow@1\u0026\u0026$276\u0026\u0026low@1\u003ehigh?1:0~s_b:$307@2\u0026\u0026$307@1\u0026\u0026$307~s_b:$263@1\u003c$264~s_b:$264@1\u003e$263~$333\u0026\u0026$271@2\u0026\u0026$335@1\u0026\u0026$334?1:0~$333\u0026\u0026$272@2\u0026\u0026$334@1\u0026\u0026$335?1:0~$303@1\u0026\u0026$302\u0026\u0026high@1\u003clow?1:0~$302@1\u0026\u0026$303\u0026\u0026low@1\u003ehigh?1:0~vwap(hlc3)~v^t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~#0~#1~#2~$344@1~$345@1~$346@1~v^0.0~v^0.0~v^0.0~v^0.0~timeV5($343,0)~v:if_($354!=$354@1){$350=$347~$353=close@1~$351=$348~$352=$349~$347=open~}_{}~($351+$352+$353)/3~$9($356)~$9($356*2-$352)~$9($356*2-$351)~$9($356+1*($351-$352))~$9($356-1*($351-$352))~$9($356+2*($351-$352))~$9($356-2*($351-$352))~$9($356)~$9($356+0.382*($351-$352))~$9($356-0.382*($351-$352))~$9($356+0.618*($351-$352))~$9($356-0.618*($351-$352))~$9($356+1*($351-$352))~$9($356-1*($351-$352))~($351+$352+$347*2)/4~$9($371)~$9($371*2-$352)~$9($371*2-$351)~$9($371+1*($351-$352))~$9($371-1*($351-$352))~$9($351+2*($371-$352))~$9($352-2*($351-$371))~$351+$352*2+$353~v:if($353==$350){$379=$351+$352+$353*2~}~v:if($353\u003e$350){$379=$351*2+$352+$353~}~$9($379/4)~$9($379/2-$352)~$9($379/2-$351)~$9($356)~$9($353+0.09166666666666667*($351-$352))~$9($353-0.09166666666666667*($351-$352))~$9($353+0.18333333333333335*($351-$352))~$9($353-0.18333333333333335*($351-$352))~$9($353+0.275*($351-$352))~$9($353-0.275*($351-$352))~$0!$1!$2!$3!$4!$5!$6!$7!$8!$9!$10!$11!$12!$13!$14!$15!$16!$17!$18!$19!$20!$21!$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$34!$35!$36!$37!$38!$39!$40!$41!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$12!$112!$113!$19!$115!$116!$120!$118!$119!$121!$122!$123!$124!$128!$129!$130!$131!$125!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$155!$154!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$168!$169!$166!$170!$171!$173!$174!$175!$177!$178!$181!$184!$185!$186!$189!$190!$191!$192!$195!$196!$197!$200!$201!$220!$222!$226!$228!$242!$246!$250!$254!$256!$261!$285!$286!$292!$293!$299!$300!$304!$305!$310!$311!$312!$313!$314!$315!$316!$318!$319!$327!$328!$329!$330!$331!$332!$336!$337!$338!$339!$340!$357!$358!$359!$360!$361!$362!$363!$364!$365!$366!$367!$368!$369!$370!$372!$373!$374!$375!$376!$377!$378!$382!$383!$384!$385!$386!$387!$388!$389!$390!$391;t:if_(isintraday){t:interval\u003c=15?'1D':'1W'}_{t:isweekly||ismonthly?'12M':'1M'}~i:na():f~sym(tickerid,$15,$15,false,true,false,'NONE',false,false,$16)|$11():s3|s255:$12($18,$19,$20):s255~$22!$23!$24!$25!$26!$27!$28!$29!$30!$31!$32!$33!$133!$35!$36!$37!$38!$39!$40!$136!$42!$43!$44!$45!$46!$47!$48!$49!$50!$51!$52!$53!$54!$55!$56!$57!$58!$59!$60!$61!$62!$63!$64!$65!$66!$67!$68!$69!$70!$71!$72!$73!$74!$75!$76!$77!$78!$79!$80!$81!$82!$83!$84!$85!$86!$87!$88!$89!$90!$91!$92!$93!$94!$95!$96!$97!$98!$99!$100!$101!$102!$103!$104!$105!$106!$107!$108!$109!$110!$111!$112!$113!$114!$115!$116!$117!$118!$119!$120!$121!$122!$123!$124!$125!$126!$127!$128!$129!$130!$131!$132!$133!$134!$135!$136!$137!$138!$139!$140!$141!$142!$143!$144!$145!$146!$147!$148!$149!$150!$151!$152!$153!$154!$155!$156!$157!$158!$159!$160!$161!$162!$163!$164!$165!$166!$167!$168!$169!$170!$171!$172!$173!$174!$175!$176!$177!$178!$179!$180!$181!$182!$183!$184!$185!$186!$187!$188!$189!$190!$191!$192!$193!$194!$195!$196!$197!$198!$199!$200!$201!$202!$203!$204!$205!$206!$207!$208!$209!$210!$211!$212!$213!$214!$215!$216!$217!$218!$219!$220!$221!$222!$223!$224!$225!$226!$227!$228!$229!$230!$231!$232!$233!$234!$235!$236!$237!$238!$239!$240!$241!$242!$243!$244!$245!$246!$247!$248!$249!$250!$251!$252!$253!$254!$255!$256!$257!$258!$259!$260!$261!$262!$263!$264!$265!$266!$267!$268!$269!$270!$271!$272!$273!$274!$275!$276", "isFake": false }, {