N:=3;
N1:=5;
N2:=5;
N3:=12;
VAR1:=DMA(AMOUNT/vol/100,VOL/CAPITAL);
VAR2:=VAR1+VAR1*34/100;
VAR3:=LOW;
VAR4:=REF(LOW,1);
VAR5:=SMA(Abs(VAR3-VAR4),3,1)/SMA(MAX(VAR3-VAR4,0),N,1)*100;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
cyc1:IF(JJJT,0.01*expma(AMOUNT,5)/EXPMA(VOL,5),EMA((HIGH+LOW+CLOSE)/3,5));
VAR6:=MA(IF(CLOSE*1.68<=CYC1,VAR5*10,VAR5/10),N);
VAR7:=LLV(LOW,30); VAR8:=HHV(VAR6,30);
VAR9:=MA(IF(LOW<=VAR7,(VAR6+VAR8*2)/2,0),N);
VARA:=(2*CLOSE+HIGH+LOW)/4;
VARB:=LLV(LOW,34);
VARC:=HHV(HIGH,34);
VARD:=EMA((VARA-VARB)/(VARC-VARB)*100,6);
VARE:=EMA(0.667*REF(VARD,1)+0.333*VARD,4);
VARF:=LLV(LOW,120); VAR10:=HHV(HIGH,120);
VAR11:=VAR10-VARF;
DRAWTEXT(IF(COUNT(CLOSE< REF(CLOSE,1),8)/8>0.3 AND COUNT(VARD>VARE,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0) OR VAR9>40000,LOW,1), , COLORRED; VAR12:=MA(CLOSE,5);
英雄无敌A: MA(CLOSE,10); VAR13:=MA(CLOSE,30); VAR14:=MA(CLOSE,60);
英雄无敌B: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10;
英雄无敌C: DMA(EMA(CLOSE,N3),SUM(VOL/CAPITAL,5)/3); VAR15:=REF(CLOSE,1);
VAR16:=SMA(MAX(CLOSE-VAR15,0),6,1)/SMA(ABS(CLOSE-VAR15),6,1)*100;
VAR17:=REF(CLOSE,1);
VAR18:=SMA(MAX(CLOSE-VAR17,0),6,1)/SMA(ABS(CLOSE-VAR17),6,1)*100;
DRAWTEXT(crOSS(84,VAR16) AND CROSS(84,VAR18),HIGH,2), , COLORGREEN;
STICKLINE(英雄无敌B>英雄无敌A,英雄无敌A,英雄无敌B,0.1,1);
STICKLINE(英雄无敌B<英雄无敌A,英雄无敌A,英雄无敌B,0.1,1);

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