以下是大智慧出入财神副图指标

大智慧出入财神副图指标

源码

N1:=3;N2:=10;M1:=5;M2:=20;

LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
买:EMA(RSI1,M1),COLORRED,linethick2;
卖:EMA(RSI2,M2),linethick2,COLORGREEN;
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
好财神:(CROSS(80,Var2)),colorred,linethick2;
if(好财神>0,50,2);
if(好财神>0,36,0),,colorgreen;
Var3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var4:=SMA(SMA(Var3,3,1),3,1);
Var5:=EMA(Var4,5);
var6:= Var4;
var7:=3*Var4-2*Var5;
恶财神:CROSS(var7,Var4),coloryellow,stick;
if(CROSS(var7,Var4) AND var7<21,Var4,0),coloryellow;
{drawicon(CROSS(var7,Var4)>0 and var7<21,var4,0);}
分界:45,colorffffff;
顶:90,coloryellow,linethick2;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。