LOADING...
LOADING...
LOADING...
当前位置:主页 > 知识列表 >

ifelse

1. 币圈经典买卖指标之低买出现(30分钟短线、副图指标)

var2=refBefore(low,1);var3=sma(abs(low?-?var2),3,1)?/?sma(max(low?-?var2,0),3,1)?*?100;var4=ema(ifelse(close?*?1.2,var3?*?10,var3?/?10),3);var5=lowest(low,38);var6=highest(var4,38);var7=ifelse(lowest(low,90),1,0);var8=ema(ifelse(low?<=?var5,(var4?+?var6?*?2)?/?2,0),3)?/?618?*?var7;dd=var8?>?5;买入=ifelse((count(dd,2)?==?2),-20,0);var1s=refBefore((low?+?open?+?close?+?high)?/?4,1);var2s=sma(ab...

知识:洗盘,主力,ema,ifelse

2. 币圈指标:底部吸筹之飞鱼出海

...:var1=refBefore(low,1);var2=sma(abs(low?-?var1),3,1)?/?sma(max(low?-?var1,0),3,1)?*?100;var3=ema(ifelse(close?*?1.2,var2?*?10,var2?/?10),3);var4=lowest(low,38);var5=highest(var3,38);var6=ifelse(lowest(low,90),1,0);var7=ema(ifelse(low?<=?var4,(var3?+?var5?*?2)?/?2,0),3)?/?618?*?var6;底部吸筹="";drawStickBetweenIf(var7,0,var7,fill=false,linewidth=4,color="white");v1=lowest(high,240);飞鱼=...

知识:飞鱼,海洋,指标,自定义

3. 重要判断指标趋势找黑马

...close + high + low) / 4;a6=sma(a2 / a0 * 100,3,1);a7=lowest(low,34);a8=sma(a6,3,1) - sma(a3,9,1);a9=ifelse(a8 > 100,a8 - 100,0);aa=highest(high,34);ab=a9 * 2;ac=ema((a5 - a7) / (aa - a7) * 100,13);ad=ema(0.667 * refBefore(ac,1) + 0.333 * ac,2);ae=sma(a4,20,1);af=sma(ab,2,1) - ab;b0=ema(0.667 * refBefore(ac,1) + 0.333 * ac,2) - ac;b1=(highest(high,9) - close) / (highest(high,9) - lowest(low,9)) * 1...

知识:黑马,散户,主力,机会

4. 千里取胜、轻松超越

...low - vl),13,1)) / (sma(max(low - vl,0),13,1)) * 100;var14=ma(var12,13);var15=llv(low,34);var18=ema(ifelse(low <= var15,var14,0),3);var110=sma(sma((close - llv(low,54)) / (hhv(high,54) - llv(low,54)) * 100,7,1),5,1);var111=sma((close - llv(low,54)) / (hhv(high,54) - llv(low,54)) * 100,7,1) * 16.18 - var110 * 10.9;t=forwardSet(ifelse(var111 <= var110 && var18 > refBefore(var18,1),var18 * 8,0)...

知识:中线,抄底,源代码,洗盘

5. 天河彩虹主图指标

...ssUp(var2,var3)?&&?var3?<?20;var5=close?>?lowest(close,60)?+?0.3?*?lowest(close,60)?&&?var4;var6=ifelse(close?>?1000,var4,var5);drawText(isCrossUp(天河彩虹图h1,h2)?&&?close?<?ema(close,60),low,1,color="white");drawText(var6,high,2,color="white");drawStickBetweenIf(天河彩虹图h1?>?h2,天河彩虹图h1,h2,color="#limagenta",fill=false,linewidth=1);drawStickBetweenIf(天河彩虹图h1?...

知识:天河,彩虹,red,lh

6. 显微镜下的比特币挖矿

...p_by(pool)%>%汇总(n = n())%>% ??排列(desc(n))%>%变异(pool = ifelse(n> 100,池,“未知”))%>% ??group_by(池)%>%汇总(n =总和(n))%>%排列(desc(n))%>% ??变异(池=因子(池,水平=池))large_pools%>%ggplot(aes(pool,100 * n / sum(n),fill = pool))+ ??geom_col(show.legend = F...

知识:区块,矿工,矿池,哈希率

7. 【千KEY红包】三行代码赚4000W,为什么你买的币牛市来了还不发车???也许它

...vencoin/commit/d23f862a6afc17092ae31b67d96bc2738fe917d2感兴趣可以去瞅瞅简单说在代码里ifelse语句是成对出现的。看下面问题代码,第一个红框if后面跟的是条件,满足即执行,否则跳到else里,此时else也就是第二个红框,也有个if,但是在这个if{}里明显少了个else,这样逻辑就有了漏洞。接下来的操作大家都明白,...

知识:代币,币安,市值,代码

8. 科普系列文(二)||从发展形态 透析区块链智能合约

...y官方文档中投票应用中的一小段代码,以此对智能合约轮廓有个大致认识,ifelse或while?for是主体部分。下面,以基于以太坊的飞机延误险索赔为例,感受一?区块链的智能合约的形态。飞机延误险中,规定的赔付条件,陪付金额,陪付方式都会写在区块链智能合约中,一旦晚点,触发赔付条件,赔付动...

知识:智能合约,合约,区块链智能合约,区块链