input:N(30,0,1000),M(360,0,1000),M2(360,0,1000),M4(240,0,1000);
VAR1:=(MA(HIGH,N) – LOW) / MA(HIGH,N)* 100;
VAR2:=(SMA(HIGH,N,1) – LOW) / SMA(HIGH,N,1) * 100;
VAR3:=(DMA(HIGH,MA(vol,N) / CAPITAL) – LOW) / DMA(HIGH,MA(VOL,N) / CAPITAL) * 100;
VAR4:=(COST(N) – LOW) / COST(N) * 100;
VAR5:=100* (HHV(HIGH,20) – LOW) / HHV(HIGH,20);
VAR6:=IF(VAR1 > 0,VAR1,0) * IF(VAR2 > 0,VAR2,0) * IF(VAR3 > 0,VAR3,0) * IF(VAR4 > 0,VAR4,0) * IF(VAR5 > 0,VAR5,0);
VAR7:=100 * (VAR6 – LLV(VAR6,M)) / (HHV(VAR6,M) – LLV(VAR6,M));
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=((100 * (VAR9 – LLV(VAR9,M2))) / (HHV(VAR9,M2) – LLV(VAR9,M2)));
平均胜率:IF(VAR10 > 50 AND BARSCOUNT(CLOSE) > M4,VAR10,50),LINETHICK2,colorFFFF;
VAR11:=3 * VAR8 – 2 * VAR9;
VAR12:=100 * (VAR11 – LLV(VAR11,M2)) / (HHV(VAR11,M2) – LLV(VAR11,M2));
江山胜率:IF(VAR12 > 50 AND BARSCOUNT(CLOSE) > M4,VAR12,50),LINETHICK2,colorFFFFFF;
100;
75;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)