以下是大智慧主力集散副图公式源码

主力集散
input:p1(5),p2(10),p3(20),p4(60),p5(120);
 sh0:=(ORDER(2)-ORDER(1))/(ORDER(1)+ORDER(2));
 sh1:=sum(ORDER(2)-ORDER(1),p1)/sum(ORDER(1)+ORDER(2),p1);
 sh2:=sum(ORDER(2)-ORDER(1),p2)/sum(ORDER(1)+ORDER(2),p2);
 sh3:=sum(ORDER(2)-ORDER(1),p3)/sum(ORDER(1)+ORDER(2),p3);
 sh4:=sum(ORDER(2)-ORDER(1),p4)/sum(ORDER(1)+ORDER(2),p4);
 sh5:=sum(ORDER(2)-ORDER(1),p5)/sum(ORDER(1)+ORDER(2),p5);
 sh1>sh2 and sh2>sh3 and sh3>sh4 and sh4>sh5;

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