大智慧彩虹趋势图优化主图指标公式
-
相关简介:彩虹趋势图优化 彩虹图H1:EMA(CLOSE,8); H2:EMA(彩虹图H1,20); LH:EMA(CLOSE,240),COLORRED; Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; Var2:=SMA(Var1,5,1); Var3:=SMA(Var2,8,1); Var4:=CROSS(Var2,Var3) AND Var320; Var5:=CLOSELLV(CLOSE,60)+0.3*LLV(CLOSE,6
-
文章来源:股海网作者:股海网发布时间:2013-08-02浏览次数:
彩虹趋势图优化
彩虹图H1:EMA(CLOSE,8);
H2:EMA(彩虹图H1,20);
LH:EMA(CLOSE,240),COLORRED;
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,5,1);
Var3:=SMA(Var2,8,1);
Var4:=CROSS(Var2,Var3) AND Var3<20;
Var5:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND Var4;
Var6:=IF(CLOSE>1000,Var4,Var5);
DRAWICON(CROSS(彩虹图H1,H2) AND CLOSE<EMA(CLOSE,60),LOW,1);
DRAWICON(Var6,H,2);
STICKLINE(彩虹图H1>H2,彩虹图H1,H2,1,1),COLORYELLOW;
STICKLINE(彩虹图H1>H2,彩虹图H1,H2,1,2),COLORYELLOW;
STICKLINE(彩虹图H1<H2,彩虹图H1,H2,1,1),COLORBLUE;
drawtext(cross(彩虹图H1,H2),彩虹图H1*0.97,'●'),COLORYELLOW;
drawtext(cross(彩虹图H1,H2),彩虹图H1*0.968,'●'),COLORred;
drawtext(cross(彩虹图H1,H2),彩虹图H1*0.985,'↑'),COLORYELLOW;