以下是大智慧春夏秋冬主图指标

大智慧春夏秋冬主图指标

源码

N1:=8;N2:=21;

DL: MA((HIGH+LOW+CLOSE)/3,N1);
ML: MA((HIGH+LOW+CLOSE)/3,N2);
Var1:=EMA((OPEN+CLOSE)/2,26);
Var2:=MA(COST(30),3);
平均成本: MA(COST(50),3);
Var3:=MA(COST(80),3);
Var4:=(HIGH+LOW+CLOSE)/3;
Var5:=EMA((OPEN+HIGH+LOW+CLOSE)/4,233);
Var6:=Var5+Var5*6/100;
严冬: STICKLINE(Var4>0.1,HIGH,LOW,0.5,0);
早春: STICKLINE(Var4<平均成本 AND Var4>ML OR Var4<Var5 AND Var4>ML OR Var4>ML AND Var1>ML,HIGH,LOW,0.5,0);
初夏: STICKLINE(Var4>平均成本 AND Var4>Var1 AND Var4>Var5 AND Var2>REF(Var2,1) OR Var4>Var2 AND Var4>Var1 AND Var4>Var5 AND Var2>REF(Var2,1),HIGH,LOW,0.5,0);
深秋: STICKLINE(Var4>Var6 AND Var4>Var3 AND DL>ML AND Var1>REF(Var1,1),HIGH,LOW,0.5,0);
STICKLINE(Var4>0.1 AND CLOSE<OPEN,OPEN,CLOSE,8,0);
STICKLINE(Var4>0.1 AND CLOSE>=OPEN,OPEN,CLOSE,8,1);
STICKLINE(Var4<平均成本 AND Var4>ML AND CLOSE<OPEN OR Var4<Var5 AND Var4>ML AND CLOSE<OPEN OR Var4>ML AND Var1>ML AND CLOSE<OPEN,OPEN,CLOSE,8,0);
STICKLINE(Var4<平均成本 AND Var4>ML AND CLOSE>OPEN OR Var4<Var5 AND Var4>ML AND CLOSE>OPEN OR Var4>ML AND Var1>ML AND CLOSE>=OPEN,OPEN,CLOSE,8,1);
STICKLINE(Var4>平均成本 AND Var4>Var1 AND Var4>Var5 AND Var2>REF(Var2,1) AND CLOSE<OPEN OR Var4>Var2 AND Var4>Var1 AND Var4>Var5 AND Var2>REF(Var2,1) AND CLOSE<OPEN,OPEN,CLOSE,8,0);
STICKLINE(Var4>平均成本 AND Var4>Var1 AND Var4>Var5 AND Var2>REF(Var2,1) AND CLOSE>OPEN OR Var4>Var2 AND Var4>Var1 AND Var4>Var5 AND Var2>REF(Var2,1) AND CLOSE>=OPEN,OPEN,CLOSE,8,1);
STICKLINE(Var4>Var6 AND Var4>Var3 AND DL>ML AND Var1>REF(Var1,1) AND CLOSE<OPEN,OPEN,CLOSE,8,0);
STICKLINE(Var4>Var6 AND Var4>Var3 AND DL>ML AND Var1>REF(Var1,1) AND CLOSE>=OPEN,OPEN,CLOSE,8,1);

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