http://www.7klian.com

天河彩虹主图指标

天河彩虹主图指标

天河彩虹主图指标

天河彩虹图h1=ema(close,8);

draw(天河彩虹图h1,color="white");

h2=ema(天河彩虹图h1,20);

draw(h2,color="white");

lh=ema(close,240);

draw(lh,color="red");

var1=(highest(high,36)?-?close)?/?(highest(high,36)?-?lowest(low,36))?*?100;

var2=sma(var1,5,1);

var3=sma(var2,8,1);

var4=isCrossUp(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?>?h2,天河彩虹图h1,h2,color="#limagenta",fill=false,linewidth=1);

drawStickBetweenIf(天河彩虹图h1?<?h2,天河彩虹图h1,h2,color="blue",fill=false,linewidth=1);

drawText(isCrossUp(天河彩虹图h1,h2),天河彩虹图h1?*?0.97,"●",color="yellow");

drawText(isCrossUp(天河彩虹图h1,h2),天河彩虹图h1?*?0.968,"●",color="red");

drawText(isCrossUp(天河彩虹图h1,h2),天河彩虹图h1?*?0.985,"↑",color="red");

rsv=(close?-?lowest(low,9))?/?(highest(high,9)?-?lowest(low,9))?*?100;

k51=sma(rsv,9,1);

d15=sma(k51,9,1);

j25=3?*?k51?-?2?*?d15;

axx=isCrossUp(k51,d15);

bxx=isCrossUp(d15,k51);

drawText(axx,high,"-----------",color="#0000ff");

drawText(bxx,low,"-----------",color="#00ff00");

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。